mkksiso: Add -joliet-long

DVD's or user content may use filenames > 64 characters. This increases
the limit to 103.

Resolves: rhbz#2028044
This commit is contained in:
Brian C. Lane 2021-12-06 15:48:37 -08:00
parent 5e88b6ede5
commit 236e1cab7a

View File

@ -165,7 +165,7 @@ class Mkisofs_aarch64(MakeISOTool):
def run(self, tmpdir, grafts, volume_name, output_iso, efimode=NO_EFI): def run(self, tmpdir, grafts, volume_name, output_iso, efimode=NO_EFI):
cmd = ["mkisofs", "-o", output_iso, "-R", "-J", "-V", volume_name, cmd = ["mkisofs", "-o", output_iso, "-R", "-J", "-V", volume_name,
"-T"] "-joliet-long", "-T"]
if log.root.level < log.INFO: if log.root.level < log.INFO:
cmd.append("--verbose") cmd.append("--verbose")
if efimode > NO_EFI: if efimode > NO_EFI:
@ -188,8 +188,8 @@ class Mkisofs_ppc(MakeISOTool):
def run(self, tmpdir, grafts, volume_name, output_iso, efimode=NO_EFI): def run(self, tmpdir, grafts, volume_name, output_iso, efimode=NO_EFI):
cmd = ["mkisofs", "-o", output_iso, "-R", "-J", "-V", volume_name, cmd = ["mkisofs", "-o", output_iso, "-R", "-J", "-V", volume_name,
"-U", "-T", "-part", "-hfs", "-r", "-l", "-sysid", "PPC", "-joliet-long", "-U", "-T", "-part", "-hfs", "-r", "-l",
"-chrp-boot", "-no-desktop", "-allow-multidot", "-sysid", "PPC", "-chrp-boot", "-no-desktop", "-allow-multidot",
"-map", self.requirements[0], "-hfs-bless", "boot/grub/powerpc-ieee1275"] "-map", self.requirements[0], "-hfs-bless", "boot/grub/powerpc-ieee1275"]
if log.root.level < log.INFO: if log.root.level < log.INFO:
cmd.append("--verbose") cmd.append("--verbose")
@ -209,8 +209,8 @@ class Mkisofs_ppc64le(MakeISOTool):
def run(self, tmpdir, grafts, volume_name, output_iso, efimode=NO_EFI): def run(self, tmpdir, grafts, volume_name, output_iso, efimode=NO_EFI):
cmd = ["mkisofs", "-o", output_iso, "-R", "-J", "-V", volume_name, cmd = ["mkisofs", "-o", output_iso, "-R", "-J", "-V", volume_name,
"-T", "-part", "-hfs", "-r", "-l", "-sysid", "PPC", "-joliet-long", "-T", "-part", "-hfs", "-r", "-l", "-sysid",
"-chrp-boot", "-no-desktop", "-allow-multidot", "PPC", "-chrp-boot", "-no-desktop", "-allow-multidot",
"-map", self.requirements[0]] "-map", self.requirements[0]]
if log.root.level < log.INFO: if log.root.level < log.INFO:
cmd.append("--verbose") cmd.append("--verbose")
@ -230,6 +230,7 @@ class Mkisofs_s390(MakeISOTool):
def run(self, tmpdir, grafts, volume_name, output_iso, efimode=NO_EFI): def run(self, tmpdir, grafts, volume_name, output_iso, efimode=NO_EFI):
cmd = ["mkisofs", "-o", output_iso, "-R", "-J", "-V", volume_name, cmd = ["mkisofs", "-o", output_iso, "-R", "-J", "-V", volume_name,
"-joliet-long",
"-b", "images/cdboot.img", "-b", "images/cdboot.img",
"-c", "images/boot.cat", "-c", "images/boot.cat",
"-boot-load-size", "4", "-no-emul-boot"] "-boot-load-size", "4", "-no-emul-boot"]
@ -251,6 +252,7 @@ class Mkisofs_x86_64(MakeISOTool):
def run(self, tmpdir, grafts, volume_name, output_iso, efimode=NO_EFI): def run(self, tmpdir, grafts, volume_name, output_iso, efimode=NO_EFI):
cmd = ["mkisofs", "-o", output_iso, "-R", "-J", "-V", volume_name, cmd = ["mkisofs", "-o", output_iso, "-R", "-J", "-V", volume_name,
"-joliet-long",
"-b", "isolinux/isolinux.bin", "-b", "isolinux/isolinux.bin",
"-c", "isolinux/boot.cat", "-c", "isolinux/boot.cat",
"-boot-load-size", "4", "-boot-info-table", "-no-emul-boot"] "-boot-load-size", "4", "-boot-info-table", "-no-emul-boot"]
@ -276,7 +278,7 @@ class Xorrisofs_aarch64(MakeISOTool):
def run(self, tmpdir, grafts, volume_name, output_iso, efimode): def run(self, tmpdir, grafts, volume_name, output_iso, efimode):
cmd = ["xorrisofs", "-o", output_iso, cmd = ["xorrisofs", "-o", output_iso,
"-R", "-J", "-V", volume_name] "-R", "-J", "-V", volume_name, "-joliet-long"]
if log.root.level < log.INFO: if log.root.level < log.INFO:
cmd.append("--verbose") cmd.append("--verbose")
if efimode >= EFIBOOT: if efimode >= EFIBOOT:
@ -299,7 +301,7 @@ class Xorrisofs_ppc64le(MakeISOTool):
def run(self, tmpdir, grafts, volume_name, output_iso, efimode=NO_EFI): def run(self, tmpdir, grafts, volume_name, output_iso, efimode=NO_EFI):
cmd = ["xorrisofs", "-o", output_iso, cmd = ["xorrisofs", "-o", output_iso,
"-R", "-J", "-V", volume_name, "-R", "-J", "-V", volume_name, "-joliet-long",
"-U", "-r", "-l", "-sysid", "PPC", "-U", "-r", "-l", "-sysid", "PPC",
"-A", volume_name, "-chrp-boot"] "-A", volume_name, "-chrp-boot"]
if log.root.level < log.INFO: if log.root.level < log.INFO:
@ -320,7 +322,7 @@ class Xorrisofs_s390(MakeISOTool):
def run(self, tmpdir, grafts, volume_name, output_iso, efimode=NO_EFI): def run(self, tmpdir, grafts, volume_name, output_iso, efimode=NO_EFI):
cmd = ["xorrisofs", "-o", output_iso, cmd = ["xorrisofs", "-o", output_iso,
"-R", "-J", "-V", volume_name, "-R", "-J", "-V", volume_name, "-joliet-long",
"-b", "images/cdboot.img", "-c", "images/boot.cat", "-b", "images/cdboot.img", "-c", "images/boot.cat",
"-boot-load-size", "4", "-no-emul-boot"] "-boot-load-size", "4", "-no-emul-boot"]
if log.root.level < log.INFO: if log.root.level < log.INFO:
@ -341,7 +343,7 @@ class Xorrisofs_x86_64(MakeISOTool):
def run(self, tmpdir, grafts, volume_name, output_iso, efimode=NO_EFI): def run(self, tmpdir, grafts, volume_name, output_iso, efimode=NO_EFI):
cmd = ["xorrisofs", "-o", output_iso, cmd = ["xorrisofs", "-o", output_iso,
"-R", "-J", "-V", volume_name, "-R", "-J", "-V", volume_name, "-joliet-long",
"-isohybrid-mbr", self.requirements[0], "-isohybrid-mbr", self.requirements[0],
"-b", "isolinux/isolinux.bin", "-b", "isolinux/isolinux.bin",
"-c", "isolinux/boot.cat", "-c", "isolinux/boot.cat",