mirror of
https://github.com/token2/snapd.git
synced 2026-03-13 11:15:47 -07:00
* tests: fix muinstaller tests for 24 * many: build drivers tree when current mount is not the target mount In some cases (when using the snapd install API or when installing from initramfs), the place where the kernel snap / components used for the installation are mounted is different to the final location in the installed system. This change considers this so the drivers tree is generated with symlinks pointing to the final expected location. * overlord: use model to check if we need to set-up drivers tree instead of using a device context, as for the installation using snapd API case we have a model but not a context. * tests/lib/tools/setup_nested_hybrid_system.sh: re-try kpartx -d * tests/muinstaller-real: check that drivers tree is created * tests/muinstaller-real: we need a bigger disk with latest kernel * tests/lib/tools/setup_nested_hybrid_system.sh: clean up after building muinstaller. On classic we have weird issues otherwise due to a desktop agent installing lxd. * tests/lib/prepare-restore.sh: purge lxd-installer lxd-installer was causing failures in the restore step for 24.04.