[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-browser] 28/73: Bug 1787674 - Snap: Run `apt-get update` before downloading apt packages. r=jcristau, a=RyanVM



This is an automated email from the git hooks/post-receive script.

richard pushed a commit to branch geckoview-102.3.0esr-12.0-1
in repository tor-browser.

commit da2b9096bb84210bb72eebb37c24fe536944d124
Author: Johan Lorenzo <jlorenzo@xxxxxxxxxxx>
AuthorDate: Mon Aug 29 09:46:13 2022 +0000

    Bug 1787674 - Snap: Run `apt-get update` before downloading apt packages. r=jcristau, a=RyanVM
    
    Differential Revision: https://phabricator.services.mozilla.com/D155823
---
 taskcluster/docker/firefox-snap/runme.sh | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/taskcluster/docker/firefox-snap/runme.sh b/taskcluster/docker/firefox-snap/runme.sh
index c5a98fb7e0584..308640a8c8e4f 100755
--- a/taskcluster/docker/firefox-snap/runme.sh
+++ b/taskcluster/docker/firefox-snap/runme.sh
@@ -57,6 +57,12 @@ for locale in $locales; do
         "$CANDIDATES_DIR/${VERSION}-candidates/build${BUILD_NUMBER}/linux-x86_64/xpi/${locale}.xpi"
 done
 
+# In addition to the packages downloaded below, snapcraft fetches deb packages from ubuntu.com,
+# when a snap is built,. They may bump packages there and remove the old ones. Updating the
+# database allows snapcraft to find the latest packages.
+# For more context, see 1448239
+apt-get update
+
 # Extract gtk30.mo from Ubuntu language packs
 apt download language-pack-gnome-*-base
 for i in *.deb; do
@@ -74,11 +80,6 @@ cd "${WORKSPACE}"
 # Make sure snapcraft knows we're building amd64, even though we may not be on this arch.
 export SNAP_ARCH='amd64'
 
-# When a snap is built, snapcraft fetches deb packages from ubuntu.com. They may bump packages
-# there and remove the old ones. Updating the database allows snapcraft to find the latest packages.
-# For more context, see 1448239
-apt-get update
-
 snapcraft
 
 mv -- *.snap "$TARGET_FULL_PATH"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits