diff options
author | Harald Hoyer <harald@redhat.com> | 2012-07-10 16:20:23 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2012-07-10 17:02:42 +0200 |
commit | bef2fd9722c6f2fd972515c41963639e3bae0bc7 (patch) | |
tree | 3fd98a996193b78f1b2ff8f66ee5fc4378c33d15 /test | |
parent | ad401d1eaf51677ac324523f9e11869cb29fee11 (diff) | |
download | dracut-bef2fd9722c6f2fd972515c41963639e3bae0bc7.tar.gz dracut-bef2fd9722c6f2fd972515c41963639e3bae0bc7.tar.bz2 dracut-bef2fd9722c6f2fd972515c41963639e3bae0bc7.zip |
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
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions