On Tue, Jan 21, 2020 at 12:43:47PM +0000, Matthew Garrett wrote:
configinitrd file1 file2 file3
initrd initramfs1.img initramfs2.img CONFIG
Huh - it seems like grub may already support this? It looks like:
initrd initramfs.img newc:/etc/crypttab:/boot/crypttab
will add /boot/crypttab to the initramfs as /etc/crypttab. Haven't
tested this yet, though, and it's entirely undocumented.
--
Matthew Garrett | mjg59(a)srcf.ucam.org