From: Thomas Glanzmann Date: Sun, 11 Dec 2022 22:44:03 +0000 (+0100) Subject: incoporate gpu kernel into live and installation system X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/commitdiff_plain/62ba1d23aa9b87ec717a7354054cd5147ed4b76c incoporate gpu kernel into live and installation system --- diff --git a/bootstrap.sh b/bootstrap.sh index 14ef418..72d6442 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -24,13 +24,15 @@ build_rootfs() cd testing - sudo mkdir -p boot/efi + sudo mkdir -p boot/efi/m1n1 sudo bash -c 'echo debian > etc/hostname' sudo bash -c 'echo > etc/motd' sudo cp ../../files/sources.list etc/apt/sources.list + sudo cp ../../files/glanzmann.list etc/apt/sources.list.d/ + sudo cp ../../files/thomas-glanzmann.gpg etc/apt/trusted.gpg.d/ sudo cp ../../files/hosts etc/hosts sudo cp ../../files/resolv.conf etc/resolv.conf sudo cp ../../files/quickstart.txt root/ @@ -45,9 +47,8 @@ build_rootfs() sudo -- ln -s lib/systemd/systemd init - sudo cp ../${KERNEL} . - sudo chroot . dpkg -i ${KERNEL} - sudo rm ${KERNEL} + sudo chroot . apt update + sudo chroot . apt install -y m1n1 linux-image-asahi sudo bash -c 'chroot . apt-get clean' ) @@ -93,7 +94,7 @@ build_asahi_installer_image() rm -rf aii mkdir -p aii/esp/m1n1 cp -a EFI aii/esp/ - cp u-boot.bin aii/esp/m1n1/boot.bin + cp testing/boot/esp/m1n1/boot.bin aii/esp/m1n1/boot.bin ln media aii/media cd aii zip -r9 ../debian-base.zip esp media diff --git a/files/glanzmann.list b/files/glanzmann.list new file mode 100644 index 0000000..1317d18 --- /dev/null +++ b/files/glanzmann.list @@ -0,0 +1 @@ +deb https://thomas.glanzmann.de/asahi testing main diff --git a/files/thomas-glanzmann.gpg b/files/thomas-glanzmann.gpg new file mode 100644 index 0000000..c0c8a03 Binary files /dev/null and b/files/thomas-glanzmann.gpg differ