Freenix
Freenix forum

Home » Community » General Info and Discussion » Scripts to build (kernel packages)
Re: Scripts to build [message #46 is a reply to message #45] Wed, 06 March 2019 12:04 Go to previous message
locutus is currently offline  locutus
Messages: 16
Registered: January 2018
Location: US
Junior Member
Thx for the assist
I prep my system like this:
1)
su - root
cd /usr/src
wget http://linux-libre.fsfla.org/pub/linux-libre/releases/4.4.176-gnu/linux-libre-4.4.176-gnu.tar.xz
tar -xvpf linux-4.4.176.tar.xz
2)
cd linux-4.4.176
zcat /proc/config.gz > .config
make olddefconfig
3)
make -j4 bzImage
4)
make -j4 modules && make modules_install
5)
cp arch/x86/boot/bzImage /boot/vmlinuz-generic-4.4.176
cp System.map /boot/System.map-generic-4.4.176
cp .config /boot/config-generic-4.4.176
####Also cp for rebuilding the iso
cp arch/x86/boot/bzImage /root/kernel/huge.s
etc
6)
cd /boot
rm System.map
rm config
ln -s System.map-generic-4.4.176 System.map
ln -s config-generic-4.4.176 config
7)
/usr/share/mkinitrd/mkinitrd_command_generator.sh -k 4.4.176
/sbin/lilo then reboot then start the package building process
 
Read Message
Read Message
Read Message
Previous Topic: Install on X200
Next Topic: Thoughts on Freenix64-15.0
Goto Forum:
  


Current Time: Thu Apr 25 16:17:18 EDT 2024

Total time taken to generate the page: 0.00967 seconds