Ensure snaps are available on ubuntu-server live

sil2100/core18-pi3-arm64
Jean-Baptiste Lallement 6 years ago
parent e0ed85c400
commit 41becb0af7

@ -371,6 +371,11 @@ deb file:/var/lib/preinstalled-pool/ $LB_DISTRIBUTION $LB_PARENT_ARCHIVE_AREAS
rm chroot/etc/apt/sources.list.preinstall chroot/etc/apt/sources.list.orig rm chroot/etc/apt/sources.list.preinstall chroot/etc/apt/sources.list.orig
fi fi
case $PROJECT:$SUBPROJECT in case $PROJECT:$SUBPROJECT in
ubuntu-server:live)
lb chroot_resolv install
snap_prepare chroot
lb chroot_resolv remove
;;
*) *)
if [ -e "config/seeded-snaps" ]; then if [ -e "config/seeded-snaps" ]; then
snap_list=$(cat config/seeded-snaps) snap_list=$(cat config/seeded-snaps)

Loading…
Cancel
Save