maj diminution de la taille du kernel

This commit is contained in:
Marc
2021-11-27 14:38:37 +01:00
parent 7480c8efc8
commit f1b67891e1
2 changed files with 15 additions and 1 deletions
+4
View File
@@ -23,6 +23,10 @@ cd linux-firmware && git pull && cd -
sudo mkdir -p rootfs/usr/lib/firmware
sudo cp linux-firmware/* rootfs/usr/lib/firmware/ -r
echo "rebuilding C++ hooks"
./clibs.sh
echo "done"
sudo cp rootfs\ overrides/* rootfs/ -r
sudo rm rootfs/var/cache -rf
+11 -1
View File
@@ -1,6 +1,16 @@
if [ ! -d src ]
then
git clone https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ src
wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.15.5.tar.xz
mkdir src
mv linux-5.15.5.tar.xz src/
cd src
tar xf linux-5.15.5.tar.xz
rm linux-5.15.5.tar.xz
mv linux-5.15.5/* .
rm -rf linux-5.15.5
cd -
fi
cd src
make mrproper