Making an Intergalactic Libre-Kernel For Trisquel 12

1 month ago

Making an Intergalactic Libre-Kernel For Trisquel 12

Good for space travellers...

https://linux-libre.fsfla.org/pub/linux-libre/releases/

sudo apt install build-essential libncurses-dev bison libssl-dev libelf-dev fakeroot dwarves flex -y

tar -xf linux-libre-5.15.175-gnu.tar.xz

cd linux-5.15/

cp -v /boot/config-$(uname -r) .config

make olddefconfig

make localmodconfig

scripts/config --disable SYSTEM_TRUSTED_KEYS

scripts/config --disable SYSTEM_REVOCATION_KEYS

scripts/config --set-str CONFIG_SYSTEM_TRUSTED_KEYS ""

scripts/config --set-str CONFIG_SYSTEM_REVOCATION_KEYS ""

make MENUCONFIG_COLOR=blackbg menuconfig

make -j$(nproc) && make modules && make modules_install && make headers_install && make install && sync && sudo shutdown now

(kernel actually broke, because I was running the screen recorder and a video at the same time I was using all my cpu cores to compile and build the libre-linux kernel, but the configuration should actually be fine...I made it specifically for an intel processor, so if you have amd you will have to tick the amd options, and otherwise the configuration should work for anybody)

(edit)
(I now think that the reason the kernel broke is because of a dependency issue on trisquel 12, with versions of packages used to build the kernel being mismatched. On a stable distribution that doesn't constantly have new packages streaming in the build configuration is fine)

Loading comments...