Harald Hoyer
28eae10b70
Split the systemd dracut module up
...
Basic systemd functionality is in 00systemd now.
Switching root and the initrd.target is in 00systemd-initrd.
Dracut additions to the systemd initrd are in 98dracut-systemd.
10 years ago
Tom Gundersen
ca4108b78e
initrd-release: move from /etc to /usr/lib
...
This mimicks the similar move of os-release which was done in systemd. These
files are not configuration, but part of the OS.
Still symlinks are in place for compatibility, but those should probably be
dropped eventually.
10 years ago
WANG Chao
ce7f408dfd
dracut-pre-pivot pulls in remote-fs.target
...
It turns out that commit f30b74e (dracut-initqueue service runs before
remote-fs-pre.target) is partial fix for remote fs mounts. Because no
one pulls in remote-fs.target, we can never start remote fs mounts.
Now pull in remote-fs.target in dracut-pre-pivot.
Signed-off-by: WANG Chao <chaowang@redhat.com>
11 years ago
Harald Hoyer
751c7de98a
systemd/dracut-pre-pivot: run for /dev/{nfs,root} and cleanup /dev/nfs
...
dracut-pre-pivot was not cleaning up /dev/nfs and did not run to clean
up /dev/root.
11 years ago
WANG Chao
55c912ae40
systemd: pre-pivot hooks runs after /sysroot is mounted
...
If rootflags=nofail, sysroot.mount won't strictly run "Before"
initrd-root-fs.target. So we need to order dracut-pre-pivot after
sysroot.mount.
12 years ago
Harald Hoyer
cee4599131
systemd/dracut-pre-pivot.service: also execute for cleanup hooks or rd.break
12 years ago
Harald Hoyer
780cb33741
systemd: set environment vars DRACUT_SYSTEMD, NEWROOT in service file
12 years ago
Harald Hoyer
e26d76dca1
systemd: add more ordering
12 years ago
Harald Hoyer
85c85f07e2
systemd: switch to new initrd.target
...
(normal startup)
:
:
v
basic.target
|
______________________/|
/ |
| sysroot.mount
| |
| v
| initrd-root-fs.target
| |
| v
| initrd-parse-etc.service
(custom initrd services) |
| v
| (sysroot-usr.mount and
| various mounts marked
| with fstab option
| x-initrd.mount)
| |
| v
| initrd-fs.target
| |
\______________________ |
\|
v
initrd.target
|
v
initrd-cleanup.service
isolates to
initrd-switch-root.target
|
v
______________________/|
/ |
| initrd-udevadm-cleanup-db.service
| |
(custom initrd services) |
| |
\______________________ |
\|
v
initrd-switch-root.target
|
v
initrd-switch-root.service
|
v
switch-root
12 years ago
Harald Hoyer
c85cda9e2f
systemd: local-fs.target is now root-fs.target and initrd-fs.target
...
Also rename dracut.target to initrd.target
see also systemd commit 700e07f
http://cgit.freedesktop.org/systemd/systemd/commit/?id=700e07f
12 years ago
Harald Hoyer
dbfaae0e34
systemd: changes for new initrd services
...
Requires systemd >= 198
12 years ago
Harald Hoyer
600c876968
consistently lowercase "dracut"
13 years ago
Harald Hoyer
13f77e9fd5
add documentation for systemd services in the initramfs
13 years ago
Harald Hoyer
7292a59593
systemd: stop udevd correctly
13 years ago
Harald Hoyer
765d8408e9
Revert "systemd/dracut-pre-pivot.service: force clean stop of udevd and cleanup-db"
...
This reverts commit a43f97c4e3
.
13 years ago
Harald Hoyer
a43f97c4e3
systemd/dracut-pre-pivot.service: force clean stop of udevd and cleanup-db
13 years ago
Harald Hoyer
792b189317
systemd service cleanup
13 years ago
Harald Hoyer
ae2d48a366
systemd: add ConditionPathExists=/etc/initrd-release to services
13 years ago
Harald Hoyer
e08710a289
systemd: fixed I/O of services
13 years ago
Harald Hoyer
9f037266ee
systemd: output all service output to the journal also
13 years ago
Harald Hoyer
ca024e3378
renamed switch-root.{service,target} -> initrd-switch-root
13 years ago
Harald Hoyer
2c431e8ec4
add systemd module
13 years ago