Skip to content
Thomas Tsai edited this page Jan 7, 2014 · 2 revisions

Build Package

Source code

get source code from SourceForge or NCHC

  1. SourceForge: http://sourceforge.net/projects/partclone/files/

  2. NCHC: http://partclone.nchc.org.tw/download/

    wget http://partclone.nchc.org.tw/download/testing/src/partclone-0.2.69.tar.gz

Add DRBL Repository (ALL File System Support) (need root permission)

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

add repository key

wget http://drbl.nchc.org.tw/GPG-KEY-DRBL; apt-key add GPG-KEY-DRBL

fit dependence

The sub-command build-dep is the easiest way to install all necessary libraries.

apt-get update
apt-get build-dep partclone

build source code

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.

build deb files

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.

Clone this wiki locally