fix trailing slash issue with mtools
Some checks failed
Push ISO / build (push) Failing after 5m46s

This commit is contained in:
Ward from fusion-voyager-3 2024-08-01 20:27:08 +03:00
parent 10bdd41a8e
commit dc03cf2129
2 changed files with 2 additions and 2 deletions

2
.github/push-iso vendored
View File

@ -1 +1 @@
25 26

View File

@ -64,7 +64,7 @@ dd if=/dev/zero of="$LIVE_BOOT_PATH/efiboot.img" bs=1M count=20
mkfs.msdos -F 16 "$LIVE_BOOT_PATH/efiboot.img" mkfs.msdos -F 16 "$LIVE_BOOT_PATH/efiboot.img"
for directory in $(find ./data/refind/EFI/ -type d | cut -d'/' -f4-) for directory in $(find ./data/refind/EFI/ -type d | cut -d'/' -f4-)
do do
mmd -i "$LIVE_BOOT_PATH/efiboot.img" ::"$(echo $directory | tr '[:lower:]' '[:upper:]')" mmd -i "$LIVE_BOOT_PATH/efiboot.img" ::"$(echo $directory | tr '[:lower:]' '[:upper:]' | sed 's:/*$::')"
done done
for file in $(find ./data/refind/EFI/ -type f | cut -d'/' -f4-) for file in $(find ./data/refind/EFI/ -type f | cut -d'/' -f4-)