From: Stefan Schantl Date: Fri, 26 Oct 2012 21:00:11 +0000 (+0200) Subject: dracut: Enable systemd support in initramfs. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bdc400af2f0d4bcd8dc535770eb460e9847f4010;p=people%2Fms%2Fipfire-3.x.git dracut: Enable systemd support in initramfs. From now we also will use systemd inside the initramfs, that gives us a faster startup and full debugging/logging into the system journal. --- diff --git a/dracut/dracut.nm b/dracut/dracut.nm index d0afc9a62..ecc26c7d9 100644 --- a/dracut/dracut.nm +++ b/dracut/dracut.nm @@ -5,7 +5,7 @@ name = dracut version = 024 -release = 1 +release = 2 arch = noarch groups = System/Boot @@ -86,6 +86,7 @@ packages lvm2 mdadm sysvinit + systemd >= 187 udev util-linux which diff --git a/dracut/ipfire.conf b/dracut/ipfire.conf index b27d6245b..a6b717c60 100644 --- a/dracut/ipfire.conf +++ b/dracut/ipfire.conf @@ -4,4 +4,10 @@ i18n_vars="/etc/vconsole.conf:KEYTABLE-KEYMAP,SYSFONT-FONT,FONTACM-FONT_MAP,FONT_UNIMAP" #add_dracutmodules+=" " stdloglvl=3 -prefix=/run/initramfs +prefix="/" +systemdutildir=/usr/lib/systemd +systemdsystemunitdir=/usr/lib/systemd/system +udevdir=/usr/lib/udev +add_dracutmodules+=" systemd " +realinitpath="/usr/lib/systemd/systemd" +kernel_cmdline+=" rd.auto=1 "