~ondrak/ondras-snaps/+git/snapd:move-preseed-handling

Last commit made on 2023-04-14
Get this branch:
git clone -b move-preseed-handling https://git.launchpad.net/~ondrak/ondras-snaps/+git/snapd

Branch merges

Branch information

Name:
move-preseed-handling
Repository:
lp:~ondrak/ondras-snaps/+git/snapd

Recent commits

c838de7... by Ondrej Kubik

o/install,o/devicestate: update tests for relocated preseed data handling

Signed-off-by: Ondrej Kubik <email address hidden>

7b63072... by Ondrej Kubik

o/install,o/devicestate: move preseed data handling to install package

Signed-off-by: Ondrej Kubik <email address hidden>

bc7b610... by Sergio Cazzolato

tests: update lxd base snap for ubuntu gt 22.04 in preseed test (#12725)

* Update lxd base snap for ubuntu gt 22.04 in preseed test

This is needed because the lxd snap had changed the base snap

* Update hte ubuntu image snap channel to stable

With candidate snap the following error is happening

[15948](https://github.com/snapcore/snapd/actions/runs/4682589568/jobs/8309300825?pr=12725#step:8:15949)/snap/ubuntu-image/460/bin/ubuntu-image:
/lib/x86\_64-linux-gnu/libc.so.6: version \`GLIBC\_2.32' not found
(required by /snap/ubuntu-image/460/bin/ubuntu-image)

2204c2f... by Dimitri John Ledkov

build-aux: Use dpkg-buildpackage options to not attempt signing anything

Currently riscv64 builds are failing, because dpkg-buildpackage
attempts signing. Use the historic `-uc -us` (unsigned changes,
unsigned sources) options that are available in xenial and up, to
prevent attempts to sign with mvo's gpg key inside launchpad snap
builds.

be48e19... by Philip Meulengracht

image: review feedback

fix wrong docstrings, better docs for the test-only function, add protection with MustBeTestBinary.

98e7d05... by Philip Meulengracht

image: a bit more consistency in the error messages

5977e58... by Philip Meulengracht

image: review feedback

Clarify error messages, move a few bits around so it makes more sense. Switch to snap.Revisions instead of integers.

f7c0c0f... by Philip Meulengracht

cmd/snap,image: fix unit tests in cmd_prepare_image, add unit test case validation sets where revisions are not specified, and where presence is invalid

696f014... by Philip Meulengracht

image: add missing unit test for manifest

fa68014... by Philip Meulengracht

image: redo the seed manifest functionality, don't use interfaces and rely on the type system. Better support for validation sets, and don't output them when controlled by a validation set