|
|
@ -137,8 +137,8 @@ reset_snapd_state chroot
|
|
|
|
env SNAPPY_STORE_NO_CDN=1 snap prepare-image \
|
|
|
|
env SNAPPY_STORE_NO_CDN=1 snap prepare-image \
|
|
|
|
--classic config/classic-model-installer.model $channel chroot
|
|
|
|
--classic config/classic-model-installer.model $channel chroot
|
|
|
|
mv chroot/system-seed/systems/* chroot/system-seed/systems/classic-installer
|
|
|
|
mv chroot/system-seed/systems/* chroot/system-seed/systems/classic-installer
|
|
|
|
rsync -a chroot/system-seed/ chroot/var/lib/snapd/seed
|
|
|
|
rm -rf chroot/var/lib/snapd/seed
|
|
|
|
rm -rf chroot/system-seed/
|
|
|
|
mv chroot/system-seed chroot/var/lib/snapd/seed
|
|
|
|
|
|
|
|
|
|
|
|
cat <<EOF > chroot/var/lib/snapd/modeenv
|
|
|
|
cat <<EOF > chroot/var/lib/snapd/modeenv
|
|
|
|
mode=run
|
|
|
|
mode=run
|
|
|
|