Compile linux-* kernel packages

In Debian Like Systems it goes like this… Installing need packages ?View Code BASH1 apt-get install kernel-package libncurses5-dev fakInstalling need packageseroot wget bzip2 build-essential Download and decompress the kernel from ?View Code BASH1 2 3 wget bzip2 -d linux- tar xvf linux- Configure the source for compilation ?View Code BASH1 2 3 4… Continue reading “Compile linux-* kernel packages”

Modify CONTROL file in Debian Package

Suppose you have your-package.deb file and want to change files inside the package: ?View Code BASH1 2 3 mkdir -p tmp/DEBIAN dpkg-deb -x your-package.deb tmp/ dpkg-deb –control your-package.deb tmp/DEBIAN Modify the file tmp/DEBIAN/control as you like it. ?View Code BASH1 dpkg-deb -b tmp your-package-custom.deb Finally, ?View Code BASH1 dpkg -i your-package-custom.deb Done!!!