fix(lsphp): per-package pins so an inconsistent LiteSpeed 8.4 set still builds #44

Merged
jknapp merged 2 commits from fix/lsphp-inconsistent-repo-pin into trunk 2026-11-19 17:46:12 +00:00
Showing only changes of commit fe9d9fe181 - Show all commits
+2 -1
View File
@@ -248,7 +248,8 @@ RUN set -e; \
rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*; \
RTV=$(dpkg-query -W -f='${Version}' lsphp${PHPVER}); \
CMV=$(dpkg-query -W -f='${Version}' lsphp${PHPVER}-common); \
if [ "$RTV" != "$V" ] || ! $PR ok "$CMV" "$V"; then \
LDV=$(dpkg-query -W -f='${Version}' lsphp${PHPVER}-ldap); \
if [ "$RTV" != "$V" ] || [ "$CMV" != "$VC" ] || [ "$LDV" != "$VL" ] || ! $PR ok "$CMV" "$V"; then \
echo "FATAL: cac_path_parity.so was compiled against lsphp${PHPVER} $V but this" >&2; \
echo " image would ship lsphp${PHPVER}=$RTV / -common=$CMV." >&2; \
echo " Rebuild with --no-cache so both stages resolve the same release." >&2; \