From: Arne Fitzenreiter Date: Fri, 7 Jan 2022 11:45:46 +0000 (+0000) Subject: dracut: add xen_blkfront module to initrd X-Git-Tag: v2.27-core163~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e9084d9b4fb32373663f462bec97537ef3dd05fb;p=ipfire-2.x.git dracut: add xen_blkfront module to initrd this module is needed to boot on xen hosts. Signed-off-by: Arne Fitzenreiter --- diff --git a/config/dracut/dracut.conf b/config/dracut/dracut.conf index e9bd566b64..74736352e0 100644 --- a/config/dracut/dracut.conf +++ b/config/dracut/dracut.conf @@ -19,7 +19,7 @@ #add_dracutmodules+="" # additional kernel modules to the default -#add_drivers+="" +add_drivers+="xen_blkfront" # skip kernel modules (marvell sdio and compat from backports) omit_drivers+="libertas libertas_sdio mwifiex mwifiex_sdio compat" diff --git a/config/rootfiles/core/163/filelists/files b/config/rootfiles/core/163/filelists/files index 8112e52889..d8baf418f0 100644 --- a/config/rootfiles/core/163/filelists/files +++ b/config/rootfiles/core/163/filelists/files @@ -1,3 +1,4 @@ +etc/dracut.conf srv/web/ipfire/cgi-bin/ovpnmain.cgi srv/web/ipfire/cgi-bin/vpnmain.cgi srv/web/ipfire/html/themes/ipfire/include/functions.pl diff --git a/config/rootfiles/core/163/update.sh b/config/rootfiles/core/163/update.sh index 04ca3fb614..f0bc7fb55b 100644 --- a/config/rootfiles/core/163/update.sh +++ b/config/rootfiles/core/163/update.sh @@ -78,6 +78,9 @@ telinit u /etc/init.d/unbound restart /etc/init.d/squid restart +# rebuild initrd +dracut --force --early-microcode --strip --verbose --xz + # This update needs a reboot... touch /var/run/need_reboot