containers / initoverlayfs

GNU General Public License v2.0
38 stars 8 forks source link

Integrate veritysetup format command for dm-verity hash generation #74

Closed martinmcconnell closed 6 months ago

martinmcconnell commented 7 months ago

Also, include dynamic kernel version dm-verity hash in initramfs.

dougsland commented 7 months ago

Hey Martin, nice patch, just small comment. You also might want to squash the patch but it's up to you. Would be nice to use a title related instead of Vroom 16770 and a short description. After that and tested, move the patch to "ready to review".

ericcurtin commented 7 months ago

This is probably good to merge if you take it out of draft @martinmcconnell

Just make sure the script works with both "if false" and "if true" (but leave if false)

Next step after this PR is to make/teach systemd mount a dm-veritied initoverlayfs during bootup (and we will have to teach our special optimized Automotive init system that's coming too, but systemd is easier to start with).