-
Notifications
You must be signed in to change notification settings - Fork 108
Build package
Thomas Tsai edited this page Jan 7, 2014
·
2 revisions
get source code from SourceForge or NCHC
-
SourceForge: http://sourceforge.net/projects/partclone/files/
-
NCHC: http://partclone.nchc.org.tw/download/
wget http://partclone.nchc.org.tw/download/testing/src/partclone-0.2.69.tar.gz
We have some custom file system library package here, please add drbl repository and get all file system clone for partclone. edit your /etc/apt/sources.list and add two lines:
deb http://free.nchc.org.tw/drbl-core drbl stable testing unstable dev
deb-src http://free.nchc.org.tw/drbl-core drbl stable testing unstable dev
wget http://drbl.nchc.org.tw/GPG-KEY-DRBL; apt-key add GPG-KEY-DRBL
The sub-command build-dep is the easiest way to install all necessary libraries.
apt-get update
apt-get build-dep partclone
you can start build your partclone from tar ball
tar zxvf partclone-0.2.69.tar.gz
cd partclone-0.2.69
./configure --enable-all --enable-ncursesw --enable-static
make
make install
if everything work fine, try to build package and install to clonezilla live cd.
tar zxvf partclone-0.2.69.tar.gz
cd partclone-0.2.69/
cp -r README.Package/debian.sid debian
dch -i
debuild
All new functions or debug done, please contribute your idea and patch to make partclone better. Thank you.