new commit
This commit is contained in:
parent
9bc4cf958a
commit
e65b5576b9
@ -99,10 +99,7 @@ def iso_generator_main(
|
||||
# Generate ISO using xorriso
|
||||
logging.info("=> Generating ISO image with xorriso...")
|
||||
xorriso_command = [
|
||||
"xbps-uchroot",
|
||||
paths['PEPHOSTDIR'],
|
||||
"/usr/bin/xorriso",
|
||||
"--",
|
||||
os.path.join(paths['PEPHOSTDIR'], "usr/bin/xorriso"),
|
||||
"-as", "mkisofs",
|
||||
"-iso-level", "3",
|
||||
"-rock",
|
||||
|
@ -96,11 +96,9 @@ def create_squashfs_image(rootfs_dir, squashfs_output_file, pep_host_dir, logger
|
||||
|
||||
output_dir = os.path.dirname(squashfs_output_file)
|
||||
os.makedirs(output_dir, exist_ok=True)
|
||||
mksquashfs_path = os.path.join(pep_host_dir, "usr", "bin", "mksquashfs")
|
||||
mksquashfs_command = [
|
||||
"xbps-uchroot",
|
||||
pep_host_dir,
|
||||
"/usr/bin/mksquashfs",
|
||||
"--",
|
||||
mksquashfs_path,
|
||||
os.path.join(build_dir, "tmp"),
|
||||
squashfs_output_file,
|
||||
"-comp", "zstd",
|
||||
|
Loading…
Reference in New Issue
Block a user