mirror of
https://git.launchpad.net/livecd-rootfs
synced 2026-02-12 04:53:28 +00:00
fix xorriso -map to include target path for riscv64
The -map option requires two arguments: the source filesystem path and the target path in the ISO. Without the "/" target, xorriso fails. This only affects riscv64, which uses native xorriso mode rather than mkisofs compatibility mode. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
45aa1e4550
commit
2c2f7d5e5c
@ -366,7 +366,7 @@ class ISOBuilder:
|
|||||||
if volid:
|
if volid:
|
||||||
cmd.extend(["-volid", volid])
|
cmd.extend(["-volid", volid])
|
||||||
cmd.extend(mkisofs_opts)
|
cmd.extend(mkisofs_opts)
|
||||||
cmd.extend(["-map", self.iso_root])
|
cmd.extend(["-map", self.iso_root, "/"])
|
||||||
else:
|
else:
|
||||||
# xorriso with "-as mkisofs" runs in mkisofs compatibility mode on
|
# xorriso with "-as mkisofs" runs in mkisofs compatibility mode on
|
||||||
# other architectures. -r enables Rock Ridge extensions for Unix
|
# other architectures. -r enables Rock Ridge extensions for Unix
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user