X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blobdiff_plain/b96f460f945aafc9a187a08b1ba86eb12f49d136..5bd8c45bc4000403e2797f87c54960cabcf1ce04:/bootstrap.sh diff --git a/bootstrap.sh b/bootstrap.sh index fb8580b..4fe57bf 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -78,6 +78,8 @@ build_rootfs() cd testing + sudo mkdir -p boot/efi + sudo bash -c 'echo live > etc/hostname' sudo bash -c 'echo > etc/motd' @@ -134,6 +136,26 @@ build_dd() ) } +build_efi() +{ +( + rm -rf EFI + mkdir -p EFI/boot EFI/debian + cp testing/usr/lib/grub/arm64-efi/monolithic/grubaa64.efi EFI/boot/bootaa64.efi + + export INITRD=`ls -1 testing/boot/ | grep initrd` + export VMLINUZ=`ls -1 testing/boot/ | grep vmlinuz` + export UUID=`blkid media | awk -F\" '{print $2}'` + cat > EFI/debian/grub.cfg <