mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 02:47:56 +01:00
only add if found
This commit is contained in:
parent
eab4f7e832
commit
99b9945054
1 changed files with 3 additions and 0 deletions
|
|
@ -5,8 +5,11 @@ echo "-outdev $(pwd)/build/deploy.iso"
|
|||
echo "-boot_image any replay"
|
||||
echo "-joliet on"
|
||||
echo "-compliance joliet_long_names"
|
||||
if [ -f $(pwd)/results/boot/grub2/grub.cfg ]
|
||||
then
|
||||
echo "-map $(pwd)/results/boot/grub2/grub.cfg boot/grub2/grub.cfg"
|
||||
echo "-chmod 0444 boot/grub2/grub.cfg"
|
||||
fi
|
||||
echo "-map $(pwd)/results/EFI/BOOT/grub.cfg EFI/BOOT/grub.cfg"
|
||||
echo "-chmod 0444 EFI/BOOT/grub.cfg"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue