~snappy-dev/snapd/+git/snapd-pawel:fix-snap-validate-enforce-unpin

Last commit made on 2022-04-22
Get this branch:
git clone -b fix-snap-validate-enforce-unpin https://git.launchpad.net/~snappy-dev/snapd/+git/snapd-pawel

Branch merges

Branch information

Name:
fix-snap-validate-enforce-unpin
Repository:
lp:~snappy-dev/snapd/+git/snapd-pawel

Recent commits

345137b... by Paweł Stołowski

Fix snapshotstate and hookstate mocks.

f2db808... by Paweł Stołowski

Fix snapstate tests mocks.

2337c15... by Paweł Stołowski

Fix handling of validation set tracking update in enforcing mode when
pinning/un-pinning or pinning to another sequence number, including a
lower one. Make sure Current points to the latest sequence available in
such cases.

Fixes: LP #1969216

25cc971... by Samuele Pedroni

asserts,store: complete support for optional primary key headers for assertions

Merge pull request #11639 from pedronis/asserts-opt-primary-keys

Teach Find and helpers dealing with primary keys to consider default values for optional primary key headers.

When interacting with the store use reduced/normalized primary keys omitting default values to help with backward compatibility.

1a391cc... by Samuele Pedroni

seed: support parallelism when loading/verifying snap metadata

Merge pull request #11697 from pedronis/seed-parallel-load-meta

This adds Seed.SetParallelism to control this.
Concretely ATM it is only implemented for UC 20+ seeds.

bee5d6b... by Samuele Pedroni

asserts: simplify some of the optional primary keys with default code

d688e63... by Samuele Pedroni

Merge remote-tracking branch 'upstream/master' into seed-parallel-load-meta

fix conflict

63c0247... by Michael Vogt

Merge pull request #11622 from stolowski/core20-preseed/prepare-image-sign

image/preseed, cmd/snap-preseed: create and sign preseed assertion

f6f7bad... by Sergio Cazzolato

tests: Initial changes to run nested tests on uc22

* Initial changes to run nested tests on uc22

New nested tests configuration for uc22 and libraries updated.
New basic nested test for uc22 on

* Updated the build_initramfs_kernel_snap

also other minor changes included

* Minor fixes for build_initramfs_kernel_snap

* Using OVMF_CODE and OVMF_VARS from focal ovmf package

As in Jammy there is just the _4M got the snakeoil vars, the idea is to
reuse the once available in focal.

* Adding uc22 to nested tests execution

* Fix preseed nested test to make it work for jammy

* Update how kernel is re-packed

* Fix the prepare.sh script

* send the parameters to the new modify-the-tool function

* Fix how modify_the_tool is called

* Use uc20_build_initramfs_kernel_snap from master

783f2a8... by Samuele Pedroni

seed: rename /i/index/, add some clarifying comments

thanks @mardy, @bboozzoo and @stolowski