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
2012-08-01 09:24:12 +02:00
Harald Hoyer
5545fc3046
base/dracut-lib.sh:ismounted() check for block device rather than pathname
2012-07-31 14:44:50 +02:00
Harald Hoyer
a638056838
base/dracut-lib.sh: fixed ismounted() for "/dev"
2012-07-31 14:43:05 +02:00
Harald Hoyer
1f524c4544
Prevent testsuite runs from non-root users.
2012-07-31 13:49:04 +02:00
Harald Hoyer
47b8f66ced
rootfs-block/mount-root.sh: corrected check for journaldev
2012-07-31 13:28:45 +02:00
Harald Hoyer
52da8a514a
dracut.cmdline.7.asc: corrected rd.retry section
2012-07-31 13:28:07 +02:00
Harald Hoyer
5cd7c104bd
document rd.retry and change the default value to 30s
...
Also start the timeout scripts after 2/3 of the time.
2012-07-31 12:37:35 +02:00
Amadeusz Żołnowski
173edca09e
dracut.cmdline.7: add NOTE about how dracut pipes key to cryptsetup
2012-07-31 12:28:55 +02:00
Harald Hoyer
506b219237
dracut.sh: create relative symlinks for /var/lock and /var/run
2012-07-31 11:48:03 +02:00
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
2012-07-31 11:44:40 +02:00
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.
2012-07-31 11:36:17 +02:00
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.
2012-07-31 10:55:17 +02:00
Harald Hoyer
3d3c192621
crypt/crypt-run-generator.sh: check if crypttab exists
2012-07-30 22:29:47 +02:00
Harald Hoyer
92b3ee855f
removed finished-ask-password.sh
2012-07-30 22:29:42 +02:00
Harald Hoyer
650ab3b077
TEST-10-RAID/test.sh: comment debug options
2012-07-30 21:07:14 +02:00
Harald Hoyer
474cca1e9d
TODO: update
2012-07-30 21:07:03 +02:00
Harald Hoyer
c0cae7f702
dmraid,mdraid,lvm,udev: don't process DM_MULTIPATH_DEVICE_PATH devs
2012-07-30 20:41:16 +02:00
Harald Hoyer
3f7e5358e5
crypt/crypt-run-generator.sh: do not add already existing luks
2012-07-30 20:41:16 +02:00
Harald Hoyer
3d352f5228
crypt: add systemd crypt support
2012-07-30 17:08:52 +02:00
Harald Hoyer
540eca9d9d
plymouth/plymouth-pretrigger.sh: don't "exit 0" for a sourced script
2012-07-30 17:08:52 +02:00
Harald Hoyer
19cd47fd26
plymouth/plymouth-newroot.sh: don't "exit 0" for sourced scripts
2012-07-30 17:08:52 +02:00
Harald Hoyer
cf62cc435f
virtfs/mount-virtfs.sh: don't exit != 0
2012-07-30 17:08:52 +02:00
Harald Hoyer
8b6bdafc39
systemd/module-setup.sh: install systemd udev rules
2012-07-30 17:08:52 +02:00
Harald Hoyer
27790828d1
base/dracut-lib.sh: fixed ismounted(<mountpoint>)
2012-07-30 17:08:52 +02:00
Harald Hoyer
d782ffb822
i18n/parse-i18n.sh: remove udev rules
2012-07-30 17:08:52 +02:00
Harald Hoyer
5a84ac3fe3
dracut-functions.sh: inst_hook() with [0-9]-<name>
2012-07-30 17:08:51 +02:00
Harald Hoyer
343b7d7488
kernel-modules/module-setup.sh: add missing "fi"
2012-07-30 17:08:51 +02:00
Harald Hoyer
aefea76cf8
set DRACUT_SYSTEMD for systemd mode in the initramfs
2012-07-30 17:08:51 +02:00
Harald Hoyer
4976edb1a6
dracut.spec: add Requires: kbd kbd-misc
2012-07-30 13:58:58 +02:00
Harald Hoyer
171ba532bc
plymouth/plymouth-newroot.sh: fixed pre-pivot hook
2012-07-30 13:39:37 +02:00
Harald Hoyer
bfd2e8c25f
dracut.sh: test if we can lazy resolve with ldd
2012-07-30 13:02:41 +02:00
Chao Wang
b2d225a669
dracut-functions: $_x should exist, no need to test.
...
Signed-off-by: Chao Wang <chaowang@redhat.com>
2012-07-30 12:23:32 +02:00
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".
2012-07-30 12:23:32 +02:00
Will Woods
7e2285a48a
add comment for getargbool()
...
I always forget how getargbool works. Add a comment documenting it.
2012-07-30 12:23:32 +02:00
Harald Hoyer
3e964eeb96
dracut.sh: put $drivers and $filesystems back in export
2012-07-27 16:06:36 +02:00
Harald Hoyer
aec9f902f0
kernel-modules/module-setup.sh: move "$drivers" "$filesystems" and "$add_drivers" to dracut.sh
2012-07-27 16:03:42 +02:00
Harald Hoyer
764eb40cc9
TODO: update
2012-07-27 16:03:25 +02:00
Harald Hoyer
95a5b23a38
i18n,terminfo/module-setup.sh: fixed "cp -t" calls
2012-07-27 15:34:54 +02:00
Harald Hoyer
5d833a9f5b
add "af_packet" kernel module to network testsuite tests
2012-07-27 15:11:01 +02:00
Harald Hoyer
3e51b2f6fc
fixed i18n and plymouth for systemd
2012-07-27 14:15:48 +02:00
Harald Hoyer
852105dc44
i18n/console_init.sh: skip, if we use systemd and use systemd-vconsole-init
2012-07-27 14:11:22 +02:00
Harald Hoyer
a7473ef379
cifs/parse-cifsroot.sh: fixed more root/netroot parsing
2012-07-27 12:40:55 +02:00
Harald Hoyer
f7f3792390
iscsi/iscsiroot.sh: force link initiatorname
2012-07-27 12:18:08 +02:00
Harald Hoyer
2d674a9336
README.testsuite: add instructions on how to run the testsuite
2012-07-27 12:14:04 +02:00
Harald Hoyer
24a38bc1cb
fixed install locations for udev rules and change to IMPORT{builtin}
2012-07-27 11:55:31 +02:00
Harald Hoyer
82b1739dce
cifs/parse-cifsroot.sh: do not unset netroot, we need it
2012-07-27 11:54:24 +02:00
Amadeusz Żołnowski
fc6b272f41
gitignore install/dracut-install
2012-07-27 09:55:06 +02:00
Amadeusz Żołnowski
c9baff669d
Makefile: add dependencies for dracut-install (generated with gcc -MM)
2012-07-27 09:54:49 +02:00
Harald Hoyer
72ee74b9be
dracut.spec: add cifs module
2012-07-27 06:26:26 +02:00
Harald Hoyer
cc21808764
dracut-functions.sh:inst_rule_programs() fix error messages
2012-07-26 19:35:12 +02:00