mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-11 05:07:09 +00:00
The snap-preseed command can do a number of things during the build that are currently performed at first boot (apparmor profiles, systemd unit generation, etc). This patch adds a call to reset the seeding and apply these optimizations when adding a seeded snap. As a prerequisite to calling snap-preseed we need to make /dev/mem available as well as mounts from the host to perform this work, so those are also added here. (cherry picked from commit 1ca11c979505ae1b8c4621f034d28070a2715293)