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
Harald Hoyer
a011d66860
install all network modules
2009-05-12 15:47:01 +02:00
Harald Hoyer
7ea690569c
no additional modules specified for test/dracut.conf.test
2009-05-12 15:46:20 +02:00
Harald Hoyer
e4d48c451a
install more binaries and directories in the test root
2009-05-12 15:35:57 +02:00
Harald Hoyer
2647059b7c
boot with network
2009-05-12 15:35:22 +02:00
Harald Hoyer
c15d160d09
Merge branch 'test' into merge
2009-03-24 11:44:50 +01:00
Harald Hoyer
f083930112
ignore generated test images
...
test/initramfs.testing
test/root.ext2
2009-03-24 11:37:56 +01:00
Harald Hoyer
c9a9cf7363
add module for rootfs mounting via udev rules
2009-03-24 11:36:56 +01:00
Harald Hoyer
fea5683693
sleep 0.5 seconds instead of 1
2009-03-24 11:35:52 +01:00
Harald Hoyer
c7e0d91c80
add udevdebug and udevinfo command line arguments
2009-03-24 11:34:45 +01:00
Harald Hoyer
4479cb2b45
move root command line argument parsing to modules
2009-03-24 11:33:58 +01:00
Harald Hoyer
2003e18962
rename "debug" to "ramfsdebug" to differ from the kernel "debug" argument
2009-03-24 11:32:54 +01:00
Harald Hoyer
f5f52afdca
fixed the root kernel command argument
2009-03-24 11:31:07 +01:00
Harald Hoyer
93fea990ec
fixed the creation of the root filesystem
2009-03-24 11:30:30 +01:00
Harald Hoyer
309ed9668b
add udev mount rule module to the test image
2009-03-24 11:29:53 +01:00
Harald Hoyer
ef08521555
only create the /bin/sh symlink to bash, if it does not exist yet
2009-03-24 11:29:03 +01:00
Harald Hoyer
9d5fc7b46e
add filesystem modules to the initrd
2009-03-24 11:28:25 +01:00
Harald Hoyer
48677b2a8f
only install the dash symlink to /bin/sh, if dash is installed
2009-03-24 11:27:35 +01:00
Harald Hoyer
47f151f762
Merge branch 'enhanced-test-framework' of git://fnordovax.org/dracut into test
...
Conflicts:
modules.d/50plymouth/63-luks.rules
modules.d/50plymouth/cryptroot.sh
modules.d/50plymouth/install
modules.d/90crypt/63-luks.rules
modules.d/90crypt/cryptroot.sh
modules.d/90crypt/install
2009-03-23 15:28:14 +01:00
Victor Lowther
37dcb40001
do not use grep to test if sysroot is mounted
2009-03-23 15:06:45 +01:00
Victor Lowther
7bc0e5714b
module 90kernel-modules-loaded
...
On Mon, 2009-03-09 at 16:00 +0100, Harald Hoyer wrote:
> Victor Lowther wrote:
> > How does it handle nfsroot?
>
> not yet.. thus the old hooks are still called. :-/
Hmmm... your udev based resume and root mounting do not work at all for
me. If I do not install the shell-based mount hooks, the root
filesystem never gets mounted -- I have to mount it manually.
Also,
2009-03-23 15:06:02 +01:00
Victor Lowther
6ce3123192
Updated test-init to only create fstab symlink as needed.
2009-03-20 03:51:05 -05:00
Victor Lowther
0abfff0ddf
Don't regenerate the test image when anything changes
...
Only regenerate it if we changed test-init or make-test-root
2009-03-20 03:40:02 -05:00