Skip to content

Commit 4696f1d

Browse files
Remove modification of profiledef.sh for XZ thread parameter and update build process logging
1 parent 67e42b5 commit 4696f1d

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

scripts/entrypoint.sh

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,10 @@ EOF
8383
export JOBS=$(nproc)
8484
log "Using $JOBS processors for parallel compression"
8585

86-
# Check if thread parameter is already in profiledef.sh
87-
if ! grep -q '\-Xthreads' profiledef.sh; then
88-
log "Adding XZ thread parameter to profiledef.sh"
89-
sed -i '/airootfs_image_tool_options=/s/)/ \x27-Xthreads\x27 \x27'"$JOBS"'\x27)/' profiledef.sh
90-
fi
86+
# Note: We don't modify profiledef.sh anymore as -Xthreads is not supported by mksquashfs
87+
# The profiledef.sh file already has proper XZ compression settings
9188

92-
# Run mkarchiso with verbose option only (no thread parameter on command line)
89+
# Run mkarchiso with verbose option only
9390
log "Building Arch ISO with mkarchiso..."
9491
mkarchiso -v -w "$work_dir" -o "$output_dir" .
9592

0 commit comments

Comments
 (0)