systemd: store switch-root.conf in /run/initramfs
authorHarald Hoyer <harald@redhat.com>
Wed, 16 May 2012 09:24:42 +0000 (11:24 +0200)
committerHarald Hoyer <harald@redhat.com>
Wed, 16 May 2012 09:24:42 +0000 (11:24 +0200)
commit38111b96223816bdc48930830f59d0fc674db895
tree9da03314e6352ab576ff8d572e59bb18ccb907d0
parent41153ca4f2163d2ede2d269e2a5388d7a4b73621
systemd: store switch-root.conf in /run/initramfs

Store switch-root.conf in /run/initramfs/switch-root.conf, so that the
service does not fail in ExecPost after switching to the real root.
modules.d/98systemd/dracut-pre-pivot.sh
modules.d/98systemd/switch-root.service