home: hub: mkinitfs

Download patch

ref: eafbb4c1f914b41cc06e4c8e4f2b682355517fe9
parent: b37d8f38f9d0e04368d0d7f17775c1a5b6b7e655
author: Dermot Bradley <dermot_bradley@yahoo.com>
date: Wed Sep 28 13:14:48 CDT 2022

Add vmd module to features.d/nvme.modules

VMD is Intel's Volume Management Device. Some Intel-based machines
have a BIOS/UEFI option to present a NVME SSD via either VMD or as
a "native" NVME device.

If Alpine is installed on a NVME device when it is presented via
VMD then once the Alpine ISO/USB boots the 'vmd' kernel module will
be loaded by /etc/init.d/hwdrivers and Alpine will see a
/dev/nvme0n1 device to which setup-alpine can install successfully.

However, once the newly installed system is then booted from the
NVME device the initramfs' init will fail to find the rootfs to
mount/boot from as, without the vmd module being loaded, no NVME
device will be visible.

This MR ensures that the 'vmd' kernel module is present in the
initramfs whenever the mkinitfs nvme feature is selected. A separate
MR for alpine-conf will be submitted shortly to add 'vmd' to an
installed systems' bootloader-specified modules list for NVME-based
systems.

--- a/features.d/nvme.modules
+++ b/features.d/nvme.modules
@@ -1,1 +1,2 @@
 kernel/drivers/nvme
+kernel/drivers/pci/controller/vmd.ko*