'systemd-repart' tool is commonly used to produce Discoverable Disk Image
(DDI) ("--make-ddi=TYPE" option) and by default the tool creates 'erofs'
root volume for sysext/confext. Include 'erofs' kernel module into
initramfs if present.
While on in, include 'loop' module as well as this one is an absolute must.
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
}
+# Install kernel module(s).
+installkernel() {
+ hostonly=$(optional_hostonly) instmods -s erofs
+ hostonly='' instmods loop
+}
+
# Install the required file(s) and directories for the module in the initramfs.
install() {