iso: Support joliet long names

Without this option the names reported by joliet tree are truncated.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
(cherry picked from commit fa50eedfad)
This commit is contained in:
Lubomír Sedlář 2023-06-05 15:30:18 +02:00 committed by Stepan Oksanichenko
parent c8118527ea
commit d4425f7935
Signed by: soksanichenko
GPG Key ID: AB9983172AB1E45B

View File

@ -169,6 +169,9 @@ def write_xorriso_commands(opts):
emit(f, "-volid %s" % opts.volid) emit(f, "-volid %s" % opts.volid)
# isoinfo -J uses the Joliet tree, and it's used by virt-install # isoinfo -J uses the Joliet tree, and it's used by virt-install
emit(f, "-joliet on") emit(f, "-joliet on")
# Support long filenames in the Joliet trees. Repodata is particularly
# likely to run into this limit.
emit(f, "-compliance joliet_long_names")
with open(opts.graft_points) as gp: with open(opts.graft_points) as gp:
for line in gp: for line in gp: