- Log in to post comments
apt-get install fakeroot build-essential makedumpfile ncurses-dev
cd /usr/src
?? apt-get build-dep linux-image-$(uname -r)
apt-get source linux-image-$(uname -r)
?? apt-get build-dep linux-ubuntu-modules-$(uname -r)
?? apt-get source linux-ubuntu-modules-$(uname -r)
ln -s linux-2.6.*/ linux
cd /root/linux-2.6.24
cp /home/kanotix/Desktop/config.i386 debian/binary-custom.d/kanotix/config.i386
/usr/lib/pbuilder/pbuilder-satisfydepends
debuild -b
dpkg -i /root/linux-image-2.6.24-3-kanotix_2.6.24-3.5+c0.kanotix.1_i386.deb
dpkg -i linux-headers-2.6.24-3_2.6.24-3.5+c0.kanotix.1_all.deb
dpkg -i linux-headers-2.6.24-3-kanotix_2.6.24-3.5+c0.kanotix.1_i386.deb
apt-get source -b linux-ubuntu-modules-2.6.24-3-kanotix
dpkg -i linux-ubuntu-modules-2.6.24-3-kanotix_2.6.24-3.0_i386.deb
## add patch ##
#/debian/binary-custom.d/kanotix
root@KanotixBox:~/linux-2.6.24# cp debian/binary-custom.d/kanotix/config.i386 .config
cd /root/linux-2.6.24
patch -p1< debian/binary-custom.d/kanotix/patchset/dm-raid45-2.6.24~rc6-20072611.patch
make menuconfig
cp debian/binary-custom.d/kanotix/config.i386 debian/binary-custom.d/kanotix/config.i386.org
mv .config debian/binary-custom.d/kanotix/config.i386
mv debian/binary-custom.d/kanotix/config.i386 /
rm -rf linux-2.6.24
dpkg-source -x linux_2.6.24-3.5+c0.kanotix.1.dsc