Merge pull request #39 from Dasharo/fedora-disk-flashing-fix

fedora/ks.cfg: Include common disk drivers to initramfs
This commit is contained in:
Wiktor Mówiński
2025-09-26 11:04:17 +02:00
committed by GitHub
2 changed files with 8 additions and 0 deletions
+5
View File
@@ -44,6 +44,11 @@ if [[ ! -f "$ISO_PATH" ]]; then
wget -O "$ISO_PATH" $ISO_DOWNLOAD_LINK
fi
if [[ -f $OUTPUT_ISO ]]; then
echo "$OUTPUT_ISO already exists, replacing the file."
rm -f "$OUTPUT_ISO"
fi
xorriso -indev $ISO_PATH \
-outdev $OUTPUT_ISO \
-compliance no_emul_toc \
+3
View File
@@ -60,6 +60,9 @@ sed -i 's/^SELINUX=enforcing/SELINUX=permissive/' /etc/selinux/config
# Disable Gnome logout prompt (if GNOME is installed)
gsettings set org.gnome.SessionManager logout-prompt false || true
# Regenerate initrafms to force to include all common disk drivers
dracut --regenerate-all --force --add-drivers "ahci sd_mod sr_mod nvme usb-storage"
%end
reboot