Frederic Crozat
b9775297cd
add package name for openSUSE
13 years ago
Harald Hoyer
4a6b33f1ee
plymouth/plymouth-pretrigger.sh: s/! -n/-z/
13 years ago
Harald Hoyer
7dd7ff0f33
base/dracut-lib.sh: make use of DRACUT_SYSTEMD
13 years ago
Dave Young
126732bcc1
split emergency_shell function
...
Kdump dracut hooks need to enter emergency shell, currently it directly call
"sh -i -l", with recent dracut this does not work anymore without proper ctty.
It will be convinient to seperate a standalone function _emergency_shell for
dracut modules to call.
13 years ago
Harald Hoyer
23d6dcd125
test: s/ib700wdt/i6300esbwdt/g
13 years ago
Harald Hoyer
9fd9e96130
test/Makefile: fixed TESTS parsing
13 years ago
Harald Hoyer
f0a7fc5b43
watchdog: set watchdog timeout with wdctl, if available
...
"wdctl -s" does not yet exist upstream. I patched
util-linux/sys-utils/wdctl.c to set the timeout.
13 years ago
Chao Wang
d82e0d7dd8
Revert "dracut-functions: $_x should exist, no need to test."
...
This reverts commit b2d225a669
.
When there's no /sys/dev/block/$2/slaves/*/dev/ exists, $_x will
be assigned with '/sys/dev/block/$2/slaves/*/dev/', this is invalid.
That commit will lead to some warn msg like:
cat: /sys/dev/block/8:16/slaves/*/dev: No such file or directory
cat: /sys/dev/block/8:32/slaves/*/dev: No such file or directory
13 years ago
Harald Hoyer
5545fc3046
base/dracut-lib.sh:ismounted() check for block device rather than pathname
13 years ago
Harald Hoyer
a638056838
base/dracut-lib.sh: fixed ismounted() for "/dev"
13 years ago
Harald Hoyer
1f524c4544
Prevent testsuite runs from non-root users.
13 years ago
Harald Hoyer
47b8f66ced
rootfs-block/mount-root.sh: corrected check for journaldev
13 years ago
Harald Hoyer
52da8a514a
dracut.cmdline.7.asc: corrected rd.retry section
13 years ago
Harald Hoyer
5cd7c104bd
document rd.retry and change the default value to 30s
...
Also start the timeout scripts after 2/3 of the time.
13 years ago
Amadeusz Żołnowski
173edca09e
dracut.cmdline.7: add NOTE about how dracut pipes key to cryptsetup
13 years ago
Harald Hoyer
506b219237
dracut.sh: create relative symlinks for /var/lock and /var/run
13 years ago
Harald Hoyer
6c83d7d5bf
dracut.sh: do not copy /var/run and /var/lock from the system
...
https://bugs.gentoo.org/show_bug.cgi?id=428142
If /var/run and /var/lock are real directories, we would end up with:
var/lock/lock -> /run/lock
var/run/run -> /run
13 years ago
Stefan Reimer
a059f72b09
i18n/module-setup.sh: fixed include parsing
...
Due to bug in module-setup.sh in the i18n module includes from the main
keymap are not working and not added to the initrd image.
Only one quotation per line is removed. Needs to remove all.
13 years ago
Amadeusz Żołnowski
afcebd136f
99shutdown: remove --no-wall argument for reboot, halt, etc...
...
In some distros (Gentoo, for example) these commands don't honor
--no-wall argument.
13 years ago
Harald Hoyer
3d3c192621
crypt/crypt-run-generator.sh: check if crypttab exists
13 years ago
Harald Hoyer
92b3ee855f
removed finished-ask-password.sh
13 years ago
Harald Hoyer
650ab3b077
TEST-10-RAID/test.sh: comment debug options
13 years ago
Harald Hoyer
474cca1e9d
TODO: update
13 years ago
Harald Hoyer
c0cae7f702
dmraid,mdraid,lvm,udev: don't process DM_MULTIPATH_DEVICE_PATH devs
13 years ago
Harald Hoyer
3f7e5358e5
crypt/crypt-run-generator.sh: do not add already existing luks
13 years ago
Harald Hoyer
3d352f5228
crypt: add systemd crypt support
13 years ago
Harald Hoyer
540eca9d9d
plymouth/plymouth-pretrigger.sh: don't "exit 0" for a sourced script
13 years ago
Harald Hoyer
19cd47fd26
plymouth/plymouth-newroot.sh: don't "exit 0" for sourced scripts
13 years ago
Harald Hoyer
cf62cc435f
virtfs/mount-virtfs.sh: don't exit != 0
13 years ago
Harald Hoyer
8b6bdafc39
systemd/module-setup.sh: install systemd udev rules
13 years ago
Harald Hoyer
27790828d1
base/dracut-lib.sh: fixed ismounted(<mountpoint>)
13 years ago
Harald Hoyer
d782ffb822
i18n/parse-i18n.sh: remove udev rules
13 years ago
Harald Hoyer
5a84ac3fe3
dracut-functions.sh: inst_hook() with [0-9]-<name>
13 years ago
Harald Hoyer
343b7d7488
kernel-modules/module-setup.sh: add missing "fi"
13 years ago
Harald Hoyer
aefea76cf8
set DRACUT_SYSTEMD for systemd mode in the initramfs
13 years ago
Harald Hoyer
4976edb1a6
dracut.spec: add Requires: kbd kbd-misc
13 years ago
Harald Hoyer
171ba532bc
plymouth/plymouth-newroot.sh: fixed pre-pivot hook
13 years ago
Harald Hoyer
bfd2e8c25f
dracut.sh: test if we can lazy resolve with ldd
13 years ago
Chao Wang
b2d225a669
dracut-functions: $_x should exist, no need to test.
...
Signed-off-by: Chao Wang <chaowang@redhat.com>
13 years ago
Will Woods
a5f01bbfb5
dracut-lib: add find_mount, use it to implement ismounted
...
find_mount is really the same thing as ismounted with two additions:
1) uses "readlink" so "ismounted /dev/disk/by-label/LABEL" works
2) returns the mountpoint of the device
And ismounted is now just "find_mount $dev >/dev/null".
13 years ago
Will Woods
7e2285a48a
add comment for getargbool()
...
I always forget how getargbool works. Add a comment documenting it.
13 years ago
Harald Hoyer
3e964eeb96
dracut.sh: put $drivers and $filesystems back in export
13 years ago
Harald Hoyer
aec9f902f0
kernel-modules/module-setup.sh: move "$drivers" "$filesystems" and "$add_drivers" to dracut.sh
13 years ago
Harald Hoyer
764eb40cc9
TODO: update
13 years ago
Harald Hoyer
95a5b23a38
i18n,terminfo/module-setup.sh: fixed "cp -t" calls
13 years ago
Harald Hoyer
5d833a9f5b
add "af_packet" kernel module to network testsuite tests
13 years ago
Harald Hoyer
3e51b2f6fc
fixed i18n and plymouth for systemd
13 years ago
Harald Hoyer
852105dc44
i18n/console_init.sh: skip, if we use systemd and use systemd-vconsole-init
13 years ago
Harald Hoyer
a7473ef379
cifs/parse-cifsroot.sh: fixed more root/netroot parsing
13 years ago
Harald Hoyer
f7f3792390
iscsi/iscsiroot.sh: force link initiatorname
13 years ago