Harald Hoyer
373efa4427
systemd: make unit files symlinks
2013-06-13 11:08:03 +02:00
Harald Hoyer
5d68c80b16
systemd: include the systemd-random-seed-load.service
...
The systemd cryptsetup-generator wants systemd-random-seed-load.service
in case /dev/urandom is the device.
2013-04-12 15:27:27 +02:00
Harald Hoyer
bfac40665b
systemd: add new timers.target and paths.target
2013-03-26 16:19:27 +01:00
Harald Hoyer
cbd69dc6ff
install dracut-*.service units
2013-03-25 07:56:12 +01:00
Harald Hoyer
e26d76dca1
systemd: add more ordering
2013-03-19 12:22:33 +01:00
Harald Hoyer
6b46e7baa0
systemd: do not use "systemd --version" until fixed
2013-03-15 07:10:20 +01:00
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
2013-03-15 07:10:20 +01:00
Harald Hoyer
a23b368c92
systemd: remove upstream renamed old service files
2013-03-13 14:45:55 +01:00
Harald Hoyer
b8060ef781
systemd: add sysctl.d and sysctl.conf
2013-03-13 11:37:05 +01:00
Harald Hoyer
727543c1e6
systemd: add modules-load.d modules to the initramfs
2013-03-13 11:37:05 +01:00
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
2013-03-13 09:34:47 +01:00
Harald Hoyer
900e15da34
systemd/module-setup.sh: call systemd in private dir for version
2013-03-08 11:50:03 +01:00
Harald Hoyer
31737a05e1
systemd: add version check in install()
2013-03-08 07:07:01 +01:00
Harald Hoyer
dbfaae0e34
systemd: changes for new initrd services
...
Requires systemd >= 198
2013-03-06 17:21:47 +01:00
Harald Hoyer
569ffe77bf
systemd: add systemd-modules-load.service and hook dirs
2013-02-21 12:13:09 +01:00
Harald Hoyer
27a2c3a406
systemd: services got renamed
2013-02-14 12:32:12 +01:00
Harald Hoyer
6b095274fb
systemd: trigger systemd-vconsole-setup.service only on demand
2013-02-11 11:49:19 +01:00
Will Woods
488d55c546
add 'swapoff' to initramfs to fix shutdown/reboot
...
systemd shutdown/reboot won't work unless 'swapoff' is available.
2012-12-14 09:04:55 +01:00
Harald Hoyer
528ae4f46c
systemd/module-setup.sh: turn off RateLimit for the journal
2012-11-26 13:49:19 +01:00
Harald Hoyer
2242cd92ee
systemd: rename emergency.service to dracut-emergency.service for rd.shell
2012-10-04 13:24:07 -04:00
Harald Hoyer
25787f8071
systemd/module-setup.sh: move some services to sysinit
2012-10-03 16:35:13 -04:00
Harald Hoyer
8b6bdafc39
systemd/module-setup.sh: install systemd udev rules
2012-07-30 17:08:52 +02:00
Harald Hoyer
3bb4700f98
systemd/module-setup.sh: removed initctl services
2012-07-18 15:54:08 +02:00
Harald Hoyer
6bd4ca5644
systemd/module-setup.sh: removed shutdownd
...
we don't need timed shutdowns in the initramfs
2012-07-18 14:08:50 +02:00
Harald Hoyer
765d8408e9
Revert "systemd/dracut-pre-pivot.service: force clean stop of udevd and cleanup-db"
...
This reverts commit a43f97c4e3
.
2012-07-17 13:05:11 +02:00
Harald Hoyer
a43f97c4e3
systemd/dracut-pre-pivot.service: force clean stop of udevd and cleanup-db
2012-07-17 11:08:58 +02:00
Harald Hoyer
bef2fd9722
systemd: install all dracut units in /etc and let the generator cp to /run
...
All custom units, which should appear in the system later on should be
installed in /etc/systemd. They should have a guard like:
ConditionPathExists=/etc/initrd-release
So, we can later query via systemctl:
$ systemctl status dracut-initqueue.service
dracut-initqueue.service - Dracut initqueue hook
Loaded: loaded (/run/systemd/system/dracut-initqueue.service; enabled-runtime)
Active: inactive (dead) since Tue, 10 Jul 2012 16:01:22 +0200; 1min 37s ago
start condition failed at Tue, 10 Jul 2012 16:01:23 +0200; 1min 36s ago
Main PID: 173 (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/dracut-initqueue.service
Jul 10 16:01:22 lenovo dracut-initqueue[173]: Checking, if btrfs device complete
Jul 10 16:01:22 lenovo dracut-initqueue[173]: Remounting /dev/disk/by-uuid/ade13292-d23f-45be-b732-fa9a391a56b0 with -o compress=lzo,ssd,rw
Jul 10 16:01:22 lenovo dracut-initqueue[173]: Mounted root filesystem /dev/sda3
2012-07-10 17:02:42 +02:00
Harald Hoyer
792b189317
systemd service cleanup
2012-07-10 12:22:51 +02:00
Harald Hoyer
b4e20a898e
systemd-udev-trigger.service and systemd-udev-settle.service have no "d"
2012-07-09 10:12:04 +02:00
Harald Hoyer
6795dcc4fc
require systemd >= 186
2012-07-09 10:04:35 +02:00
Harald Hoyer
9954876417
systemd/module-setup.sh: also include systemd-udevd* units
...
systemd-udev* was renamed to systemd-udevd*
2012-07-06 14:33:53 +02:00
Harald Hoyer
e09048aaf5
systemd: check, that --prefix= does not contain /run
...
systemd will mount /run before dracut has a chance to copy over the
original content.
2012-07-06 13:49:03 +02:00
Harald Hoyer
d04f16f600
install user/group adm for journal
2012-07-05 14:33:00 +02:00
Harald Hoyer
53fe81e752
modules.d/*/module-setup.sh: combine and specify type for installs
...
To speedup image creation, combine dracut_install calls and specify the exact type.
E.g. inst_script instead of the generic inst.
2012-06-29 12:41:27 +02:00
Harald Hoyer
d531a0a307
systemd/module-setup.sh: ln with --force
2012-06-29 12:41:26 +02:00
Harald Hoyer
3639d2431f
systemd/module-setup.sh: only create empty machine-id if non existing
2012-06-29 12:41:25 +02:00
Harald Hoyer
55cb17c677
systemd: remove old udev services
2012-06-21 10:52:29 +02:00
Harald Hoyer
ee876e03b9
fixed i18n for systemd and include more config files in host-only
2012-06-21 10:52:29 +02:00
Harald Hoyer
579ca216b4
systemd: remove unneeded systemd services
2012-06-21 10:52:19 +02:00
Harald Hoyer
f653c86229
systemd/dracut-cmdline: make dracut-cmdline a service
...
convert dracut-cmdline from hook to service after the journal
2012-06-21 01:11:44 +02:00
Harald Hoyer
b47e023767
systemd: fix emergency.service and rescue.service
2012-06-21 01:11:44 +02:00
Harald Hoyer
529f7bf358
systemd/module-setup.sh: add old udev systemd services
2012-06-21 01:11:43 +02:00
Harald Hoyer
547bbe4876
systemd: strip down the installation of some unused tools
2012-06-07 10:38:31 +02:00
Harald Hoyer
d161561290
make udevdir systemdutildir systemdsystemunitdir global vars
...
your distribution should ship those settings in
/etc/dracut.conf.d/01-distro.conf
see dracut.conf.d/fedora.conf.example
2012-06-06 15:16:00 +02:00
Harald Hoyer
0636ce1a7f
systemd/module-setup.sh: package udev in sysinit.target
2012-06-04 13:12:07 +02:00
Harald Hoyer
14b43bcaee
systemd: use pkg-config to determine the systemd directories
2012-06-04 12:55:32 +02:00
Harald Hoyer
187c355bf4
systemd: mkdir basic.target.wants
2012-06-04 03:08:24 -04:00
Harald Hoyer
806572d058
systemd/module-setup.sh: add journalctl and systemctl
2012-05-29 09:17:43 +02:00
Harald Hoyer
ca024e3378
renamed switch-root.{service,target} -> initrd-switch-root
2012-05-22 14:50:19 +02:00
Harald Hoyer
f72318243c
systemd: adapt to new switch-root mechanism
2012-05-15 18:57:29 +02:00