зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1448239 - Force apt database update so snapcraft can fetch packages r=rail
MozReview-Commit-ID: KAp4dCyHMRA --HG-- extra : rebase_source : 15210a4ad3e402859f11771bb4a212132b002ac6
This commit is contained in:
Родитель
dd44008d7b
Коммит
fe8f5fc199
|
@ -61,6 +61,12 @@ 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"
|
||||
|
|
Загрузка…
Ссылка в новой задаче