Commit ac49a7d0 authored by Ophélie Gagnard's avatar Ophélie Gagnard

Improve install.sh

parent 5b489f98
set -e
# This script assumes to be run by the root user (with /sbin in the path).
# Install the module
......@@ -24,7 +26,7 @@ TARGET_ROOT_PARTITION=${TARGET_DISK}p2
e2label $TARGET_ROOT_PARTITION ROOT
# TMP: Delete bootnum 0 so that there is only one boot option for an image created by this script
efibootmgr -b 0 -B
efibootmgr -b 0 -B || true
# Create an initramfs image
dracut -c ./dracut.module/dracut.conf --force
......
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