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

generation: Improve 20generate-image.sh

parent 5d92d69a
......@@ -143,7 +143,9 @@ cd dracut.module
sed "${dracut_conf_regex}" dracut.conf.in > dracut.conf
cd -
#additional_dracut_options="-i /a /b"
additional_dracut_options=
# Create an initramfs image
rm -f "$dracut_output_file"
dracut -c ./dracut.module/dracut.conf "$uefi_image_name" --no-hostonly --force |& tee -a "$dracut_output_file"
dracut -c ./dracut.module/dracut.conf "$uefi_image_name" --no-hostonly --force "$additional_dracut_options" |& tee -a "$dracut_output_file"
echo New initramfs image: $(pwd)/"$uefi_image_name"
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