Harald Hoyer
967cc19ab1
remove all vim and emacs code format comments
2014-08-29 13:38:47 +02:00
Harald Hoyer
f232f6623d
Add "rd.cmdline=ask" kernel command line parameter
...
prompts the user for additional kernel command line parameters
2014-06-30 12:03:12 +02:00
Harald Hoyer
5a57582050
Add rd.hostonly kernel command line parameters
...
rd.hostonly=0 will remove all configuration compiled in the initramfs
from the host on which it was build
2014-06-27 13:59:44 +02:00
Daniel Schaal
7eb0bc7bc4
98systemd: also install systemd-journald-dev-log.socket
...
The /dev/log socket was moved to /run on systemd 214, install the
newly added socket unit.
2014-06-20 14:34:28 +02:00
Cristian Rodríguez
f46c2fff71
systemd: Optionally, include efivarsfs module
...
It is, however not an error if this module can't be found.
2014-06-20 14:34:27 +02:00
Hannes Reinecke
ed2005fa5b
98systemd: fixup rootfs-generator installation path
...
The rootfs-generator was installed in the wrong path
in the initrd, cause it never to be run.
References: bnc#878714
Signed-off-by: Hannes Reinecke <hare@suse.de>
2014-05-20 11:40:42 +02:00
Harald Hoyer
a9f4b9cdb0
systemd: add systemd-gpt-auto-generator
2014-03-20 13:42:08 +01:00
Harald Hoyer
1f680ccc9b
systemd: add systemd-sysctl service
...
https://bugzilla.redhat.com/show_bug.cgi?id=1070086
2014-02-28 12:10:45 +01:00
Harald Hoyer
103c5e1ecb
systemd: add 70-uaccess.rules
2014-02-26 14:56:28 +01:00
Harald Hoyer
30e6e809ed
Factor out all the "type -V" commands
...
Add new functions require_binaries() and require_any_binary() to be used
in the check() section of module-setup.sh.
These functions print a warning line telling the user, which binary is
missing for the specific dracut module.
This unifies the way of checking for binaries and makes the life of an
initramfs creator easier, if he wants to find out why a specific dracut
module is not included in the initramfs.
2014-02-06 16:45:20 +01:00
Harald Hoyer
8d21728942
systemd: add sys-kernel-config.mount
2014-02-05 13:58:33 +01:00
Cristian Rodríguez
314929920f
systemd: ensure autofs4 and ipv6 are included
...
Systemd tries to load this modules very early.
Even though they are not strictly required it it is a good
thing to have them around.
[Edited-by: Harald Hoyer: moved to installkernel() ]
2014-01-24 12:48:08 +01:00
Harald Hoyer
256c91f837
systemd/module-setup.sh: make use of "ln_r"
2014-01-17 14:52:01 +01:00
Harald Hoyer
8229d06b05
systemd: add seat udev rules and mask loginctl
2014-01-17 14:52:01 +01:00
Harald Hoyer
a0cab31ab8
systemd: add 71-seat.rules 73-seat-late.rules
...
otherwise plymouth does not work
2014-01-17 14:52:01 +01:00
Harald Hoyer
ac5bff2b6f
dracut-lib/wait_for_dev(): prevent systemd daemon-reload
...
prevent a systemd daemon-reload, if it is not necessary to do.
2013-12-18 15:22:27 +01:00
Harald Hoyer
8bcfd683bd
*/module-setup.sh: add comments for dracut called functions
2013-10-08 10:37:56 +02:00
Harald Hoyer
af11946054
dracut-functions.sh: inst_multiple == dracut_install
2013-08-07 10:33:15 +02:00
Harald Hoyer
dc7085ceeb
systemd: use systemd in the initramfs, if installed on the system
...
and systemd version is >= 198
2013-07-31 13:56:03 +02:00
Harald Hoyer
d124904f2b
systemd: include systemd-tempfiles
2013-07-30 16:18:03 +02:00
Harald Hoyer
d988dc30df
systemd: add support for kmod static devnodes
2013-07-30 11:58:33 +02:00
Harald Hoyer
951cedf8cb
Revert "systemd: add systemd-fsck-root.service"
...
This reverts commit 35857f556c
.
2013-07-17 15:05:30 +02:00
Harald Hoyer
35857f556c
systemd: add systemd-fsck-root.service
2013-07-17 12:00:04 +02:00
Harald Hoyer
bf9cdc472c
systemd/module-setup.sh: create emtpy /etc/machine-id
...
Even in hostonly mode, if none was found on the system.
2013-07-11 12:15:17 +02:00
Harald Hoyer
b093aa2dc7
beautified shell code
...
checked with shellcheck http://www.shellcheck.net/about.html
2013-07-04 12:31:15 +02:00
Harald Hoyer
f13deabd22
systemd/module-setup.sh: add slices.target
2013-06-28 09:58:03 +02:00
Harald Hoyer
68cb510f18
systemd: add system.slice unit
2013-06-26 09:15:34 +02:00
Harald Hoyer
4961910fe3
systemd/module-setup.sh: mkdir /etc/systemd
2013-06-13 14:44:13 +02:00
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