update scripts. relative directories. boot to ubuntu noble command line.

This commit is contained in:
2025-12-06 23:24:59 -08:00
parent 191a3c9568
commit 221c49ccbb
6 changed files with 57 additions and 46 deletions

View File

@@ -7,11 +7,9 @@ rootdir=$(dirname "$0")
dir=./$(dirname "$0")
cd dependencies
[[ -d ./linux ]] || git clone --depth 1 https://github.com/torvalds/linux.git ./linux
cd "$(dirname "$0")"
cd ..
echo $PWD
cat ./config/build_containerfile | /usr/bin/podman build --volume /lib/modules:/lib/modules:z -f - -t patronagekernel:latest .
nice -n 20 /usr/bin/podman run -it --volume /lib/modules:/lib/modules:z --volume ./dependencies/linux:/linux patronagekernel:latest
cp ./dependencies/linux/arch/x86_64/boot/bzImage ./outputs/bzImage