X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blobdiff_plain/0ffed154936f329bcc1500e506f1d78c99b2d79e..de907bb6833d4160ff7690e78355ec722e451092:/bootstrap.sh diff --git a/bootstrap.sh b/bootstrap.sh index 32a760e..d585b0d 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -72,12 +72,14 @@ build_rootfs() handle_crosscompile sudo rm -rf testing mkdir -p cache - sudo eatmydata ${DEBOOTSTRAP} --cache-dir=`pwd`/cache --arch=arm64 --include initramfs-tools,wpasupplicant,tcpdump,vim,tmux,vlan,ntpdate,bridge-utils,parted,curl,wget,grub-efi-arm64,mtr-tiny,dbus,ca-certificates,sudo,openssh-client testing testing http://ftp.fau.de/debian + sudo eatmydata ${DEBOOTSTRAP} --cache-dir=`pwd`/cache --arch=arm64 --include initramfs-tools,wpasupplicant,tcpdump,vim,tmux,vlan,ntpdate,parted,curl,wget,grub-efi-arm64,mtr-tiny,dbus,ca-certificates,sudo,openssh-client testing testing http://ftp.fau.de/debian export KERNEL=`ls -1rt linux-image*.deb | grep -v dbg | tail -1` cd testing + sudo mkdir -p boot/efi + sudo bash -c 'echo live > etc/hostname' sudo bash -c 'echo > etc/motd' @@ -137,18 +139,17 @@ build_dd() build_efi() { ( - rm -f EFI - mkdir -p EFI/BOOT + 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=`disktype build/media | grep UUID | awk '{print $2}'` - cat > EFI/boot/grub.cfg < EFI/debian/grub.cfg <