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
Harald Hoyer
2c431e8ec4
add systemd module
2012-05-09 13:36:07 +02:00