mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-18 06:11:34 +00:00
functions: use CHROOT_ROOT in snap_preseed
This commit is contained in:
parent
248efab2fd
commit
4fb73c2b19
@ -642,7 +642,7 @@ snap_preseed() {
|
|||||||
# downside is that each time a snap is added the seed must be valid,
|
# downside is that each time a snap is added the seed must be valid,
|
||||||
# i.e. snaps with bases need to add bases first etc.
|
# i.e. snaps with bases need to add bases first etc.
|
||||||
if [ -e chroot/var/lib/snapd/seed/seed.yaml ]; then
|
if [ -e chroot/var/lib/snapd/seed/seed.yaml ]; then
|
||||||
snap debug validate-seed chroot/var/lib/snapd/seed/seed.yaml
|
snap debug validate-seed "$CHROOT_ROOT/var/lib/snapd/seed/seed.yaml"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user