Touch flag file to disable ESP autodetection

This commit is contained in:
Davide Cavalca 2022-12-23 07:23:14 +00:00
parent d927cd9af3
commit d48fbd4697
2 changed files with 7 additions and 0 deletions

View File

@ -100,5 +100,6 @@ touch /.autorelabel
#====================================== #======================================
mkdir -p /boot/efi/m1n1 mkdir -p /boot/efi/m1n1
update-m1n1 /boot/efi/m1n1/boot.bin update-m1n1 /boot/efi/m1n1/boot.bin
rm /boot/.builder
exit 0 exit 0

6
post_bootstrap.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
# Flag file to ensure update-m1n1 doesn't try to autodetect the ESP
touch /boot/.builder
exit 0