createiso: Create Joliet tree with xorriso

This structure is important for isoinfo -J, which is in turn called by

This can be tested by using a bootable ISO by modifying it with a dummy
additional file and preserving boot records:

    $ xorriso -indev netinst.iso -outdev test.iso -boot_image any replay -map -end
    $ isoinfo -J -i test.iso
    isoinfo: Unable to find Joliet SVD
    $ rm test.iso
    $ xorriso -indev netinst.iso -outdev test.iso -joliet on -boot_image any replay -map -end
    $ isoinfo -J -i test.iso

Signed-off-by: Lubomír Sedlář <>
Lubomír Sedlář 10 months ago
parent 479849042f
commit 12e3a46390

@ -125,6 +125,8 @@ def write_xorriso_commands(opts):
emit(f, "-outdev %s" % os.path.join(opts.output_dir, opts.iso_name))
emit(f, "-boot_image any replay")
emit(f, "-volid %s" % opts.volid)
# isoinfo -J uses the Joliet tree, and it's used by virt-install
emit(f, "-joliet on")
with open(opts.graft_points) as gp:
for line in gp: