platform/upstream/dracut.git
15 years agoplymouth: removed console_init call
Harald Hoyer [Fri, 17 Jul 2009 08:17:28 +0000 (10:17 +0200)]
plymouth: removed console_init call

/lib/udev/console_init should be called from the udev rules already

15 years agodmraid.sh: activate all dmraids, if no rd_DM_UUID is specified
Harald Hoyer [Fri, 17 Jul 2009 08:16:46 +0000 (10:16 +0200)]
dmraid.sh: activate all dmraids, if no rd_DM_UUID is specified

15 years agodmraid.rules: cleanup
Harald Hoyer [Fri, 17 Jul 2009 08:16:16 +0000 (10:16 +0200)]
dmraid.rules: cleanup

15 years agolvm_scan: do not overwrite a preexisting /etc/lvm/lvm.conf
Harald Hoyer [Fri, 17 Jul 2009 08:13:33 +0000 (10:13 +0200)]
lvm_scan: do not overwrite a preexisting /etc/lvm/lvm.conf

15 years agodracut-lib: fixed quiet argument parsing
Harald Hoyer [Fri, 17 Jul 2009 08:13:01 +0000 (10:13 +0200)]
dracut-lib: fixed quiet argument parsing

15 years agodracut-lib: output warn() and die() to stderr
Harald Hoyer [Fri, 17 Jul 2009 08:11:57 +0000 (10:11 +0200)]
dracut-lib: output warn() and die() to stderr

15 years agoBridged network boot
Warren Togami [Thu, 16 Jul 2009 20:58:19 +0000 (16:58 -0400)]
Bridged network boot

* SYNTAX
bridge=<bridgename>:<ethname>
If bridge without parameters, assume bridge=br0:eth0
* When <ethname> would be configured by network scripts, instead create a bridge named <bridgename> then add <ethname> to that bridge.
* Then $netif becomes <bridgename> instead of <ethname> and all existing scripts process netroot mount via this new $netif instead of <ethname>.
* Include a few test cases in NFS and NBD

15 years agoRemove 63-luks.rules, it is no longer used
Warren Togami [Thu, 16 Jul 2009 13:34:07 +0000 (09:34 -0400)]
Remove 63-luks.rules, it is no longer used

15 years agoMore informative failure messages or rdbreak.
Warren Togami [Thu, 16 Jul 2009 01:10:16 +0000 (21:10 -0400)]
More informative failure messages or rdbreak.

15 years agoStandardize boot failed language.
Warren Togami [Wed, 15 Jul 2009 20:42:34 +0000 (16:42 -0400)]
Standardize boot failed language.

15 years agodracut-lib: if "quiet" is specified, do not print info() to console
Harald Hoyer [Wed, 15 Jul 2009 16:40:56 +0000 (18:40 +0200)]
dracut-lib: if "quiet" is specified, do not print info() to console

15 years agoinstall all /lib/kbd to initramfs, if not host only
Harald Hoyer [Wed, 15 Jul 2009 07:09:26 +0000 (09:09 +0200)]
install all /lib/kbd to initramfs, if not host only

KEYBOARDTYPE=sun|pc
   will be written to /etc/sysconfig/keyboard in the initramfs

KEYTABLE=<keytable file>
   will be written to /etc/sysconfig/keyboard in the initramfs

SYSFONT= Console font
   will be written to /etc/sysconfig/i18n in the initramfs

SYSFONTACM= Console map.
   will be written to /etc/sysconfig/i18n in the initramfs

UNIMAP= Unicode font map.
   will be written to /etc/sysconfig/i18n in the initramfs

LANG=<locale>
   will be written to /etc/sysconfig/i18n in the initramfs
   LANG= set locale for all categories, can be any two letter ISO
   language code

15 years agoMakefile: add debug module to the testimage target
Harald Hoyer [Wed, 15 Jul 2009 16:24:53 +0000 (18:24 +0200)]
Makefile: add debug module to the testimage target

15 years agoextend TEST-12-RAID-DEG to check for UUID command line parameters
Harald Hoyer [Wed, 15 Jul 2009 16:23:17 +0000 (18:23 +0200)]
extend TEST-12-RAID-DEG to check for UUID command line parameters

15 years agoadd command line parameters to specify exact actions for root assembly
Harald Hoyer [Wed, 15 Jul 2009 16:21:10 +0000 (18:21 +0200)]
add command line parameters to specify exact actions for root assembly

LVM
       rd_NO_LVM
              disable LVM detection

       rd_LVM_VG=<volume group name>
              only activate the volume groups with the given name

crypto LUKS
       rd_NO_LUKS
              disable crypto LUKS detection

       rd_LUKS_UUID=<luks uuid>
              only activate the LUKS partitions with the given UUID

MD
       rd_NO_MD
              disable MD RAID detection

       rd_MD_UUID=<md uuid>
              only activate the raid sets with the given UUID

DMRAID
       rd_NO_DM
              disable DM RAID detection

       rd_DM_UUID=<dmraid uuid>
              only activate the raid sets with the given UUID

15 years agoFix lvm on top of dmraid
Hans de Goede [Tue, 14 Jul 2009 20:24:41 +0000 (22:24 +0200)]
Fix lvm on top of dmraid

The lvm rules were failing to identify PV's on mdraid because
blkid/vol_id has not been run on md raidsets by previous rules.

15 years agoadd info() and vinfo() to dracut-lib
Harald Hoyer [Wed, 15 Jul 2009 07:56:37 +0000 (09:56 +0200)]
add info() and vinfo() to dracut-lib

- corrected the loglevel for warn()
- prepended with "dracut: " for kmesg to seperate from kernel messages

you can pipe to vinfo() for informational messages

15 years agoremove partitions from raid devices before they are used for something
Harald Hoyer [Wed, 15 Jul 2009 07:42:28 +0000 (09:42 +0200)]
remove partitions from raid devices before they are used for something
else

15 years agolimit the devices for which lvm vgscan will scan
Harald Hoyer [Wed, 15 Jul 2009 07:33:44 +0000 (09:33 +0200)]
limit the devices for which lvm vgscan will scan

Build the filter list and create /etc/lvm/lvm.conf for all LVM_member
devices found by udev.

15 years agochange the way init arguments are stripped from the command line
Harald Hoyer [Wed, 15 Jul 2009 07:06:13 +0000 (09:06 +0200)]
change the way init arguments are stripped from the command line

$initrdargs now holds all command line options we want to strip from the
command line. Command line parsers can extend this space separated list.

15 years agodmraid.rules changed comment in header
Harald Hoyer [Wed, 15 Jul 2009 07:03:46 +0000 (09:03 +0200)]
dmraid.rules changed comment in header

15 years agoMake Intel BIOS raid use mdraid instead of dmraid when mdadm 3.0 is available
Hans de Goede [Tue, 14 Jul 2009 20:24:42 +0000 (22:24 +0200)]
Make Intel BIOS raid use mdraid instead of dmraid when mdadm 3.0 is available

Intel BIOS raid is being shifted from dmraid to mdraid because mdraid offers
more features. So if an imsm metadata capable mdadm is present use mdraid
instead of dmraid for isw_raid_member's

This patch also adds code to mdraid_start.sh so that the raidsets
inside the imsm containers get started once udev is done probing
(doing this earlier leads to potentially degraded use of the sets and
 an unwanted resync).

15 years ago10redhat-i18n: Fix handling of kbd maps which are a symlink
Hans de Goede [Tue, 14 Jul 2009 12:42:50 +0000 (14:42 +0200)]
10redhat-i18n: Fix handling of kbd maps which are a symlink

Some keyboard maps are symlinks to others, we were not handling this
properly, this patch fixes this.

15 years agodracut-lib add getargs()
Harald Hoyer [Wed, 15 Jul 2009 16:24:01 +0000 (18:24 +0200)]
dracut-lib add getargs()

getargs returns a space seperated list with all values found for a key
on the kernel command line

15 years agoswitch_root: add subroot support
Daniel Drake [Sun, 12 Jul 2009 11:02:43 +0000 (12:02 +0100)]
switch_root: add subroot support

The current switch_root can only switch to a new root that is the root
of a mount point.

This patch adds support for "subroots", where the new root is somewhere
below a mount point. It does this by adding in a few extra steps to
chroot into the subroot after the enclosing partition has been moved
and entered.

This will be used by OLPC, who sort-of have 2 copies of Fedora stored
on a single partition under different directory trees, where the
initramfs decides which one to boot into.

15 years agoadd testsuite for degraded RAID-5 array
Harald Hoyer [Tue, 14 Jul 2009 11:44:38 +0000 (13:44 +0200)]
add testsuite for degraded RAID-5 array

15 years agomodified test description for TEST-10-RAID
Harald Hoyer [Tue, 14 Jul 2009 11:44:07 +0000 (13:44 +0200)]
modified test description for TEST-10-RAID

15 years agorun /bin/sh with the full path from the udev rules
Harald Hoyer [Tue, 14 Jul 2009 11:20:34 +0000 (13:20 +0200)]
run /bin/sh with the full path from the udev rules

15 years agoadd the final mdraid_start to the "blkid" rules also
Harald Hoyer [Tue, 14 Jul 2009 11:17:07 +0000 (13:17 +0200)]
add the final mdraid_start to the "blkid" rules also

15 years agorun a final "mdadm -IRs" after udev has settled
Harald Hoyer [Mon, 13 Jul 2009 15:43:13 +0000 (17:43 +0200)]
run a final "mdadm -IRs" after udev has settled

15 years agoprevent LVM scan loops
Harald Hoyer [Mon, 13 Jul 2009 15:16:55 +0000 (17:16 +0200)]
prevent LVM scan loops

lvm vgscan causes "change" events for all devices, to prevent a loop,
remember the devices, which trigger the scan of the devices.

15 years agoadd test for simple root on LVM
Harald Hoyer [Mon, 13 Jul 2009 14:41:05 +0000 (16:41 +0200)]
add test for simple root on LVM

15 years agoinstall "ln" per default
Harald Hoyer [Mon, 13 Jul 2009 14:21:32 +0000 (16:21 +0200)]
install "ln" per default

15 years agolet softlink to dmraid initqueue scan end with ".sh"
Harald Hoyer [Mon, 13 Jul 2009 13:54:51 +0000 (15:54 +0200)]
let softlink to dmraid initqueue scan end with ".sh"

15 years agodelay lvm scan, until udev has settled
Harald Hoyer [Mon, 13 Jul 2009 13:54:02 +0000 (15:54 +0200)]
delay lvm scan, until udev has settled

15 years agodo not pass rdshell option to real init
Harald Hoyer [Mon, 13 Jul 2009 13:53:13 +0000 (15:53 +0200)]
do not pass rdshell option to real init

15 years agodo not force to run the mdraid array for the incremental add
Harald Hoyer [Mon, 13 Jul 2009 12:50:49 +0000 (14:50 +0200)]
do not force to run the mdraid array for the incremental add

15 years agoonly install mount script, if nbd-client succeeded
Harald Hoyer [Mon, 13 Jul 2009 13:00:14 +0000 (15:00 +0200)]
only install mount script, if nbd-client succeeded

15 years agoinstall mount script if iscsistart succeeded and add iscsi udev rule
Harald Hoyer [Mon, 13 Jul 2009 11:48:09 +0000 (13:48 +0200)]
install mount script if iscsistart succeeded and add iscsi udev rule

15 years agoremoved warning "No ip= argument(s) for netroot provided..."
Harald Hoyer [Mon, 13 Jul 2009 12:23:49 +0000 (14:23 +0200)]
removed warning "No ip= argument(s) for netroot provided..."

15 years agoadd environment variables for different udev versions
Harald Hoyer [Mon, 13 Jul 2009 11:51:33 +0000 (13:51 +0200)]
add environment variables for different udev versions

15 years agocheck for root after udevadm settle returns
Harald Hoyer [Mon, 13 Jul 2009 11:54:44 +0000 (13:54 +0200)]
check for root after udevadm settle returns

15 years agoadd kernel-modules module to iscsi server
Harald Hoyer [Mon, 13 Jul 2009 11:50:02 +0000 (13:50 +0200)]
add kernel-modules module to iscsi server

15 years agoadd documentation of the init hooks
Harald Hoyer [Mon, 13 Jul 2009 10:26:14 +0000 (12:26 +0200)]
add documentation of the init hooks

15 years agofixed LVM udev rules to run not only for dm-* devices
Harald Hoyer [Mon, 13 Jul 2009 10:15:41 +0000 (12:15 +0200)]
fixed  LVM udev rules to run not only for dm-* devices

15 years agofixed typo in mdadm udev rule
Harald Hoyer [Mon, 13 Jul 2009 12:50:11 +0000 (14:50 +0200)]
fixed typo in mdadm udev rule

15 years agoonly install one dmraid scan job once in the initqueue
Harald Hoyer [Mon, 13 Jul 2009 10:06:51 +0000 (12:06 +0200)]
only install one dmraid scan job once in the initqueue

15 years agotest for empty udev queue with timeout=1 instead of 0
Harald Hoyer [Mon, 13 Jul 2009 09:56:04 +0000 (11:56 +0200)]
test for empty udev queue with timeout=1 instead of 0

older udev versions do not support timeout=0

15 years agoremoved bash check from md incremental rules
Harald Hoyer [Mon, 13 Jul 2009 09:55:47 +0000 (11:55 +0200)]
removed bash check from md incremental rules

15 years agoNFSv4 rpcbind should need only the rpcbind user, not the entire /etc/passwd.
Warren Togami [Thu, 9 Jul 2009 18:33:33 +0000 (14:33 -0400)]
NFSv4 rpcbind should need only the rpcbind user, not the entire /etc/passwd.
TODO: /etc/passwd and /etc/group are not removed yet due to 90mdraid.
      dledford said he'll go in and clean this up since he has the hardware
      to actually test the mdmon stuff.

15 years agordbreak should imply rdshell. If sleeping forever say so, so the user doesn't wonder.
Warren Togami [Wed, 8 Jul 2009 17:51:43 +0000 (13:51 -0400)]
rdbreak should imply rdshell.  If sleeping forever say so, so the user doesn't wonder.

15 years agoversion 0.4 0.4
Harald Hoyer [Sat, 4 Jul 2009 08:05:38 +0000 (10:05 +0200)]
version 0.4

15 years agoremove redirection of output to /dev/kmesg
Harald Hoyer [Sat, 4 Jul 2009 07:54:39 +0000 (09:54 +0200)]
remove redirection of output to /dev/kmesg

until we have a way to mark our messages to come from dracut.

15 years agordshell
Harald Hoyer [Fri, 3 Jul 2009 15:45:55 +0000 (17:45 +0200)]
rdshell

15 years agoinitqueue now loops until /dev/root exists or root is mounted
Harald Hoyer [Fri, 3 Jul 2009 15:44:10 +0000 (17:44 +0200)]
initqueue now loops until /dev/root exists or root is mounted

init now has the following points to inject scripts:

/cmdline/*.sh
   scripts for command line parsing

/pre-udev/*.sh
   scripts to run before udev is started

/pre-trigger/*.sh
   scripts to run before the main udev trigger is pulled

/initqueue/*.sh
   runs in parallel to the udev trigger
   Udev events can add scripts here with /sbin/initqueue.
   If /sbin/initqueue is called with the "--onetime" option, the script
   will be removed after it was run.
   If /initqueue/work is created and udev >= 143 then this loop can
   process the jobs in parallel to the udevtrigger.
   If the udev queue is empty and no root device is found or no root
   filesystem was mounted, the user will be dropped to a shell after
   a timeout.
   Scripts can remove themselves from the initqueue by "rm $job".

/pre-mount/*.sh
   scripts to run before the root filesystem is mounted
   NFS is an exception, because it has no device node to be created
   and mounts in the udev events

/mount/*.sh
   scripts to mount the root filesystem
   NFS is an exception, because it has no device node to be created
   and mounts in the udev events
   If the udev queue is empty and no root device is found or no root
   filesystem was mounted, the user will be dropped to a shell after
   a timeout.

/pre-pivot/*.sh
   scripts to run before the real init is executed and the initramfs
   disappears
   All processes started before should be killed here.

The behaviour of the dmraid module demonstrates how to use the new
mechanism. If it detects a device which is part of a raidmember from a
udev rule, it installs a job to scan for dmraid devices, if the udev
queue is empty. After a scan, it removes itsself from the queue.

15 years agoput back the nfs mount in the udev event
Harald Hoyer [Fri, 3 Jul 2009 12:56:20 +0000 (14:56 +0200)]
put back the nfs mount in the udev event

it solves the following case:

root=/dev/nfs nfsroot=server:/path

- the server could be reachable on any interface
- any interface can get an IP by dhcp
- only one IP is allowed to mount the root

15 years agofail iscsiroot, if iscsistart fails
Harald Hoyer [Fri, 3 Jul 2009 12:47:49 +0000 (14:47 +0200)]
fail iscsiroot, if iscsistart fails

15 years agoadd rm to be installed for initqueue
Harald Hoyer [Fri, 3 Jul 2009 11:27:26 +0000 (13:27 +0200)]
add rm to be installed for initqueue

15 years agoadd firmware packages to be required by the dracut-generic package
Harald Hoyer [Fri, 3 Jul 2009 11:17:08 +0000 (13:17 +0200)]
add firmware packages to be required by the dracut-generic package

15 years agoremove 50plymouth-pre0.7 module
Harald Hoyer [Fri, 3 Jul 2009 10:44:45 +0000 (12:44 +0200)]
remove 50plymouth-pre0.7 module

15 years agoDefer mount to the real mount loop
Harald Hoyer [Fri, 3 Jul 2009 10:24:54 +0000 (12:24 +0200)]
Defer mount to the real mount loop

Udev rules set a /dev/root symlink to the real root and add
a mount script to /mount/. This enables the proper use of pre-mount
scripts and prevents mount being killed by a udev timeout.

15 years agooutput everything to /dev/kmesg and add dmesg for the emergency_shell
Harald Hoyer [Fri, 3 Jul 2009 09:09:33 +0000 (11:09 +0200)]
output everything to /dev/kmesg and add dmesg for the emergency_shell

15 years agoadd binutiles requirement to specfile (because of nm)
Harald Hoyer [Fri, 3 Jul 2009 09:08:58 +0000 (11:08 +0200)]
add binutiles requirement to specfile (because of nm)

15 years agoadd kernel-modules module to testsuite images
Harald Hoyer [Fri, 3 Jul 2009 09:07:16 +0000 (11:07 +0200)]
add kernel-modules module to testsuite images

15 years agoRemove modules dependency
Daniel Drake [Thu, 2 Jul 2009 09:06:15 +0000 (10:06 +0100)]
Remove modules dependency

This makes it possible to build a dracut initramfs without modules,
where all needed kernel drivers are built into the kernel image.

15 years agoAdd firmware loading support
Daniel Drake [Thu, 2 Jul 2009 14:15:47 +0000 (15:15 +0100)]
Add firmware loading support

15 years agoDon't use absolute paths for utilities
Seewer Philippe [Thu, 2 Jul 2009 14:03:39 +0000 (16:03 +0200)]
Don't use absolute paths for utilities

15 years agodo not add debug module by default
Harald Hoyer [Thu, 2 Jul 2009 12:50:46 +0000 (14:50 +0200)]
do not add debug module by default

15 years agofixed adding modules via -a
Harald Hoyer [Thu, 2 Jul 2009 12:50:22 +0000 (14:50 +0200)]
fixed adding modules via -a

15 years agoadd "--add" option to the manpage
Harald Hoyer [Thu, 2 Jul 2009 11:14:57 +0000 (13:14 +0200)]
add "--add" option to the manpage

15 years agobeautified devtmpfs mount 0.3
Harald Hoyer [Thu, 2 Jul 2009 09:59:46 +0000 (11:59 +0200)]
beautified devtmpfs mount

15 years agofixed --add option handling
Harald Hoyer [Thu, 2 Jul 2009 09:57:23 +0000 (11:57 +0200)]
fixed --add option handling

15 years agoversion 0.3
Harald Hoyer [Thu, 2 Jul 2009 09:48:27 +0000 (11:48 +0200)]
version 0.3

15 years agospecfile: require /sbin/switch_root and turn on switch_root generation for F12
Harald Hoyer [Thu, 2 Jul 2009 09:33:34 +0000 (11:33 +0200)]
specfile: require /sbin/switch_root and turn on switch_root generation for F12

15 years agoswitch to initqueue handling of events
Harald Hoyer [Thu, 2 Jul 2009 09:42:35 +0000 (11:42 +0200)]
switch to initqueue handling of events

Jobs are no longer handled inside the udev events.
/sbin/initqueue is called with the commands to queue.
init will work on these jobs sequentially, so that we prevent jobs
from being killed by udev timeouts.
This serialization also prevents some problems introduced by
the udev event parallelization.

15 years agolet iSCSI try to mount the complete LUN specified
Harald Hoyer [Thu, 2 Jul 2009 09:40:05 +0000 (11:40 +0200)]
let iSCSI try to mount the complete LUN specified

15 years agotry harder to kill udev
Harald Hoyer [Thu, 2 Jul 2009 09:42:05 +0000 (11:42 +0200)]
try harder to kill udev

15 years agoderror if we can't install switch_root
Harald Hoyer [Thu, 2 Jul 2009 09:38:37 +0000 (11:38 +0200)]
derror if we can't install switch_root

15 years agoomit plymouth and add debug module for the testsuite clients
Harald Hoyer [Thu, 2 Jul 2009 09:37:00 +0000 (11:37 +0200)]
omit plymouth and add debug module for the testsuite clients

15 years agobail out of cryptroot-ask, if we have already asked about the password
Harald Hoyer [Thu, 2 Jul 2009 09:35:01 +0000 (11:35 +0200)]
bail out of cryptroot-ask, if we have already asked about the password

15 years agoadd --add option to add modules to the "all" list
Harald Hoyer [Thu, 2 Jul 2009 09:32:32 +0000 (11:32 +0200)]
add --add option to add modules to the "all" list

15 years agoClean up NFS comments.
Warren Togami [Wed, 1 Jul 2009 19:46:48 +0000 (15:46 -0400)]
Clean up NFS comments.

15 years agoRemove the NBD legacy format. It wasn't actually matching Debian's nbdroot implement...
Warren Togami [Wed, 1 Jul 2009 19:41:26 +0000 (15:41 -0400)]
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.

15 years agoversion 0.2 0.2
Harald Hoyer [Wed, 1 Jul 2009 14:22:45 +0000 (16:22 +0200)]
version 0.2

15 years agounset netroot before we return (it was set to $root without checkin)
Harald Hoyer [Wed, 1 Jul 2009 18:53:57 +0000 (20:53 +0200)]
unset netroot before we return (it was set to $root without checkin)

15 years agouse different multicast ports for the different testsuites
Harald Hoyer [Wed, 1 Jul 2009 18:51:30 +0000 (20:51 +0200)]
use different multicast ports for the different testsuites

15 years agoomit the plymouth module in the testsuite
Harald Hoyer [Wed, 1 Jul 2009 17:26:21 +0000 (19:26 +0200)]
omit the plymouth module in the testsuite

15 years agouse _all_ modules to run the test, in case another module fails
Harald Hoyer [Wed, 1 Jul 2009 15:49:20 +0000 (17:49 +0200)]
use _all_ modules to run the test, in case another module fails

also run the tests with 256MB virtual machines

15 years agodo not assume nfs for root=/dev/... but for /dev/nfs
Harald Hoyer [Wed, 1 Jul 2009 15:49:50 +0000 (17:49 +0200)]
do not assume nfs for root=/dev/... but for /dev/nfs

15 years agoman page update
Harald Hoyer [Wed, 1 Jul 2009 12:02:52 +0000 (14:02 +0200)]
man page update

15 years agospecfile cleanup
Harald Hoyer [Wed, 1 Jul 2009 12:40:45 +0000 (14:40 +0200)]
specfile cleanup

removed mkinitrd replacement

15 years agoprepare init to mount devtmpfs instead of tmpfs on /dev
Harald Hoyer [Tue, 30 Jun 2009 14:12:12 +0000 (16:12 +0200)]
prepare init to mount devtmpfs instead of tmpfs on /dev

15 years agolet dmraid remove the used partitions
Harald Hoyer [Tue, 30 Jun 2009 14:10:06 +0000 (16:10 +0200)]
let dmraid remove the used partitions

15 years agoFix legacy root=/dev/nfs nfsroot=IP:path case
Warren Togami [Tue, 30 Jun 2009 22:22:44 +0000 (18:22 -0400)]
Fix legacy root=/dev/nfs nfsroot=IP:path case
TODO: root=/dev/nfs DHCP cases are still broken.

15 years agoNFS empty path becomes "/tftpboot/%s" only if root=/dev/nfs legacy mode
Warren Togami [Tue, 30 Jun 2009 22:03:16 +0000 (18:03 -0400)]
NFS empty path becomes "/tftpboot/%s" only if root=/dev/nfs legacy mode

15 years agoCleanup parse-nfsroot and NFS tests.
Warren Togami [Tue, 30 Jun 2009 21:48:56 +0000 (17:48 -0400)]
Cleanup parse-nfsroot and NFS tests.
TODO: root=/dev/nfs is still broken.

15 years agoAdd test for Legacy root=IP:path NFSv3 syntax
Warren Togami [Tue, 30 Jun 2009 20:38:57 +0000 (16:38 -0400)]
Add test for Legacy root=IP:path NFSv3 syntax

15 years agonetroot= variant is not supported for NFS, you must use root=
Warren Togami [Tue, 30 Jun 2009 20:27:45 +0000 (16:27 -0400)]
netroot= variant is not supported for NFS, you must use root=
TODO: This temporarily breaks Legacy root=/dev/nfs.

15 years agoReally fix --drivers
Warren Togami [Tue, 30 Jun 2009 19:35:18 +0000 (15:35 -0400)]
Really fix --drivers

15 years agoFix case where --drivers was specified.
Warren Togami [Tue, 30 Jun 2009 19:17:08 +0000 (15:17 -0400)]
Fix case where --drivers was specified.