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