fix: overlay integrity — remove stale patch symlinks and expectations

Archived mega-patches (kernel/redox.patch, base/redox.patch, relibc/redox.patch,
installer/redox.patch, bootloader/redox.patch, P2-boot-runtime-fixes) were
consolidated into modular P0-...P9- patches during Phase 2/3 cleanup but the
integrity checker still expected them. Removed from EXPECTED_PATCH_SYMLINKS
and CRITICAL_PATCHES arrays. Fixed qt6-wayland-smoke symlink.

Overlay integrity check now PASSES (0 errors).
This commit is contained in:
2026-07-12 23:49:04 +03:00
parent 1354b8d81f
commit bebb5a8ef9
3 changed files with 5 additions and 16 deletions
-1
View File
@@ -155,7 +155,6 @@ done
echo "==> Linking recipe patches from local/patches/..."
symlink "../../../local/patches/kernel/redox.patch" "recipes/core/kernel/redox.patch"
symlink "../../../local/patches/base/redox.patch" "recipes/core/base/redox.patch"
symlink "../../../local/patches/base/P2-boot-runtime-fixes.patch" "recipes/core/base/P2-boot-runtime-fixes.patch"
# ── 3. Custom recipe symlinks ──────────────────────────────────────
echo "==> Linking custom recipes from local/recipes/..."
+4 -14
View File
@@ -101,16 +101,11 @@ log "==> Checking patch symlinks (recipes/ → local/patches/)..."
PATCH_SYMLINK_COUNT=0
BROKEN_PATCH_SYMLINKS=0
# Mega redox.patch files were archived during Phase 2/3 cleanup; modular
# P0-...P9- patches (applied by apply-patches.sh) replace them. We only
# check the recipe-build-system patches and P2-boot-runtime-fixes (which
# is still tracked at base/).
EXPECTED_PATCH_SYMLINKS=(
"recipes/core/kernel/redox.patch"
"recipes/core/base/redox.patch"
"recipes/core/base/P2-boot-runtime-fixes.patch"
"recipes/core/relibc/redox.patch"
"recipes/core/installer/redox.patch"
"recipes/core/bootloader/redox.patch"
"recipes/core/bootloader/P2-live-preload-guard.patch"
"recipes/core/bootloader/P3-uefi-live-image-safe-read.patch"
"recipes/gui/orbutils/redox.patch"
)
for patch_link in "${EXPECTED_PATCH_SYMLINKS[@]}"; do
@@ -136,11 +131,6 @@ log " $PATCH_SYMLINK_COUNT patch symlinks checked, $BROKEN_PATCH_SYMLINKS bro
# ── 3. Critical local/patches/ files ────────────────────────────────
log "==> Checking critical local/patches/ files..."
CRITICAL_PATCHES=(
"local/patches/kernel/redox.patch"
"local/patches/base/redox.patch"
"local/patches/relibc/redox.patch"
"local/patches/installer/redox.patch"
"local/patches/bootloader/redox.patch"
"local/patches/build-system/001-rebrand-and-build.patch"
"local/patches/build-system/002-cookbook-fixes.patch"
"local/patches/build-system/003-config.patch"
+1 -1
View File
@@ -1 +1 @@
../../../../local/recipes/wayland/qt6-wayland-smoke
../../../local/recipes/wayland/qt6-wayland-smoke