diff options
author | Daniel Drake <drake@endlessm.com> | 2016-05-12 10:42:39 -0600 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-05-12 18:42:39 +0200 |
commit | 7163e1ca1108d789ee8b40238ebf0f6978cd58a9 (patch) | |
tree | ff949785e1d957d95a9e25fc6d7ea4ea3d8a9558 /src/basic | |
parent | 42d35e1301928d08dd32ec51f0205252ae658ba5 (diff) |
Create initrd-root-device.target synchronization point (#3239)
Add a synchronization point so that custom initramfs units can run
after the root device becomes available, before it is fsck'd and
mounted.
This is useful for custom initramfs units that may modify the
root disk partition table, where the root device is not known in
advance (it's dynamically selected by the generators).
Diffstat (limited to 'src/basic')
-rw-r--r-- | src/basic/special.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/special.h b/src/basic/special.h index 2fd03d9f75..084d3dfa23 100644 --- a/src/basic/special.h +++ b/src/basic/special.h @@ -52,6 +52,7 @@ #define SPECIAL_LOCAL_FS_TARGET "local-fs.target" #define SPECIAL_LOCAL_FS_PRE_TARGET "local-fs-pre.target" #define SPECIAL_INITRD_FS_TARGET "initrd-fs.target" +#define SPECIAL_INITRD_ROOT_DEVICE_TARGET "initrd-root-device.target" #define SPECIAL_INITRD_ROOT_FS_TARGET "initrd-root-fs.target" #define SPECIAL_REMOTE_FS_TARGET "remote-fs.target" /* LSB's $remote_fs */ #define SPECIAL_REMOTE_FS_PRE_TARGET "remote-fs-pre.target" |