Harald Hoyer [Fri, 14 Aug 2009 14:11:35 +0000 (16:11 +0200)]
cryptroot-ask.sh: fix rd_LUKS_UUID handling
Harald Hoyer [Fri, 14 Aug 2009 14:10:28 +0000 (16:10 +0200)]
10redhat-i18n: remove unnecessary files
Harald Hoyer [Fri, 14 Aug 2009 14:05:18 +0000 (16:05 +0200)]
add rdinfo command line parameter
print informational output though "quiet" is set
Harald Hoyer [Thu, 13 Aug 2009 12:22:54 +0000 (14:22 +0200)]
inst_simple(): add -p flag to cp
Harald Hoyer [Fri, 7 Aug 2009 10:08:31 +0000 (12:08 +0200)]
plymouth: make the daemon attach to the session/terminal
https://bugzilla.redhat.com/show_bug.cgi?id=516104
it can be so simple :-)
Harald Hoyer [Fri, 7 Aug 2009 10:08:04 +0000 (12:08 +0200)]
dracut.spec: require versioned util-linux-ng instead of switch_root
Warren Togami [Thu, 6 Aug 2009 15:07:43 +0000 (11:07 -0400)]
Remove ugly hack
Harald Hoyer [Thu, 6 Aug 2009 13:01:38 +0000 (15:01 +0200)]
version 0.8
Harald Hoyer [Thu, 6 Aug 2009 13:01:24 +0000 (15:01 +0200)]
add NEWS
Harald Hoyer [Wed, 5 Aug 2009 14:28:52 +0000 (16:28 +0200)]
plymouth-populate-initrd: do not install label.so
https://bugzilla.redhat.com/show_bug.cgi?id=515589
It ends up installing the label.so control plugin which isn't supposed
to get installed into the initrd. this makes cairo and libX11 and all sorts of
things move into the initrd that aren't supposed to.
Harald Hoyer [Wed, 5 Aug 2009 14:26:52 +0000 (16:26 +0200)]
dracut.spec: version for module-init-tools requirement
https://bugzilla.redhat.com/show_bug.cgi?id=515630
dracut-0.7-1 uses a modprobe option (-d) that exists only in
module-init-tools >= 3.7-9, but the 'Requires: module-init-tools'
of dracut is not version-specific.
Thilo Bangert [Fri, 24 Jul 2009 20:01:35 +0000 (22:01 +0200)]
support for unusual terminfo location
the following patch makes the 95terminfo module work on gentoo.
Warren Togami [Tue, 4 Aug 2009 21:15:39 +0000 (17:15 -0400)]
Temporary hack to provide ifcfg files to OS in a way that might work with existing initscripts.
I am not happy about this. It shouldn't be the job of dracut to do this. The initscripts should
deal with the plain /dev/.initramfs/ifcfg/ directory accordingly. Doing this for now because
notting insists upon it. We need to clean this up after we network option passing working.
Harald Hoyer [Tue, 4 Aug 2009 14:36:18 +0000 (16:36 +0200)]
dracut.spec: fixed requirements for dracut-tools
Jeremy Katz [Wed, 22 Jul 2009 20:31:24 +0000 (16:31 -0400)]
Parse options earlier for live root
Jeremy Katz [Wed, 22 Jul 2009 20:14:00 +0000 (16:14 -0400)]
Support resetting the live overlay
If you're using a persistent overlay, you might want to reset it
at boot time if it has become corrupted somehow. Support using
reset_overlay as a command line optino to do so
Jeremy Katz [Wed, 22 Jul 2009 20:16:59 +0000 (16:16 -0400)]
And support passing in the persistent overlay
The persistent overlay can be specified with an overlay= argument
on the command line. We'll probably try to move this into the
root= syntax soon, but this is the old way that works
Jeremy Katz [Wed, 22 Jul 2009 20:12:54 +0000 (16:12 -0400)]
Support passing live_ram
live_ram allows you to load the entirety of the live image into
RAM and run it from there rather than off of the block device
Jeremy Katz [Wed, 22 Jul 2009 20:11:54 +0000 (16:11 -0400)]
Support passing the live_dir with live_dir=
The live image is assumed to be under LiveOS/ unless live_dir
is passed specifying otherwise
Jeremy Katz [Wed, 22 Jul 2009 20:08:49 +0000 (16:08 -0400)]
Support old syntax
livecd-creator previously added 'liveimg' and used root=CDLABEL=;
it's easy enough to support that old syntax for now at least
and it will make it easier to get people testing
Jeremy Katz [Wed, 22 Jul 2009 20:06:29 +0000 (16:06 -0400)]
Support checking the iso
Support checking the iso image with checkisomd5 if available
Jeremy Katz [Wed, 22 Jul 2009 19:31:18 +0000 (15:31 -0400)]
Add basic support for dmsquashed live images
Fedora/Red Hat live images are implemented as an ext3fs inside of
a squashfs. Writability is achieved with a device-mapper snapshot
on top of that.
This gives the basic support without a lot of things like persistent
overlays, iso md5sum checking, etc and also with a new basic syntax
that has to be specified as root=live:LABEL=...
Sergey Fionov [Sat, 1 Aug 2009 07:52:16 +0000 (11:52 +0400)]
Fix full pathname condition in find_library
Hello,
Now a fact that the path is full is checked by
[[ -x $1 ]]
But if the working directory is /bin or a directory with a file named
"mount",
this condition will be met for "inst mount", and "mount" will not be copied
into initrd at all.
Harald Hoyer [Tue, 4 Aug 2009 09:36:06 +0000 (11:36 +0200)]
90mdraid/parse-md.sh: removed bashism
Warren Togami [Mon, 3 Aug 2009 18:26:26 +0000 (14:26 -0400)]
dracut requires bzip2
Harald Hoyer [Fri, 31 Jul 2009 11:56:55 +0000 (13:56 +0200)]
iscsiroot: check real root if it is block:...
Harald Hoyer [Fri, 31 Jul 2009 11:22:58 +0000 (13:22 +0200)]
dracut.8: fixed iscsi username/pw documentation
Hans de Goede [Fri, 31 Jul 2009 08:31:16 +0000 (10:31 +0200)]
Implement extended iscsi: rfc4173 syntax which allows specifying credentials
As discussed before, it would be nice to be able to specify
the iscsi chap credentials inside the netroot=iscsi:.....
syntax, this patch implements this in a backwards compatible way, like
this:
iscsi:username:pass@127.0.0.1::3260::iqn.2009-01.com.example:testdisk
iscsi:username:pass:reverse:pass@127.0.0.1::3260::iqn.2009-01.com.example:test
The only downside is that the backwards compatibility is broken when there
is an @ in the iscsi target name (very unlikely), that can still be used,
but only like this:
iscsi:@192.168.1.100::3260::iqn.2009-01.com.example:testdi@sk
Harald Hoyer [Fri, 31 Jul 2009 10:39:23 +0000 (12:39 +0200)]
40network/installkernel: do not install isdn and uwb modules
Harald Hoyer [Fri, 31 Jul 2009 10:38:34 +0000 (12:38 +0200)]
90kernel-modules/installkernel: do not install fs/ocfs2 filesystems
Harald Hoyer [Fri, 31 Jul 2009 10:37:50 +0000 (12:37 +0200)]
nfs: only install libnss_*.so which are used by nsswitch.conf
Harald Hoyer [Fri, 31 Jul 2009 10:37:22 +0000 (12:37 +0200)]
dracut.spec: removed duplicate requirements
Harald Hoyer [Thu, 30 Jul 2009 15:05:49 +0000 (17:05 +0200)]
kernel-modules: add modules for virtio devices
Harald Hoyer [Thu, 30 Jul 2009 15:12:08 +0000 (17:12 +0200)]
iscsi: manually load the iscsi_ibft kernel module
Harald Hoyer [Thu, 30 Jul 2009 14:57:30 +0000 (16:57 +0200)]
iscsi: install iscsi_ibft kernel module
Harald Hoyer [Thu, 30 Jul 2009 14:14:09 +0000 (16:14 +0200)]
iscsiroot: fixed udev rules for iscsi_firmware
Harald Hoyer [Thu, 30 Jul 2009 14:11:52 +0000 (16:11 +0200)]
dracut.spec: no more switch_root for >= F12 and Require "which"
Harald Hoyer [Thu, 30 Jul 2009 14:11:11 +0000 (16:11 +0200)]
add udev rules for iscsi_firmware
Warren Togami [Thu, 30 Jul 2009 13:27:09 +0000 (09:27 -0400)]
There is only one resolv.conf.
Warren Togami [Wed, 29 Jul 2009 20:54:53 +0000 (16:54 -0400)]
Mark the other ifcfg file when bridges are used.
Warren Togami [Wed, 29 Jul 2009 18:07:08 +0000 (14:07 -0400)]
Need some way of differentiating these interfaces as being netboot.
Harald Hoyer [Tue, 28 Jul 2009 16:27:37 +0000 (18:27 +0200)]
getarg()/getargs(): check existance of /etc/cmdline before reading it
Warren Togami [Mon, 27 Jul 2009 19:54:21 +0000 (15:54 -0400)]
Use standard ifcfg filenames, put them into an ifcfg directory.
Warren Togami [Mon, 27 Jul 2009 17:16:51 +0000 (13:16 -0400)]
--strip requires file
Harald Hoyer [Fri, 24 Jul 2009 11:15:43 +0000 (13:15 +0200)]
version 0.7
Harald Hoyer [Fri, 24 Jul 2009 13:48:20 +0000 (15:48 +0200)]
strip binaries in initramfs
--strip
strip binaries in the initramfs (default)
--nostrip
do not strip binaries in the initramfs
Harald Hoyer [Fri, 24 Jul 2009 13:12:47 +0000 (15:12 +0200)]
dracut/dracut-gencmdline: fixed copyright header
Harald Hoyer [Fri, 24 Jul 2009 11:14:52 +0000 (13:14 +0200)]
add dracut-catimages
Usage: ./dracut-catimages [OPTION]... <initramfs> <base image>
[<image>...]
Creates initial ramdisk image by concatenating several images from the
command
line and /boot/dracut/
-f, --force Overwrite existing initramfs file.
-i, --imagedir Directory with additional images to add
(default: /boot/dracut/)
-o, --overlaydir Overlay directory, which contains files that
will be used to create an additional image
--nooverlay Do not use the overlay directory
--noimagedir Do not use the additional image directory
-h, --help This message
--debug Output debug information of the build process
-v, --verbose Verbose output during the build process
Harald Hoyer [Fri, 24 Jul 2009 11:42:10 +0000 (13:42 +0200)]
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
Harald Hoyer [Fri, 24 Jul 2009 11:10:55 +0000 (13:10 +0200)]
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
Harald Hoyer [Fri, 24 Jul 2009 11:09:57 +0000 (13:09 +0200)]
dracut: usage(): break line for 80 chars
Warren Togami [Fri, 24 Jul 2009 19:26:33 +0000 (15:26 -0400)]
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.
Harald Hoyer [Fri, 24 Jul 2009 10:06:12 +0000 (12:06 +0200)]
dracut.8: correct manpage entry for ip=
Harald Hoyer [Fri, 24 Jul 2009 09:52:15 +0000 (11:52 +0200)]
dracut.8: corrections of parameters and fixed typos
Harald Hoyer [Fri, 24 Jul 2009 08:42:39 +0000 (10:42 +0200)]
removed all direct references to /proc/cmdline
use getarg() and getargs() from /lib/dracut-lib.sh instead of
reinventing the wheel
Harald Hoyer [Fri, 24 Jul 2009 08:42:17 +0000 (10:42 +0200)]
dracut: print help for unknow options
Harald Hoyer [Thu, 23 Jul 2009 17:00:48 +0000 (19:00 +0200)]
40network/parse-bridge: add bridge to $initrdargs
David Dillow [Fri, 24 Jul 2009 03:16:31 +0000 (23:16 -0400)]
dash compatible substitution
Warren Togami [Thu, 23 Jul 2009 20:22:00 +0000 (16:22 -0400)]
Turns out this is really a misconfigured DHCP server, apply the same workaround as Debian and upstream dhclient-script.
Warren Togami [Thu, 23 Jul 2009 18:31:58 +0000 (14:31 -0400)]
Fix multiple search domains with proper quoting (thanks dcbw)
Otherwise \032 appears instead of spaces.
Harald Hoyer [Thu, 23 Jul 2009 16:57:20 +0000 (18:57 +0200)]
99base/init: fix argument stripping
Harald Hoyer [Thu, 23 Jul 2009 16:27:33 +0000 (18:27 +0200)]
nfsroot-cleanup: don't try to read from nonexistant /tmp/nfs.rpc_pipefs_path
Harald Hoyer [Thu, 23 Jul 2009 16:20:11 +0000 (18:20 +0200)]
40network/check: source dracut-functions over exported variable
Michael Ploujnikov [Mon, 8 Jun 2009 15:17:29 +0000 (11:17 -0400)]
use a variable to hold the regex
single quote regexps in variables to make it work with bash-3.1
Michael Ploujnikov [Wed, 3 Jun 2009 13:16:44 +0000 (09:16 -0400)]
fix spelling use the modules.d directory name
Marc Grimme [Thu, 23 Jul 2009 10:19:54 +0000 (12:19 +0200)]
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.
Marc Grimme [Thu, 23 Jul 2009 10:19:17 +0000 (12:19 +0200)]
95debug: optionally install the debug tools
Marc Grimme [Thu, 23 Jul 2009 10:17:57 +0000 (12:17 +0200)]
40network/check: output which binary is missing for the network module
Marc Grimme [Thu, 23 Jul 2009 10:15:54 +0000 (12:15 +0200)]
dracut_install: add "-o" option
Calling dracut_install will optionally install the file. This is useful
for the debug module.
Harald Hoyer [Thu, 23 Jul 2009 09:58:24 +0000 (11:58 +0200)]
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.
Harald Hoyer [Wed, 22 Jul 2009 14:34:12 +0000 (16:34 +0200)]
95s390: add support to boot from s390 dasds
command line parameter:
DASD
dasd=....
same syntax as the kernel module parameter (s390 only)
Harald Hoyer [Tue, 21 Jul 2009 15:38:41 +0000 (17:38 +0200)]
version 0.6
Harald Hoyer [Wed, 22 Jul 2009 10:43:26 +0000 (12:43 +0200)]
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
Harald Hoyer [Tue, 21 Jul 2009 16:26:12 +0000 (18:26 +0200)]
fix kernel modules dir handling
Harald Hoyer [Tue, 21 Jul 2009 16:10:34 +0000 (18:10 +0200)]
dracut.spec: generic requires bridge-utils for brctl
Harald Hoyer [Tue, 21 Jul 2009 15:49:17 +0000 (17:49 +0200)]
add --fwdir parameter to dracut
--fwdir [DIR]
specify additional directory, where to look for firmwares
Harald Hoyer [Tue, 21 Jul 2009 15:39:19 +0000 (17:39 +0200)]
do not BuildRequire kernel-firmware for dracut-generic
Harald Hoyer [Tue, 21 Jul 2009 15:37:41 +0000 (17:37 +0200)]
use kernel module directory specified on command line in modules also
Harald Hoyer [Tue, 21 Jul 2009 15:25:12 +0000 (17:25 +0200)]
dracut: add --kmoddir directory, where to look for kernel modules
-k, --kmoddir [DIR]
specify the directory, where to look for kernel modules
Harald Hoyer [Tue, 21 Jul 2009 15:23:26 +0000 (17:23 +0200)]
dracut-gencmdline: output root device and plymouth theme
Harald Hoyer [Tue, 21 Jul 2009 13:40:11 +0000 (15:40 +0200)]
mdraid: first remove the partitions, then add to the md raid
Harald Hoyer [Tue, 21 Jul 2009 13:01:41 +0000 (15:01 +0200)]
dmraid/mdraid: use ENV{DEVTYPE} instead of ATTR{partition}
Harald Hoyer [Tue, 21 Jul 2009 09:53:56 +0000 (11:53 +0200)]
redhat-i18n: export LANG
Harald Hoyer [Tue, 21 Jul 2009 09:31:15 +0000 (11:31 +0200)]
dmraid/mdraid: install "partx"
Harald Hoyer [Tue, 21 Jul 2009 09:30:40 +0000 (11:30 +0200)]
plymouth: also trigger dri subsystem
Harald Hoyer [Fri, 17 Jul 2009 14:04:13 +0000 (16:04 +0200)]
manpage: add docu for rd_NO_MDIMSM
Harald Hoyer [Fri, 17 Jul 2009 13:59:36 +0000 (15:59 +0200)]
Makefile: make clean before rpm
Harald Hoyer [Fri, 17 Jul 2009 13:40:08 +0000 (15:40 +0200)]
version 0.5
Harald Hoyer [Fri, 17 Jul 2009 13:38:25 +0000 (15:38 +0200)]
dracut-gencmdline - generate the kernel command line for the local host
Harald Hoyer [Fri, 17 Jul 2009 13:03:51 +0000 (15:03 +0200)]
nfs: do not install whole passwd, grep for rpc user
Harald Hoyer [Fri, 17 Jul 2009 13:03:30 +0000 (15:03 +0200)]
lvm: output info on rd_NO_LVM
Harald Hoyer [Fri, 17 Jul 2009 13:02:19 +0000 (15:02 +0200)]
lvm: install lvm.conf in hostonly mode
Harald Hoyer [Fri, 17 Jul 2009 13:01:08 +0000 (15:01 +0200)]
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.
Harald Hoyer [Fri, 17 Jul 2009 13:00:07 +0000 (15:00 +0200)]
mdraid: only install mdadm.conf in hostonly mode
Harald Hoyer [Fri, 17 Jul 2009 12:59:24 +0000 (14:59 +0200)]
mdraid: do not install passwd/group
Harald Hoyer [Fri, 17 Jul 2009 12:57:31 +0000 (14:57 +0200)]
dmraid: handle isw_raid_member if rd_NO_MDIMSM is set in udev ENV
Harald Hoyer [Fri, 17 Jul 2009 12:56:06 +0000 (14:56 +0200)]
dmraid: redirect error to vinfo
Harald Hoyer [Fri, 17 Jul 2009 12:55:37 +0000 (14:55 +0200)]
output info on rd_NO_DM
Harald Hoyer [Fri, 17 Jul 2009 12:54:25 +0000 (14:54 +0200)]
crypt: output info, on rd_NO_LUKS handling
Harald Hoyer [Fri, 17 Jul 2009 12:52:53 +0000 (14:52 +0200)]
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)