Fix PAL review findings: documentation accuracy and code quality
- Update CLAUDE.md with complete kernel parameters including boot=netboot - Remove duplicate wget/curl package declarations in build-image.sh - Check unsquashfs in both /usr/bin and /usr/sbin in verify-image.sh - Use consistent $quiet variable expansion in netboot hook functions All issues identified in zen-opus pre-commit review are now resolved.
This commit is contained in:
@@ -127,7 +127,7 @@ else
|
||||
fi
|
||||
|
||||
# Check required binaries
|
||||
for binary in wget curl unsquashfs awk; do
|
||||
for binary in wget curl awk; do
|
||||
if [ -f "$TMPDIR/initramfs/main/usr/bin/$binary" ]; then
|
||||
success "$binary binary present"
|
||||
else
|
||||
@@ -135,6 +135,13 @@ for binary in wget curl unsquashfs awk; do
|
||||
fi
|
||||
done
|
||||
|
||||
# Check unsquashfs in both possible locations
|
||||
if [ -f "$TMPDIR/initramfs/main/usr/bin/unsquashfs" ] || [ -f "$TMPDIR/initramfs/main/usr/sbin/unsquashfs" ]; then
|
||||
success "unsquashfs binary present"
|
||||
else
|
||||
error "unsquashfs binary missing from initramfs"
|
||||
fi
|
||||
|
||||
if [ -f "$TMPDIR/initramfs/main/usr/sbin/switch_root" ]; then
|
||||
success "switch_root binary present"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user