mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-08-09 15:54:06 +00:00
functions: download snap packages with correct architecture
Have to set UBUNTU_STORE_ARCH when the architecture of host machine is different from target machine
This commit is contained in:
parent
7a180f8d29
commit
f4312118cc
@ -548,7 +548,7 @@ _snap_preseed() {
|
|||||||
sh -c "
|
sh -c "
|
||||||
set -x;
|
set -x;
|
||||||
cd \"$CHROOT_ROOT/var/lib/snapd/seed\";
|
cd \"$CHROOT_ROOT/var/lib/snapd/seed\";
|
||||||
SNAPPY_STORE_NO_CDN=1 snap download \
|
UBUNTU_STORE_ARCH=$ARCH SNAPPY_STORE_NO_CDN=1 snap download \
|
||||||
--cohort="${COHORT_KEY:-}" \
|
--cohort="${COHORT_KEY:-}" \
|
||||||
--channel=\"$CHANNEL\" \"$SNAP_NAME\"" || snap_download_failed=1
|
--channel=\"$CHANNEL\" \"$SNAP_NAME\"" || snap_download_failed=1
|
||||||
if [ $snap_download_failed = 1 ] ; then
|
if [ $snap_download_failed = 1 ] ; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user