Lennart Poettering
a96900a82c
fix(dracut-systemd): don't refuse root=tmpfs when systemd is used
...
A match for systemd PR#18847
4 years ago
Kairui Song
49c4172f4e
Remove memtrace-ko and rd.memdebug=4 support in dracut
...
This feature could be off loaded to memstrack, which have better
accurecy, better performance, and have more detailed tracing features.
Also simplify make_trace_mem a bit.
And currently rd.memdebug=4 is unstable, fails from time to time.
5 years ago
Xunlei Pang
52c295c161
99base: apply kernel module memory debug support
...
Extend "rd.memdebug" to "4", and "make_trace_mem" to "4+:komem".
Add new "cleanup_trace_mem" to cleanup the trace if active.
Signed-off-by: Xunlei Pang <xlpang@redhat.com>
8 years ago
Harald Hoyer
e168eeef67
systemd/dracut-cmdline.sh: unset "UNSET" $root
...
https://bugzilla.redhat.com/show_bug.cgi?id=1365667
caused by commit 9aa224cc
(cherry picked from commit fc77aca7dd
)
9 years ago
Alexander Kurtz
016613c774
dracut-systemd/dracut-cmdline.sh: Don't error out if there is no root= argument.
...
Thanks to systemd's gpt-auto-generator [0] (which implements the Discoverable
Partitions Specification [1]), it is no longer necessary to always specify the
root= argument.
However, dracut would still refuse to boot if there was no root= argument (or
if it was set to the special value "gpt-auto" [2]). This commit stops dracut
from aborting the boot process in these cases and simply lets systemd do its
magic.
[0] https://github.com/systemd/systemd/blob/v229/src/gpt-auto-generator
[1] https://www.freedesktop.org/wiki/Specifications/DiscoverablePartitionsSpec/
[2] https://github.com/systemd/systemd/blob/v229/src/gpt-auto-generator/gpt-auto-generator.c#L928
9 years ago
Harald Hoyer
db7d739818
systemd/dracut-cmdline.sh: print out cmdline in one line
...
(cherry picked from commit 93a5a3d3ca
)
9 years ago
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
Harald Hoyer
967cc19ab1
remove all vim and emacs code format comments
11 years ago
Harald Hoyer
f232f6623d
Add "rd.cmdline=ask" kernel command line parameter
...
prompts the user for additional kernel command line parameters
11 years ago
Harald Hoyer
fbc4620f05
print out, what kernel command line parameters are used
11 years ago
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
11 years ago
Harald Hoyer
ac5bff2b6f
dracut-lib/wait_for_dev(): prevent systemd daemon-reload
...
prevent a systemd daemon-reload, if it is not necessary to do.
11 years ago
Harald Hoyer
56903458d7
mkdir basic dirs in /run
...
for systemd initramfs, /run is also mounted
for non-systemd the contents of /run is copied over, when mounting /run
12 years ago
Harald Hoyer
1e057b352a
add PARTLABEL and PARTUUID
12 years ago
Harald Hoyer
780cb33741
systemd: set environment vars DRACUT_SYSTEMD, NEWROOT in service file
12 years ago
Harald Hoyer
cbd69dc6ff
install dracut-*.service units
12 years ago
Harald Hoyer
dbfaae0e34
systemd: changes for new initrd services
...
Requires systemd >= 198
12 years ago
Harald Hoyer
04b873598b
systemd: set udev debug/info via config file and report obsolete options
12 years ago
Harald Hoyer
54665349ec
systemd/dracut-cmdline.sh: create /run/log subdir
12 years ago
Dave Young
7bd8f23303
Add memory usage trace to diffrent hook points
...
Hi, Here is an update of this patch, fixed the local variable issue.
12 years ago
Harald Hoyer
aefea76cf8
set DRACUT_SYSTEMD for systemd mode in the initramfs
13 years ago
Harald Hoyer
93d7b823b4
systemd/dracut-cmdline.sh: output dracut version
13 years ago
Harald Hoyer
68e7661ca7
deprecate old command line options
13 years ago
Harald Hoyer
f1e9f613d9
systemd: exit with sane state
13 years ago
Harald Hoyer
f6eb1f1d1f
systemd: do not redirect to /dev/console
13 years ago
Harald Hoyer
2c431e8ec4
add systemd module
13 years ago