mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
backup: fix backupiso mastering
fixes: #11916 Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -5,9 +5,7 @@ makeiso() {
|
||||
local dir="${1}"
|
||||
local output="${2}"
|
||||
|
||||
local args="-J -r -V 'ipfire backup ${TS}' \
|
||||
-b boot/isolinux/isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info-table \
|
||||
-c boot/isolinux/boot.catalog"
|
||||
local args=
|
||||
|
||||
# Add EFI options when EFI image is present
|
||||
if [ -e "${dir}/boot/isolinux/efiboot.img" ]; then
|
||||
@@ -15,7 +13,10 @@ makeiso() {
|
||||
fi
|
||||
|
||||
# Compose ISO
|
||||
mkisofs ${args} ${dir} > ${output}
|
||||
mkisofs -J -r -V "ipfire backup ${TS}" \
|
||||
-b boot/isolinux/isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info-table \
|
||||
-c boot/isolinux/boot.catalog \
|
||||
${args} ${dir} > ${output}
|
||||
|
||||
# Add DOS paritition table
|
||||
if [ -e "${dir}/boot/isolinux/efiboot.img" ]; then
|
||||
|
||||
Reference in New Issue
Block a user