mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-23 03:11:12 +00:00
Undo preseeding in reset_snapd_state.
This commit is contained in:
parent
19c8076966
commit
5456e4e5e6
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
||||
livecd-rootfs (23.10.22) UNRELEASED; urgency=medium
|
||||
|
||||
* Undo preseeding in reset_snapd_state.
|
||||
|
||||
-- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Fri, 25 Aug 2023 11:44:57 +1200
|
||||
|
||||
livecd-rootfs (23.10.21) mantic; urgency=medium
|
||||
|
||||
* Deduplicate the layers just before creating the squashfs, to enable
|
||||
|
@ -1236,6 +1236,7 @@ EOF
|
||||
reset_snapd_state() {
|
||||
rootdir="$1"
|
||||
|
||||
/usr/lib/snapd/snap-preseed --reset $(realpath "$rootdir") || true
|
||||
rm -rf "$rootdir/var/lib/snapd"
|
||||
setup_mountpoint "$rootdir"
|
||||
chroot "$rootdir" apt-get install --reinstall -y snapd
|
||||
|
Loading…
x
Reference in New Issue
Block a user