This commit is contained in:
2026-03-20 08:35:32 +01:00
parent 8a7603ffcc
commit ea00688fe9
2 changed files with 11 additions and 3 deletions

View File

@@ -813,10 +813,13 @@ if [ "$QUICK_MODE" = false ] && [ "$ISO_PREREQS_OK" = true ]; then
fi
# Check that package repos are in the ISO (use sudo — squashfs may preserve restrictive perms)
# Debug: list what's actually in the repos dir
echo " DEBUG repos dir contents:" >&2
sudo ls -laR "$SQFS_MNT/var/lib/dpack/repos/" 2>&1 | head -20 >&2 || echo " DEBUG: repos dir does not exist or empty" >&2
if sudo test -d "$SQFS_MNT/var/lib/dpack/repos/core"; then
record_test "iso.rootfs.repos" "pass"
else
record_test "iso.rootfs.repos" "fail" "Package repos missing from ISO"
record_test "iso.rootfs.repos" "fail" "Package repos missing from ISO (see debug output above)"
fi
sudo umount "$SQFS_MNT" 2>/dev/null