Commit Graph

324 Commits (69f8af0267df376ed2d7fa86add7acbcc4edbf3c)

Author SHA1 Message Date
Harald Hoyer 69f8af0267 plymouth hide-splash on emergency shell 2009-05-20 14:25:35 +02:00
Harald Hoyer a4aee9e573 add emergency hook 2009-05-20 14:25:35 +02:00
Harald Hoyer ea62f0eb2a fixed NFS mounting 2009-05-20 14:25:31 +02:00
Harald Hoyer 3274a8f98e add "-o, --omit" to omit dracut modules 2009-05-20 14:02:44 +02:00
Harald Hoyer 9c6f43f0e7 set "-t auto" as default if fstype is emtpy 2009-05-20 14:01:03 +02:00
Harald Hoyer 6d090d6427 silence the "check"'s 2009-05-20 14:00:28 +02:00
Harald Hoyer 6cfef0c638 check for plymouth-set-default-theme not plymouth-set-default-plugin 2009-05-20 12:33:11 +02:00
Andreas Thienemann 84ffb877fd dinfo print only when verbose defined 2009-05-20 12:30:22 +02:00
Harald Hoyer 155c171d88 recreate /dev/null after /dev mounting 2009-05-20 11:59:34 +02:00
Harald Hoyer 9e30573629 fix node check for plymouth-start.sh 2009-05-20 11:42:41 +02:00
Harald Hoyer 1babfad10a fix node check for plymouth-start.sh 2009-05-20 11:32:55 +02:00
Harald Hoyer 42baa902f2 add plymouth module for plymouth < 0.7 2009-05-20 11:14:56 +02:00
Andreas Thienemann 7a02208af4 Prevent plymouth-start.sh from creating already existing device nodes.
Prevent messages such as the following when booting dracut:

++ mknod /dev/null c 1 3
mknod: `/dev/null': File exists

The plymouth-start.sh script tries to create device nodes it needs, but which
have already been created by the /init script.

This patch makes the mknod calls conditional.

diffstat dracut-plymouth-prevent-mknod-errormsg.patch
 plymouth-start.sh |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
2009-05-20 11:13:37 +02:00
Andreas Thienemann 0053156804 Fix "--debug" parameter for dracut
remove "-d" as a short-alias for --debug. It collides with the
--driver short-alias.

If --debug is set, inst_script() spews binary "garbage" to the screen
which are interpreted as control characters by the terminal, prompting
the user to call "reset" after dracut has finished. This is related to
set -x  printing binary headers from files to stdout.
As inst_script() is only checking if it is a script it should copy by
reading the first 80chars of the file and checking for the shebang line,
it is safe to call tr on the read in data and remove all unprintable
chars if the debug switch is set.
2009-05-20 09:03:01 +02:00
Andreas Thienemann 5616feb004 add usage() to dracut 2009-05-19 16:47:03 +02:00
Andreas Thienemann adbc8a42b6 output error message, if dracut-functions not found 2009-05-19 16:46:33 +02:00
Peter Jones 9b4191d065 Add ideas for how to possibly avoid daemon restarts. 2009-05-18 21:00:13 +02:00
Harald Hoyer 24987e12a9 remove "set -x" from nfs-mount-root.sh 2009-05-18 20:44:00 +02:00
Harald Hoyer d4244cb25b support normal nfs root definition syntax 2009-05-18 19:55:58 +02:00
Harald Hoyer 280117d934 add nfs testcase 2009-05-18 19:32:22 +02:00
Harald Hoyer 2f1408b3ce only create udev rules for root=/dev/... 2009-05-18 19:32:01 +02:00
Harald Hoyer a86c07a0b4 basic support for "nfs://" dhcp root_path 2009-05-18 19:31:08 +02:00
Harald Hoyer a8084e23dd reenable manual block mount for e.g. lvm devices 2009-05-18 18:18:21 +02:00
Harald Hoyer 6c00df2068 removed debug code 2009-05-18 16:38:32 +02:00
Harald Hoyer cc5864aa4a better use bash for initramfs debugging 2009-05-18 16:09:16 +02:00
Harald Hoyer c02c339bb5 fixed dhclient dhcp options saving 2009-05-18 16:08:58 +02:00
Harald Hoyer 02948d0905 add minimal dnsmasq dhcp/dns server 2009-05-18 15:33:37 +02:00
Harald Hoyer 2e0eaafa9b use multicast net for qemu 2009-05-18 15:32:09 +02:00
Harald Hoyer b80a6fda40 fixed wildcard test of run-dhclient.sh 2009-05-18 15:31:07 +02:00
Harald Hoyer 32f32c14b6 fixed 40network module 2009-05-18 15:22:33 +02:00
Harald Hoyer f360cabf1f add "rm" to debug module 2009-05-18 15:22:03 +02:00
Harald Hoyer 6b852fde4b add dhclient to test root image 2009-05-18 14:09:21 +02:00
Harald Hoyer 17edb6aa4e mkdir /var/run for dhclient 2009-05-18 14:08:02 +02:00
Harald Hoyer b300c0354a kill dhclient if pid was found 2009-05-18 14:07:34 +02:00
Harald Hoyer c395f1de24 add debug to test image 2009-05-18 14:06:47 +02:00
Harald Hoyer c3c06c2da8 merge 95rootfs-block-udev and 95rootfs-block 2009-05-18 14:05:36 +02:00
Harald Hoyer afc3ed92cc setsid() and set controlling terminal for real /sbin/init
enables job control in the test images
2009-05-18 14:01:49 +02:00
Harald Hoyer 4b3c5cf17c merge 95rootfs-block-udev and 95rootfs-block 2009-05-15 15:42:28 +02:00
Harald Hoyer c354b54e55 removed kernel variable from test/test-initramfs 2009-05-15 14:09:55 +02:00
Harald Hoyer 9e551c9097 cleanup make-test-root 2009-05-15 13:24:08 +02:00
Harald Hoyer e2367e1948 add APPEND and DRACUTOPTS to make target "test"
call test with additional dracut options and kernel command line
parameter:

$ make APPEND="udevinfo quiet" DRACUTOPTS="-verbose" test
2009-05-15 13:16:15 +02:00
Harald Hoyer 9b1581051f fall back to filesystem type "auto" 2009-05-15 13:15:11 +02:00
Harald Hoyer e419faf652 dash echo does not support -e option
use /bin/echo, instead of dash builtin echo
do not use "sh -c"
2009-05-15 12:52:54 +02:00
Harald Hoyer b6e0fea80c change file descriptor for flock locking
dash does not like filedescriptors > 9
2009-05-15 12:48:11 +02:00
Harald Hoyer c4ad7ffff4 add debug and changed verbose parameter
previous -verbose is now -debug (set -x)
-verbose adds some information about the resulting initrd size
2009-05-15 12:45:58 +02:00
Harald Hoyer 6fac46910c add derror(), dinfo() and dwarning() 2009-05-15 12:45:21 +02:00
Harald Hoyer 5cb6c761c1 add target "check"
add dash syntax checking
2009-05-15 12:44:36 +02:00
Harald Hoyer 41fab50b5f fixed plymouth installation for plymouth-0.7.0-0.2009.05.08.1.fc11 2009-05-15 12:43:46 +02:00
Harald Hoyer e7b6ed1379 do not run dhclient, if no net device found 2009-05-15 12:43:03 +02:00
Harald Hoyer f24e31c26f updated README and TODO 2009-05-12 15:48:03 +02:00