mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-11 19:31:18 +00:00
Run "snap debug validate-seed" to do basic validation of the geerated seed.yaml
This commit is contained in:
parent
7ec97a627a
commit
8bc09a160b
2
debian/control
vendored
2
debian/control
vendored
@ -34,7 +34,7 @@ Depends: ${misc:Depends},
|
||||
python3-yaml,
|
||||
qemu-utils,
|
||||
rsync,
|
||||
snapd,
|
||||
snapd (>= 2.39),
|
||||
squashfs-tools (>= 1:3.3-1),
|
||||
sudo,
|
||||
u-boot-tools [armhf arm64],
|
||||
|
@ -529,6 +529,11 @@ if [ -z "$PASSES" ] && [ -e "$PREFIX.manifest" ]; then
|
||||
./config/snap-seed-parse "chroot/" "$PREFIX.manifest"
|
||||
fi
|
||||
|
||||
# Do basic validation of generated snapd seed.yaml.
|
||||
if [ -e chroot/var/lib/snapd/seed/seed.yaml ]; then
|
||||
snap debug validate-seed chroot/var/lib/snapd/seed/seed.yaml
|
||||
fi
|
||||
|
||||
# ubuntu-core splits kernel stuff into a "device" tarball so
|
||||
# at this point we reset it to "none" as all the work to extract it was done already
|
||||
# in a binary hook
|
||||
|
Loading…
x
Reference in New Issue
Block a user