From 0ec7f394f9617056a48c040b8e4834a34e5ff1e6 Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Sep 19 2025 16:55:46 +0000 Subject: Create /boot/efi/m1n1 in post_bootstrap.sh This is required for update-m1n1's builder mode which bind mounts the EFI system "partition". --- diff --git a/config.sh b/config.sh index 3da2ed8..e2bc6f3 100755 --- a/config.sh +++ b/config.sh @@ -108,8 +108,7 @@ rm -f /var/lib/rpm/__db* #====================================== # Generate boot.bin #====================================== -mkdir -p /boot/efi/m1n1 update-m1n1 /boot/efi/m1n1/boot.bin -rm /boot/.builder +rm /boot/efi/.builder exit 0 diff --git a/post_bootstrap.sh b/post_bootstrap.sh index 91ad0d5..02a442a 100755 --- a/post_bootstrap.sh +++ b/post_bootstrap.sh @@ -1,6 +1,7 @@ #!/bin/bash # Flag file to ensure update-m1n1 doesn't try to autodetect the ESP -touch /boot/.builder +mkdir -p /boot/efi/m1n1 +touch /boot/efi/.builder exit 0