forked from images/live-iso-gnome
fix trailing slash issue with mtools
This commit is contained in:
parent
10bdd41a8e
commit
dc03cf2129
2
.github/push-iso
vendored
2
.github/push-iso
vendored
@ -1 +1 @@
|
|||||||
25
|
26
|
||||||
|
2
build.sh
2
build.sh
@ -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-)
|
||||||
|
Loading…
Reference in New Issue
Block a user