chiark / gitweb /
add initrd-fs.target and root-fs.target
authorHarald Hoyer <harald@redhat.com>
Mon, 4 Mar 2013 18:01:05 +0000 (19:01 +0100)
committerHarald Hoyer <harald@redhat.com>
Wed, 13 Mar 2013 07:11:17 +0000 (08:11 +0100)
commit700e07ffd53083114e91bb4ba646ed26d0463f67
tree85ccb2c53db4c88bd931f873e7c547143a110e4c
parent783162123dbac43d5b7a3fab9d4f11dcf86d06e1
add initrd-fs.target and root-fs.target

Instead of using local-fs*.target in the initrd, use root-fs.target for
sysroot.mount and initrd-fs.target for /sysroot/usr and friends.

Using local-fs.target would mean to carry over the activated
local-fs.target to the isolated initrd-switch-root.target and thus in
the real root. Having local-fs.target already active after
deserialization causes ordering problems with the real root services and
targets.

We better isolate to targets for initrd-switch-root.target, which are
only available in the initrd.
Makefile.am
man/systemd.special.xml
src/core/special.h
src/fstab-generator/fstab-generator.c
units/initrd-cleanup.service.in
units/initrd-fs.target [new file with mode: 0644]
units/initrd-parse-etc.service.in
units/initrd-switch-root.target
units/root-fs.target [new file with mode: 0644]