This makes sure that --architecture works with user specified repart
configs as well instead of just the ones that we generate ourselves.
state.staging / state.config.output_with_format,
]
+ if not state.config.architecture.is_native():
+ cmdline += ["--architecture", str(state.config.architecture)]
if not state.staging.joinpath(state.config.output_with_format).exists():
cmdline += ["--empty=create"]
if state.config.passphrase:
dedent(
f"""\
[Partition]
- Type=root-{state.config.architecture}
+ Type=root
Format={state.installer.filesystem()}
CopyFiles=/
Minimize=guess