Commit 1c5a9717 authored by Ophélie Gagnard's avatar Ophélie Gagnard

generation: Copy compiled modules in initramfs.

parent 2a4942fc
......@@ -136,13 +136,9 @@ cd -
# Add files in initramfs
INCLUDE_DIR=files-to-include
MODULES_DIR="$INCLUDE_DIR"/usr/lib/modules-load.d/
ISCSI_FILE="$MODULES_DIR"/open-iscsi.conf
rm -rf "$INCLUDE_DIR"
# override unloadable modules
mkdir -p "$MODULES_DIR"
echo "# iscsi_tcp" >> "$ISCSI_FILE"
echo "# ib_iser" >> "$ISCSI_FILE"
mkdir -p "$INCLUDE_DIR"/usr
cp -r "$KERNEL_DIR"/lib "$INCLUDE_DIR"/usr
#additional_dracut_options="-i /a /b"
#additional_dracut_options=" \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment