fix typo in find (blend)
This commit is contained in:
parent
16f4840dd1
commit
3c85c7e926
|
|
@ -15,6 +15,7 @@ image_name="${os}_${release}_${version}_${arch}"
|
||||||
|
|
||||||
case "$4" in
|
case "$4" in
|
||||||
uefi)
|
uefi)
|
||||||
|
notice "UEFI build enabled"
|
||||||
grubversion="grub-efi-${arch}"
|
grubversion="grub-efi-${arch}"
|
||||||
image_name="${os}_${release}_${version}_${arch}_uefi"
|
image_name="${os}_${release}_${version}_${arch}_uefi"
|
||||||
mkefi="yes"
|
mkefi="yes"
|
||||||
|
|
|
||||||
|
|
@ -152,7 +152,7 @@ EOF
|
||||||
mkdir -p efi/boot
|
mkdir -p efi/boot
|
||||||
|
|
||||||
## efi partition mods
|
## efi partition mods
|
||||||
find /usr/lib/grub/x86_64-efi -type -f -name "part_*\.mod" \
|
find /usr/lib/grub/x86_64-efi -type f -name "part_*\.mod" \
|
||||||
-exec sh -c 'for f do echo insmod $(basename -- "$f" .mod); done' sh {} + \
|
-exec sh -c 'for f do echo insmod $(basename -- "$f" .mod); done' sh {} + \
|
||||||
>> boot/grub/x86_64-efi/grub.cfg
|
>> boot/grub/x86_64-efi/grub.cfg
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue