fix(lsphp): per-package pins so an inconsistent LiteSpeed 8.4 set still builds #44
+2
-1
@@ -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; \
|
||||
|
||||
Reference in new issue
Block a user