]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/commitdiff
dracut: Enable systemd support in initramfs.
authorStefan Schantl <stefan.schantl@ipfire.org>
Fri, 26 Oct 2012 21:00:11 +0000 (23:00 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Fri, 26 Oct 2012 21:00:11 +0000 (23:00 +0200)
From now we also will use systemd inside the initramfs, that gives us a faster
startup and full debugging/logging into the system journal.

dracut/dracut.nm
dracut/ipfire.conf

index d0afc9a6272253f0b8dddf123c5d6123b3cff893..ecc26c7d926e4919258797a97a172a831b184db2 100644 (file)
@@ -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
index b27d6245b1a7c1ce4e9538ac1070bdfdefac2df5..a6b717c60ddf8ab0322bc9a2437ec63f398bc920 100644 (file)
@@ -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 "