Warren Togami
f910f00627
Remove the NBD legacy format. It wasn't actually matching Debian's nbdroot implementation.
...
Talked with Debian nbdroot author and he agreed we shouldn't support their obsolete syntax in dracut.
Their root=/dev/nbd[0-9] is no longer needed. Also their syntax was very standardized requiring
a separate boot= parameter.
2009-07-01 15:41:26 -04:00
Harald Hoyer
22a27a5023
version 0.2
2009-07-01 21:32:33 +02:00
Harald Hoyer
14f450cab2
unset netroot before we return (it was set to $root without checkin)
2009-07-01 21:32:33 +02:00
Harald Hoyer
ada0bc3e5f
use different multicast ports for the different testsuites
2009-07-01 21:32:33 +02:00
Harald Hoyer
6fb586f3ef
omit the plymouth module in the testsuite
2009-07-01 19:28:51 +02:00
Harald Hoyer
5831685cdb
use _all_ modules to run the test, in case another module fails
...
also run the tests with 256MB virtual machines
2009-07-01 19:28:51 +02:00
Harald Hoyer
950086e987
do not assume nfs for root=/dev/... but for /dev/nfs
2009-07-01 19:28:31 +02:00
Harald Hoyer
440d35d3c0
man page update
2009-07-01 16:55:50 +02:00
Harald Hoyer
0aaa523c82
specfile cleanup
...
removed mkinitrd replacement
2009-07-01 16:23:23 +02:00
Harald Hoyer
3473f5d938
prepare init to mount devtmpfs instead of tmpfs on /dev
2009-07-01 10:53:02 +02:00
Harald Hoyer
e7170fb717
let dmraid remove the used partitions
2009-07-01 10:53:02 +02:00
Warren Togami
9d4c1799fe
Fix legacy root=/dev/nfs nfsroot=IP:path case
...
TODO: root=/dev/nfs DHCP cases are still broken.
2009-06-30 18:22:44 -04:00
Warren Togami
6da2ee08a6
NFS empty path becomes "/tftpboot/%s" only if root=/dev/nfs legacy mode
2009-06-30 18:03:16 -04:00
Warren Togami
297cb80bab
Cleanup parse-nfsroot and NFS tests.
...
TODO: root=/dev/nfs is still broken.
2009-06-30 17:48:56 -04:00
Warren Togami
798d950651
Add test for Legacy root=IP:path NFSv3 syntax
2009-06-30 16:38:57 -04:00
Warren Togami
92798bf79b
netroot= variant is not supported for NFS, you must use root=
...
TODO: This temporarily breaks Legacy root=/dev/nfs.
2009-06-30 16:27:45 -04:00
Warren Togami
696e68c643
Really fix --drivers
2009-06-30 15:35:18 -04:00
Warren Togami
d8b3d672c3
Fix case where --drivers was specified.
2009-06-30 15:17:08 -04:00
Warren Togami
8af0a48521
Detect block drivers during dracut since we cannot rely on the modules.block list.
2009-06-30 14:36:57 -04:00
Seewer Philippe
2d21db6def
Bugfix: Fix BOOTIF argument translation
2009-06-25 23:28:38 -04:00
Warren Togami
3847431d3d
Clarify some NFS parsing and point out things that need to be fixed.
2009-06-24 00:34:24 -04:00
Warren Togami
fb3d8cf7c2
Remove legacy nfsroot.txt derived shortcuts and accompanying tests.
...
(further cleanup is needed)
2009-06-23 17:08:39 -04:00
Harald Hoyer
d0d1ea3d87
prompt the crypto disk, when asking for a password
...
also check, if root is already mounted and flock against
console activities.
2009-06-23 07:49:23 +02:00
Harald Hoyer
0286b3b411
add Requires of mkinitrd to dracut rpm
2009-06-23 07:49:23 +02:00
Warren Togami
5655a3ffbf
Remove dracut invented variations of Legacy nfsroot.txt syntax and accompanying tests.
...
- Remove root=nfs nfsroot=...
- Remove root=nfs4 nfsroot=...
- Remove root=/dev/nfs4 nfsroot=...
- Legacy nfsroot= without root=/dev/nfs should be unsupported according to the nfsroot.txt.
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/filesystems/nfsroot.txt
45 root=/dev/nfs
46
47 This is necessary to enable the pseudo-NFS-device. Note that it's not a
48 real device but just a synonym to tell the kernel to use NFS instead of
49 a real device.
2009-06-22 16:40:09 -04:00
Harald Hoyer
9794cf831b
mv Authors AUTHORS, add AUTHORS to specfile
2009-06-19 14:40:09 +02:00
Harald Hoyer
f1bbaa64b5
add target for "dist" and "gitrpm"
...
"make gitrpm" creates an rpm from the last git checkin
"make rpm" creates an rpm for the version tagged with $VERSION
"make dist" creates a tarball for the version tagged with $VERSION
2009-06-19 13:59:11 +02:00
Harald Hoyer
78cd762937
specfile changes
2009-06-19 13:59:11 +02:00
Harald Hoyer
e48e0ae318
add README.generic
2009-06-19 13:59:06 +02:00
Harald Hoyer
73198d53f3
/usr/lib/dracut -> /usr/share/dracut
2009-06-19 13:57:13 +02:00
Harald Hoyer
b006ff9930
removed shebang from .sh and changed mode to 0644
2009-06-19 13:00:09 +02:00
Harald Hoyer
b8f39ef152
renamed dracut-lib to dracut-lib.sh
2009-06-19 13:00:09 +02:00
Harald Hoyer
686aeaa2af
dracut.spec without switch_root
2009-06-19 13:00:08 +02:00
Harald Hoyer
d49449cd4e
updated switch_root.c
...
matches the version, which will go to util-linux-ng
2009-06-19 13:00:08 +02:00
Harald Hoyer
30f9bb2cb1
add rdblacklist command line parameter
2009-06-19 13:00:08 +02:00
Harald Hoyer
bafb0886e8
manpage iSCSI update
2009-06-19 13:00:00 +02:00
Harald Hoyer
064b6ea92d
make iSCSI boot with root=dhcp and mount partitions labeled with "ROOT"
...
or "/"
2009-06-19 13:00:00 +02:00
Harald Hoyer
d19ed691e8
install rules to ignore some devices
2009-06-19 12:55:36 +02:00
Harald Hoyer
afd826bd6c
prepare udev rules for udev >= 143
2009-06-19 09:29:16 +02:00
Harald Hoyer
33655fc539
do not poweroff in TEST-10-RAID if rdinitdebug is set
2009-06-19 09:29:16 +02:00
Harald Hoyer
a2dc3a075e
do not poweroff in TEST-30-ISCSI, if rdinitdebug is set
2009-06-19 09:29:16 +02:00
Harald Hoyer
e58de60f3c
uncomment hard-off for TEST-30-ISCSI
2009-06-19 09:29:16 +02:00
Harald Hoyer
1cd0c90eab
moved test-init to TEST-10-RAID
2009-06-19 09:29:15 +02:00
Victor Lowther
d0e2110a9c
Make /dev/shm in the initramfs.
...
Pretty much everyone uses it, and things break of userspace
does not make it because of a case of mistaken identities.
/sbin/start_udev on FC11, I am looking at you.
2009-06-18 23:13:04 -05:00
Seewer Philippe
02a187e161
removed exit on fail "sh -e" for dhclient-script
...
The Bug causing dhclient to recall BIND has been identified:
dhclient-script runs with #!/bin/sh -e, causing setup_interface
to fail if no hostname is provided by dhcp as it is the last statement
in that function.
2009-06-18 15:35:00 +02:00
Harald Hoyer
c9111106f5
remove redundant vol_id run from out udev rules
...
moved mdadm rules before luks rules
add nbd vol_id rules
2009-06-18 15:15:28 +02:00
Harald Hoyer
65bedc8320
add DEBUGFAIL to TEST-10-RAID
2009-06-18 15:06:32 +02:00
Harald Hoyer
eeb721037b
add iSCSI testsuite
2009-06-18 15:06:32 +02:00
Harald Hoyer
3af5866a26
use 128M for the test virtual machines instead of 512M
2009-06-18 15:06:31 +02:00
Harald Hoyer
9ca74ffef3
kill the server after the test_run
2009-06-18 15:06:26 +02:00