snapcore / core-initrd

initrd implementation in ubuntu core
https://ubuntu.com/core/docs
GNU General Public License v3.0
9 stars 27 forks source link

many: when building initramfs, pull files from the run system #225

Closed alfonsosanchezbeato closed 7 months ago

alfonsosanchezbeato commented 8 months ago

Previously we were building a rootfs from files at debian package build time, and the ubuntu-core-initramfs was generating the initramfs from this file. This PR changes this script so it pulls files from other packages when invoked, instead. This removes most of the build dependencies and makes maintenance of the package easier, as it does not need to be updated when systemd or other run-time dependencies are updated anymore.

alfonsosanchezbeato commented 8 months ago

Hm, ubuntu-image in edge is failing now...

alfonsosanchezbeato commented 8 months ago

There is an issue with the just merged assertions, see https://github.com/snapcore/models/pull/17#issuecomment-1836612194

alfonsosanchezbeato commented 7 months ago

@valentindavid @xnox this is ready for another review round.