~snappy-dev/snapd/+git/snapd-pawel:tooling-store-pkg

Last commit made on 2022-04-19
Get this branch:
git clone -b tooling-store-pkg https://git.launchpad.net/~snappy-dev/snapd/+git/snapd-pawel

Branch merges

Branch information

Name:
tooling-store-pkg
Repository:
lp:~snappy-dev/snapd/+git/snapd-pawel

Recent commits

8b22112... by Paweł Stołowski

Add missing docstring.

11abfd8... by Paweł Stołowski

Merge branch 'master' into tooling-store-pkg

f045e88... by Michael Vogt

Merge pull request #11606 from bboozzoo/bboozzoo/factory-reset-spread-no-encrypt

bootloader/assets, tests: add factory-reset mode, test non-encrypted factory-reset

1fe3147... by Michael Vogt

Merge pull request #11636 from bergotorino/feature/add-pls63-to-modem-manager

interfaces/modem-manager: add support for Cinterion modules

37087eb... by Ian Johnson

gadget: fully support multi-volume gadget asset updates in Update() on UC20+

* gadget: don't include non-supported volumes in map from VolumeStructureTo...

Not including the unsupported volumes in the map entirely simplifies some logic
in the full Update() change, so ensure that we only generate keys in the first
level of the map for supported volumes.

Signed-off-by: Ian Johnson <email address hidden>

* gadget: fully support multi-volume gadget asset updates in Update() on UC20+

Finally switch over the implementation of Update() to use all of the
preparatory functions and such that allow us to support multi-volume gadget
asset updates on UC20.

Remove unnecessary code in gadget/device_linux.go and update many tests.

Signed-off-by: Ian Johnson <email address hidden>

* gadget/update.go: simplify updateLocationForStructure

Thanks to Alberto for the suggestion

Signed-off-by: Ian Johnson <email address hidden>

* gadget/update.go: small tweaks (thanks to Samuele)

Signed-off-by: Ian Johnson <email address hidden>

* gadget/gadgettest: allow specifying kernel dir in LayoutMultiVolumeFromYaml

Signed-off-by: Ian Johnson <email address hidden>

* gadget/update_test.go: add test for kernel assets with multi-volumes

Also delete TODO since this is being handled correctly.

Signed-off-by: Ian Johnson <email address hidden>

* gadget: ensure that at least one kernel asset is consumed across all volumes

Previously we were enforcing that every volume needed to consume a kernel asset
but really the condition is that only one volume across any of the volumes in a
gadget consumes a kernel asset.

Signed-off-by: Ian Johnson <email address hidden>

* gadget/gadget.go: add TODO about updating IsCompatible

Signed-off-by: Ian Johnson <email address hidden>

* gadget/update_test.go: add case for a structure on another volume being changed

As requested by Samuele.

Signed-off-by: Ian Johnson <email address hidden>

Co-authored-by: Alberto Mardegan <email address hidden>
Co-authored-by: Michael Vogt <email address hidden>

dbb2e46... by Miguel Pires

Merge pull request #11684 from mardy/content-remove-todo

i/b/content: use slot.Lookup() as suggested by TODO comment

78b258d... by Michael Vogt

Merge pull request #11687 from sergiocazzolato/tests-fix-bpftool-in-jammy

tests: install linux-tools-gcp on jammy to avoid bpftool dependency error

fc6e370... by Michael Vogt

Merge pull request #11582 from Meulengracht/feature/cpu-quota-5

tests/main: add spread tests for new cpu and thread quotas

565b43a... by Sergio Cazzolato

Replace virtual with $(uname -r)

1254b01... by Sergio Cazzolato

fixed issue for impish