From d2e14bfed40121ee5e18c7a9721e45f2595619cf Mon Sep 17 00:00:00 2001 From: matt Date: Fri, 31 Oct 2025 08:55:09 -0600 Subject: [PATCH] Update build.sh --- build.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/build.sh b/build.sh index b69ec42..77df88e 100644 --- a/build.sh +++ b/build.sh @@ -1,15 +1,12 @@ #!/bin/bash cd "$(dirname "$0")" mkdir -p ./linux -#git clone --depth 1 https://github.com/torvalds/linux.git ./linux +git clone --depth 1 https://github.com/torvalds/linux.git ./linux cat /boot/config-$(uname -r) > ./linux/.config sed -i 's/CONFIG_SYSTEM_TRUSTED_KEYS=".*"/CONFIG_SYSTEM_TRUSTED_KEYS=""/' ./linux/.config sed -i 's/CONFIG_SYSTEM_REVOCATION_KEYS=".*"/CONFIG_SYSTEM_REVOCATION_KEYS=""/' ./linux/.config cat ./containerfile | podman build --volume /lib/modules:/lib/modules:z -f - -t kernelbuild:latest . nice -n 10 /usr/bin/podman run --volume /lib/modules:/lib/modules:z --volume ./linux:/linux kernelbuild:latest -dir=$(dirname "$0") -echo $dir -cd $dir rm -rf initram/ mkdir -p initram mkdir -p initram/{bin,dev,etc,lib,proc,sbin,sys,tmp,usr}