Bug 1933835 - Allow to install deb package on systems with libgdk-pixbuf-2.0-0 instead of libgdk-pixbuf2.0-0. r=jcristau

Differential Revision: https://phabricator.services.mozilla.com/D230470
This commit is contained in:
Mike Hommey
2024-11-28 07:52:07 +00:00
parent ba8ce14327
commit 8c2c36e558

View File

@@ -40,4 +40,7 @@ RUN /usr/local/sbin/setup_packages.sh $TASKCLUSTER_ROOT_URL $DOCKER_IMAGE_PACKAG
dpkg --add-architecture arm64 && \
apt-get update && \
apt-get install -y libasound2:arm64 libgtk-3-0:arm64 libx11-xcb1:arm64 libxtst6:arm64" && \
/usr/local/sbin/clean_packages.sh $DOCKER_IMAGE_PACKAGES
/usr/local/sbin/clean_packages.sh $DOCKER_IMAGE_PACKAGES && \
# Alter the symbols file for libgdk-pixbuf to handle the transition to libgdk-pixbuf-2.0-0
# This is only necessary until we upgrade to something newer than buster as sysroot.
find /srv/ -name libgdk-pixbuf2.0-0*symbols | xargs sed -i "/libgdk-pixbuf2.0-0/s/libgdk-pixbuf2.0-0/libgdk-pixbuf2.0-0 #MINVER# | libgdk-pixbuf-2.0-0/"