Harald Hoyer
a3f4e7709b
add udev rules for iscsi_firmware
2009-07-30 16:12:52 +02:00
Warren Togami
984a819b92
There is only one resolv.conf.
2009-07-30 09:27:09 -04:00
Warren Togami
edae4b5efb
Mark the other ifcfg file when bridges are used.
2009-07-29 16:54:53 -04:00
Warren Togami
2098ebf712
Need some way of differentiating these interfaces as being netboot.
2009-07-29 14:07:08 -04:00
Harald Hoyer
f72c10f657
getarg()/getargs(): check existance of /etc/cmdline before reading it
2009-07-28 18:29:40 +02:00
Warren Togami
645bde35d3
Use standard ifcfg filenames, put them into an ifcfg directory.
2009-07-27 15:54:21 -04:00
Harald Hoyer
c1a37d928f
dracut-lib: getarg(), getargs() read command line also from /etc/cmdline
...
Also honor parameters in /etc/cmdline.
getarg(): If the argument is first fround in /proc/cmdline, then it is
used
2009-07-25 11:09:35 +02:00
Harald Hoyer
0375106c78
add source_conf for static configuration variables
...
source_conf sources all *.conf files of a directory
init will now source all /etc/conf.d/*.conf files
2009-07-25 11:09:34 +02:00
Warren Togami
47b5c0f290
With NFS root, it is possible /tmp/net.ifaces might not exist during pre-pivot.
...
- udevadm settle will wait for it if necessary.
- Move write-ifcfg.sh later during pre-pivot to reduce likelihood of settling being necessary.
2009-07-24 15:26:33 -04:00
Harald Hoyer
3e6d2b31ea
removed all direct references to /proc/cmdline
...
use getarg() and getargs() from /lib/dracut-lib.sh instead of
reinventing the wheel
2009-07-24 11:54:08 +02:00
Harald Hoyer
b03edf372f
40network/parse-bridge: add bridge to $initrdargs
2009-07-24 11:54:08 +02:00
David Dillow
e663608c40
dash compatible substitution
2009-07-23 23:16:31 -04:00
Warren Togami
ef380e9de8
Turns out this is really a misconfigured DHCP server, apply the same workaround as Debian and upstream dhclient-script.
2009-07-23 16:22:00 -04:00
Warren Togami
39f3a51d65
Fix multiple search domains with proper quoting (thanks dcbw)
...
Otherwise \032 appears instead of spaces.
2009-07-23 14:31:58 -04:00
Harald Hoyer
4809126378
99base/init: fix argument stripping
2009-07-23 18:57:20 +02:00
Harald Hoyer
6c4b24afb0
nfsroot-cleanup: don't try to read from nonexistant /tmp/nfs.rpc_pipefs_path
2009-07-23 18:27:33 +02:00
Harald Hoyer
c1b2cc48d6
40network/check: source dracut-functions over exported variable
2009-07-23 18:20:11 +02:00
Marc Grimme
2fe2945869
nfsroot-cleanup: make /var/lib/nfs/rpc_pipefs path configurable
...
/tmp/nfs.rpc_pipefs_path can contain the path where
/var/lib/nfs/rpc_pipefs will be moved before switch_root.
This is useful if /var is a separate partition in the real root.
2009-07-23 12:19:54 +02:00
Marc Grimme
f016dccc89
95debug: optionally install the debug tools
2009-07-23 12:19:17 +02:00
Marc Grimme
c993cfb32f
40network/check: output which binary is missing for the network module
2009-07-23 12:17:57 +02:00
Harald Hoyer
0e77eb3782
dmraid/mdraid: only try to delete partition 1-1024
...
add "--nr 1-1024" to partx, otherwise partx will try to delete
partitions 1-INT_MAX, which takes a long time.
2009-07-23 11:58:24 +02:00
Harald Hoyer
93ce0a7a1c
95s390: add support to boot from s390 dasds
...
command line parameter:
DASD
dasd=....
same syntax as the kernel module parameter (s390 only)
2009-07-22 16:35:49 +02:00
Harald Hoyer
33ee031c4a
dracut: add --kernel-only and --no-kernel arguments
...
--kernel-only
only install kernel drivers and firmware files
--no-kernel
do not install kernel drivers and firmware files
All kernel module related install commands moved from "install"
to "installkernel".
For "--kernel-only" all installkernel scripts of the specified
modules are used, regardless of any checks, so that all modules
which might be needed by any dracut generic image are in.
The basic idea is to create two images. One image with the kernel
modules and one without. So if the kernel changes, you only have
to replace one image.
Grub and the kernel can handle multiple images, so grub entry can
look like this:
title Fedora (2.6.29.5-191.fc11.i586)
root (hd0,0)
kernel /vmlinuz-2.6.29.5-191.fc11.i586 ro rhgb quiet
initrd /initrd-20090722.img
initrd /initrd-kernel-2.6.29.5-191.fc11.i586.img
initrd /initrd-config.img
initrd-20090722.img
the image provided by the initrd rpm
one old backup version is kept like with the kernel
initrd-kernel-2.6.29.5-191.fc11.i586.img
the image provided by the kernel rpm
initrd-config.img
optional image with local configuration files
2009-07-22 15:07:11 +02:00
Harald Hoyer
441d31b927
use kernel module directory specified on command line in modules also
2009-07-21 17:37:41 +02:00
Harald Hoyer
308b10311c
mdraid: first remove the partitions, then add to the md raid
2009-07-21 15:40:11 +02:00
Harald Hoyer
7045d15460
dmraid/mdraid: use ENV{DEVTYPE} instead of ATTR{partition}
2009-07-21 15:01:41 +02:00
Harald Hoyer
6c034582d2
redhat-i18n: export LANG
2009-07-21 11:53:56 +02:00
Harald Hoyer
57b965ef4b
dmraid/mdraid: install "partx"
2009-07-21 11:31:15 +02:00
Harald Hoyer
f4785648fb
plymouth: also trigger dri subsystem
2009-07-21 11:30:40 +02:00
Harald Hoyer
47e1402108
nfs: do not install whole passwd, grep for rpc user
2009-07-17 16:00:20 +02:00
Harald Hoyer
1336db4f1c
lvm: output info on rd_NO_LVM
2009-07-17 16:00:20 +02:00
Harald Hoyer
6c1d16ad29
lvm: install lvm.conf in hostonly mode
2009-07-17 16:00:19 +02:00
Harald Hoyer
0de01de409
mdraid: do not handle isw_raid_member if rd_NO_MDIMSM is set in udev ENV
...
install md-noimsm.sh if mdadm does not support imsm.
2009-07-17 16:00:19 +02:00
Harald Hoyer
499befa692
mdraid: only install mdadm.conf in hostonly mode
2009-07-17 16:00:19 +02:00
Harald Hoyer
435185d7ab
mdraid: do not install passwd/group
2009-07-17 16:00:19 +02:00
Harald Hoyer
e0fd2e2f74
dmraid: handle isw_raid_member if rd_NO_MDIMSM is set in udev ENV
2009-07-17 16:00:19 +02:00
Harald Hoyer
024cd021d4
dmraid: redirect error to vinfo
2009-07-17 16:00:19 +02:00
Harald Hoyer
87194701de
output info on rd_NO_DM
2009-07-17 16:00:19 +02:00
Harald Hoyer
4578763326
crypt: output info, on rd_NO_LUKS handling
2009-07-17 16:00:19 +02:00
Harald Hoyer
7c00784e5c
plymouth: install all themes and make them selectable by command line
...
Bootsplash - plymouth
rd_plytheme=<theme name>
specify the plymouth bootsplash theme (fallback is text)
2009-07-17 16:00:09 +02:00
Harald Hoyer
53e1c5b996
init: add "pre-trigger" and "initqueue" breakpoints
2009-07-17 14:47:49 +02:00
Harald Hoyer
835d568916
plymouth: removed console_init call
...
/lib/udev/console_init should be called from the udev rules already
2009-07-17 10:17:28 +02:00
Harald Hoyer
4f945a3932
dmraid.sh: activate all dmraids, if no rd_DM_UUID is specified
2009-07-17 10:16:46 +02:00
Harald Hoyer
20cfd14f41
dmraid.rules: cleanup
2009-07-17 10:16:16 +02:00
Harald Hoyer
376cfd1c27
lvm_scan: do not overwrite a preexisting /etc/lvm/lvm.conf
2009-07-17 10:13:33 +02:00
Harald Hoyer
c0dc4c5d1e
dracut-lib: fixed quiet argument parsing
2009-07-17 10:13:01 +02:00
Harald Hoyer
532d7d9be4
dracut-lib: output warn() and die() to stderr
2009-07-17 10:12:52 +02:00
Warren Togami
beb097d9f1
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
2009-07-16 16:58:19 -04:00
Warren Togami
44f1ab8285
Remove 63-luks.rules, it is no longer used
2009-07-16 09:34:07 -04:00
Warren Togami
81f83dab0a
More informative failure messages or rdbreak.
2009-07-15 21:10:16 -04:00