Colin Guthrie [Sat, 31 Dec 2011 13:30:58 +0000 (13:30 +0000)]
resume: Fix failure when invalid device passed via 'resume='
This commit allows the waiting for a device to be cancelled.
When the resume partition does not exist, it becomes quite hard
to work out what to do (you have to either create the
/dev/resume symlink manually, or remove the 'finished' job
that is waiting for it). Additionally dracut incorrectly
displays a message about not being able to find the root
device, which is bogus and misleading.
This commit should just bail on the whole resume thing
if the device cannot be found and proceed with a normal boot.
Colin Guthrie [Mon, 26 Dec 2011 23:03:34 +0000 (23:03 +0000)]
btrfs: Ensure crc32c module is installed.
As outlined here:
https://bugs.mageia.org/show_bug.cgi?id=3214
and:
https://bugs.launchpad.net/ubuntu/+source/linux-linaro-omap/+bug/715835
the btrfs module needs a CRC implementation.
Colin Guthrie [Fri, 16 Dec 2011 23:11:39 +0000 (23:11 +0000)]
kernel-modules: Find (and ulitmately dereference) any symlinks in modprobe.d dir.
Also only do the top level of files (ignore any subdirs and files within)
Anssi Hannula [Sat, 3 Dec 2011 11:25:45 +0000 (11:25 +0000)]
plymouth: Include kms modules even if they are not currently loaded.
This should fix initial initrd generation during install.
If the modules are not desired to be used, the nokmsboot kernel
command line should disable them.
Colin Guthrie [Wed, 30 Nov 2011 21:48:26 +0000 (21:48 +0000)]
Only install files from /etc/ld.so.conf.d/ directory
When calling inst_simple() it will ignore anything that
is not a file, so harden the check done before the calling.
Colin Guthrie [Wed, 30 Nov 2011 22:23:54 +0000 (22:23 +0000)]
Handle compressed kmods.
This was orignally from Mandriva patch: dracut-011-plymouth-compressed-kmod.patch
Colin Guthrie [Wed, 30 Nov 2011 22:21:24 +0000 (22:21 +0000)]
Fix Unicode keytable.
This patch was originally from Mandriva: dracut-013-fix_unicode_keytable.patch
Colin Guthrie [Wed, 30 Nov 2011 22:16:01 +0000 (22:16 +0000)]
mkinitrd: Mention the --nocompress option in help output
Originally from Mandriva patch: dracut-010-mkinitrd.patch
Harald Hoyer [Thu, 5 Jan 2012 13:48:57 +0000 (14:48 +0100)]
Makefile: dash does not like {} expansion
removed {} expansion for mandir mkdir for users, which have dash as
/bin/sh
Harald Hoyer [Thu, 5 Jan 2012 13:36:45 +0000 (14:36 +0100)]
Makefile: set bindir to ${prefix}/bin rather than sbin
Brian C. Lane [Wed, 4 Jan 2012 17:21:05 +0000 (09:21 -0800)]
Fix live update script (#769970)
pushd and popd are not available in the shell used by dracut.
Harald Hoyer [Thu, 5 Jan 2012 09:51:00 +0000 (10:51 +0100)]
mkinitrd-dracut.sh: s/read_args/read_arg/g
https://bugzilla.redhat.com/show_bug.cgi?id=771106
Harald Hoyer [Thu, 15 Dec 2011 13:36:37 +0000 (14:36 +0100)]
dracut: add --add-fstab and --mount option
--add-fstab [FILE] Add file to the initramfs fstab
--mount "[DEV] [MP] [FSTYPE] [FSOPTS]"
Mount device [DEV] on mountpoint [MP] with filesystem
[FSTYPE] and options [FSOPTS] in the initramfs
Harald Hoyer [Thu, 15 Dec 2011 13:37:34 +0000 (14:37 +0100)]
99base/dracut-lib.sh: added inst_mount_hook add_mount_point
inst_mount_hook <mountpoint> <prio> <name> <script>
Install a mount hook with priority <prio>,
which executes <script> as soon as <mountpoint> is mounted.
add_mount_point <dev> <mountpoint> <filesystem> <fsopts>
Mount <dev> on <mountpoint> with <filesystem> and <fsopts>
and call any mount hooks, as soon, as it is mounted
Harald Hoyer [Thu, 15 Dec 2011 12:42:16 +0000 (13:42 +0100)]
TEST-12-RAID-DEG: mkdir /run
Harald Hoyer [Fri, 9 Dec 2011 09:28:40 +0000 (10:28 +0100)]
dracut.spec: remove unnecessary dependencies
Since the initramfs generation is done in %postrans of the kernel rpm,
we can drop all hard requirements.
Also make some requirements a conflict to express the version
dependency.
Harald Hoyer [Fri, 9 Dec 2011 09:12:05 +0000 (10:12 +0100)]
99base/dracut-lib.sh: killproc, prefix local variables
Harald Hoyer [Thu, 8 Dec 2011 14:04:04 +0000 (15:04 +0100)]
95iscsi/iscsiroot: unset used variables before starting
If iscsiroot is called multiple times, then some variables can hold the
values of a previous call, so unset all variables before using them.
https://bugzilla.redhat.com/show_bug.cgi?id=752066
Harald Hoyer [Thu, 8 Dec 2011 09:43:29 +0000 (10:43 +0100)]
*/module-setup.sh: use host_fs_types host_devs
For the $hostonly case, use $host_fs_types and $host_devs to determine,
if a module has to be included in the initramfs.
Harald Hoyer [Thu, 8 Dec 2011 09:25:58 +0000 (10:25 +0100)]
dracut: export host_fs_types host_devs
Determine devices and filesystems to be included in the host-only
initramfs image.
To get a minimal initramfs, which can mount
/
/etc
/usr
/usr/bin
/usr/sbin
/usr/lib
/usr/lib64
/boot
we look in fstab for the corresponding devices and determine their and
their slaves' filesystem type and put all that in $host_fs_types
and $host_devs.
Harald Hoyer [Thu, 15 Dec 2011 08:16:35 +0000 (09:16 +0100)]
version 014
Harald Hoyer [Thu, 15 Dec 2011 07:57:58 +0000 (08:57 +0100)]
dracut.spec: only apply patches, if there are any
Harald Hoyer [Thu, 15 Dec 2011 07:50:48 +0000 (08:50 +0100)]
renamed dracut.kernel.7 to dracut.cmdline.7
Harald Hoyer [Mon, 5 Dec 2011 14:07:13 +0000 (15:07 +0100)]
99fs-lib/fs-lib.sh: handle nfs as nop
handle fstype=nfs for fsck and let it be a nop
Harald Hoyer [Fri, 2 Dec 2011 15:47:24 +0000 (16:47 +0100)]
99fs-lib/fs-lib.sh: accept "UUID=" and "LABEL=" for fsck_single
with the reuse of crypt-lib.sh devnames() and putting it in
dracut-lib.sh, fsck_single() can use more generic names from /etc/fstab
Harald Hoyer [Fri, 2 Dec 2011 11:21:32 +0000 (12:21 +0100)]
90mdraid/mdraid-waitclean.sh: add rd.md.waitclean parameter
add rd.md.waitclean parameter, which defaults to 0
https://bugzilla.redhat.com/show_bug.cgi?id=759148
Colin Guthrie [Fri, 2 Dec 2011 10:27:11 +0000 (10:27 +0000)]
Fix /usr mounting due to variable name typo
Harald Hoyer [Wed, 23 Nov 2011 08:29:50 +0000 (09:29 +0100)]
dracut.spec: move sbindir from /sbin to /usr/bin
https://fedoraproject.org/wiki/Features/UsrMove
Harald Hoyer [Wed, 23 Nov 2011 08:42:10 +0000 (09:42 +0100)]
Makefile, dracut.spec: move dracut to /usr/lib/dracut
Move dracut to /usr/lib/dracut.
We should not have picked /usr/share/dracut. Dracut is no ordinary "data".
Harald Hoyer [Thu, 17 Nov 2011 10:01:41 +0000 (11:01 +0100)]
git2spec.pl: strip path from patches
Harald Hoyer [Thu, 17 Nov 2011 09:14:23 +0000 (10:14 +0100)]
90mdraid: wait for md devices to become clean
After assembling all devices, just wait for the raid devices to become
clean, before booting further.
Amadeusz Żołnowski [Wed, 16 Nov 2011 14:17:35 +0000 (15:17 +0100)]
Makefile: Append target files names for man pages.
Edited-By: harald@redhat.com: removed trailing whitespace
Harald Hoyer [Wed, 16 Nov 2011 13:05:57 +0000 (14:05 +0100)]
test: moved TEST-14-IMSM to old.TEST-14-IMSM
TEST-14-IMSM does not work anymore in qemu instances
Harald Hoyer [Wed, 16 Nov 2011 13:04:27 +0000 (14:04 +0100)]
test: introduce $TESTDIR tmpdir
to keep the git source tree clean, test files are now created in a
$TESTDIR created with mktemp.
Harald Hoyer [Wed, 16 Nov 2011 13:03:38 +0000 (14:03 +0100)]
90dmsquash-live: wait for the /dev/mapper/live-rw device
wait for the /dev/mapper/live-rw device
Harald Hoyer [Wed, 16 Nov 2011 10:36:46 +0000 (11:36 +0100)]
cryptroot-ask.sh: use key file, if specified in crypttab and present
if a key file is specified in crypttab and present in the initramfs use
it to open the device.
https://bugzilla.redhat.com/show_bug.cgi?id=751640
Harald Hoyer [Wed, 16 Nov 2011 09:50:21 +0000 (10:50 +0100)]
90mdraid: remove mdadm_auto.sh completly
remove mdadm_auto.sh completly, because "mdadm -As --auto=yes" does not
add new appearing devices.
Harald Hoyer [Tue, 15 Nov 2011 16:12:50 +0000 (17:12 +0100)]
dracut: add install_items to dracut.conf
install_items+=" <file>[ <file> ...] "
Specify additional files to include in the initramfs, separated by
spaces.
Harald Hoyer [Tue, 15 Nov 2011 10:54:14 +0000 (11:54 +0100)]
40network/ifup: add "brd +" to "ip addr add"
Unlike "ifconfig", the "ip" command does not set a broadcast address
unless explicitly requested.
add "brd +" to make "ip" calculate the broadcast address on the fly
Harald Hoyer [Tue, 15 Nov 2011 08:45:19 +0000 (09:45 +0100)]
40network: check for brctl
if a bridge is configured on the kernel command line and brctl is
missing call die()
Harald Hoyer [Tue, 15 Nov 2011 08:43:16 +0000 (09:43 +0100)]
99base/dracut-lib.sh: wait_for_if_up() extend wait time
Some NICs take longer than 2 seconds to ifup. Wait a little bit longer
now (20s).
Harald Hoyer [Wed, 9 Nov 2011 13:40:56 +0000 (14:40 +0100)]
95fcoe: support bnx2fc
To start bnx2fc, we need to run fipvlan only and not dcbtool. DCBX is run
automatically in the hardware, but VLAN discovery needs to be started by
fipvlan.
https://bugzilla.redhat.com/show_bug.cgi?id=736094
Harald Hoyer [Wed, 9 Nov 2011 13:24:59 +0000 (14:24 +0100)]
lvm, dm, dmraid: cleanup, which module installs what
The dm module, which lvm and dmraid depend on, installed dmraid
shared libs. The lvm module installed udev rules, which were
already installed by the dm module.
Cleaned up those issues.
Harald Hoyer [Fri, 23 Sep 2011 12:12:06 +0000 (14:12 +0200)]
02fips-aesni: add fips with aesni-intel
add this dracut module, if you want to start in FIPS mode with
the aesni-intel kernel module
Harald Hoyer [Wed, 9 Nov 2011 13:07:22 +0000 (14:07 +0100)]
dracut: create var/log directory in the initramfs
https://bugzilla.redhat.com/show_bug.cgi?id=701864
Harald Hoyer [Wed, 9 Nov 2011 12:58:54 +0000 (13:58 +0100)]
95iscsi: add iscsiuio
install iscsiuio
start iscsiuio
stop iscsiuio before switching root
Harald Hoyer [Wed, 9 Nov 2011 12:52:55 +0000 (13:52 +0100)]
95iscsi/parse-iscsiroot.sh: force load a lot of kernel modules
A lot of iSCSI driver are not autoloaded, so we have to manually
force load them.
Harald Hoyer [Wed, 9 Nov 2011 12:48:08 +0000 (13:48 +0100)]
95iscsi/iscsiroot: use initiator-name from ibft firmware if unset
If initiator-name is unset, try to read it from the ibft firmware.
Harald Hoyer [Wed, 28 Sep 2011 14:02:59 +0000 (16:02 +0200)]
dracut-lib.sh: add killproc()
Harald Hoyer [Wed, 9 Nov 2011 09:18:58 +0000 (10:18 +0100)]
50plymouth/plymouth-pretrigger.sh: respect primary console setting
The kernel's primary console device is determined by the last "console="
argument on the kernel command line. This setting should be respected by
dracut-generated initial RAM disks.
Steps to Reproduce:
(Easiest using a KVM VM, virt-manager and "virsh console")
1. Boot with a kernel command line ending in
console=tty0 console=ttyS0,115200
2. Observe both tty0 and ttyS0.
The output of init scripts is sent to ttyS0, as the final "console="
argument determines the primary console device as per
Documentation/serial-console.txt in the kernel sources.
https://bugzilla.redhat.com/show_bug.cgi?id=752073
Daniel Drake [Tue, 8 Nov 2011 21:11:40 +0000 (21:11 +0000)]
99base/init: avoid using cp -t
-t is not supported by busybox's cp.
Signed-off-by: Daniel Drake <dsd@laptop.org>
Harald Hoyer [Wed, 9 Nov 2011 08:55:16 +0000 (09:55 +0100)]
dracut.spec: remove xen module
Harald Hoyer [Wed, 9 Nov 2011 08:51:15 +0000 (09:51 +0100)]
Makefile, git2spec.pl: use temporary builddir
to build the dracut rpm, use a temporary builddir
Harald Hoyer [Wed, 9 Nov 2011 08:04:59 +0000 (09:04 +0100)]
99fs-lib/module-setup.sh: only include fsck helper needed for hostonly
for the host-only initramfs, check all relevant disks for the
filesystem type and only include those fsck tools, which are needed.
Harald Hoyer [Mon, 7 Nov 2011 07:52:03 +0000 (08:52 +0100)]
99base/init, 98usrmount: mount /usr if found in /sysroot/etc/fstab
We cannot boot correctly without /usr, because of
http://www.freedesktop.org/wiki/Software/systemd/separate-usr-is-broken
so, we mount /usr readonly.
Harald Hoyer [Mon, 7 Nov 2011 07:46:36 +0000 (08:46 +0100)]
add wait_for_dev() and wait_for_mount()
Harald Hoyer [Wed, 2 Nov 2011 08:09:48 +0000 (09:09 +0100)]
fs-lib: install /etc/e2fsck.conf, if e2fsck is installed
Harald Hoyer [Mon, 7 Nov 2011 08:37:55 +0000 (09:37 +0100)]
90kernel-modules/module-setup.sh: include usb mass storage drivers
Brian C. Lane [Tue, 1 Nov 2011 19:13:57 +0000 (12:13 -0700)]
inst_script should call inst_simple (#750603)
inst_script checks for a shebang, if it doesn't exist it exits.
If it does it should not be calling inst_binary, it should call
inst_simple like it used to.
Will Woods [Thu, 20 Oct 2011 17:57:23 +0000 (13:57 -0400)]
apply-live-updates.sh: copy without glob
cp $SRC/* $DEST will skip dotfiles in $SRC.
( cd $SRC; cp -a -t $DEST . ) will copy everything.
Paolo Bonzini [Thu, 20 Oct 2011 17:15:06 +0000 (19:15 +0200)]
remove the xen dracut module
The Xen module is unnecessary and it has been for a while.
Most Xen systems will not be using the module, even now, because
xen-detect is not installed by default on most Xen systems, and
dracut uses xen-detect to decide whether to include the module.
It also has some problems:
1) it does not try loading xen_platform_pci;
2) it loads modules unnecessarily; modules.alias is where all Xen support
should reside. Assuming xenbus_probe_frontend and xen_platform_pci
are loaded so that Xen devices are probed, other modules are picked up
automatically thanks to aliases such as
alias xen:vbd xen_blkfront
3) Even not-so-recent kernels (say 2.6.32) require the xen_platform_pci
and xenbus_probe_frontend modules even for non-paravirtualized guests.
60xen/module-setup.sh picks the module only for PV guests.
So, just require xenbus_probe_frontend to be builtin, and also
xen_platform_pci for fully-virtualized guests, and remove the module.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Harald Hoyer [Fri, 21 Oct 2011 10:35:34 +0000 (12:35 +0200)]
dracut.spec: require new util-linux version with new switch_root
new switch_root knows how to handle "/run"
Harald Hoyer [Fri, 21 Oct 2011 10:35:07 +0000 (12:35 +0200)]
dracut.spec: apply patches with git
This will take all renames and mode changes.
Harald Hoyer [Fri, 21 Oct 2011 10:33:05 +0000 (12:33 +0200)]
dracut-functions:inst_script() call inst_binary() with found bin
call inst_binary() with the already found executable to prevent
searching for the binary again
Harald Hoyer [Fri, 21 Oct 2011 08:09:55 +0000 (10:09 +0200)]
dracut-functions: do not install files from current directory
Protect against relative pathnames without a slash for all inst_*()
functions.
Harald Hoyer [Fri, 21 Oct 2011 08:15:09 +0000 (10:15 +0200)]
90livenet: do not install by default
Harald Hoyer [Fri, 21 Oct 2011 08:14:49 +0000 (10:14 +0200)]
90dmsquash-live: do not install by default
Harald Hoyer [Fri, 21 Oct 2011 07:35:38 +0000 (09:35 +0200)]
90livenet/module-setup.sh: silence check for wget
Harald Hoyer [Thu, 20 Oct 2011 11:04:30 +0000 (13:04 +0200)]
dracut-functions: inst_dir() handle relative symlinks
Harald Hoyer [Thu, 20 Oct 2011 11:04:10 +0000 (13:04 +0200)]
dracut-logger: re-set debugging
Harald Hoyer [Thu, 20 Oct 2011 10:33:33 +0000 (12:33 +0200)]
90livenet: check() for wget
Michal Soltys [Tue, 18 Oct 2011 18:33:19 +0000 (20:33 +0200)]
minor changes
- in 10i18n - do stty -iutf8 on non-utf8 consoles, for consistency with
iutf8 on utf8 ones
- vim modeline in xml file
Signed-off-by: Michal Soltys <soltys@ziu.info>
Harald Hoyer [Thu, 20 Oct 2011 09:14:10 +0000 (11:14 +0200)]
99base/dracut-lib.sh: add /etc/cmdline/*.conf parsing
modules and overlay images can set default kernel command line
parameters in /etc/cmdline/*.conf in the initramfs.
Harald Hoyer [Thu, 20 Oct 2011 09:13:34 +0000 (11:13 +0200)]
99base/init: fix check for in kernel polling
Harald Hoyer [Thu, 20 Oct 2011 10:13:50 +0000 (12:13 +0200)]
*/module-setup.sh: turn off debugging for module search
turn off debugging for module search, because it clutters the debug log
Harald Hoyer [Thu, 20 Oct 2011 10:13:25 +0000 (12:13 +0200)]
95udev-rules/module-setup.sh: correctly create udevd symlink
Harald Hoyer [Wed, 19 Oct 2011 12:24:07 +0000 (14:24 +0200)]
netroot: do not die, if arping failed
Michal Soltys [Mon, 17 Oct 2011 21:36:33 +0000 (23:36 +0200)]
check root candidates more carefully
This is from the following thread:
http://thread.gmane.org/gmane.linux.raid/35753/focus=35795
Additional tests + more specific info.
Signed-off-by: Michal Soltys <soltys@ziu.info>
[harald@redhat.com: usable_root(): relaxed check for root]
Will Woods [Thu, 13 Oct 2011 02:49:35 +0000 (22:49 -0400)]
dmsquash-live: fix log message about root/liveroot
Will Woods [Thu, 13 Oct 2011 02:48:08 +0000 (22:48 -0400)]
dracut-lib.sh: fix dropped backslashes in CMDLINE
The "read" shell builtin consumes backslashes, which is a problem if
your root device is something like "LABEL=Fedora\x2016".
Using "read -r" tells the shell to leave backslashes alone.
Michal Soltys [Mon, 17 Oct 2011 21:01:49 +0000 (23:01 +0200)]
dracut: remove duplicate options
'-I' and '--fwdir' were both read_arg and push_arg, and the latter has
priority.
Signed-off-by: Michal Soltys <soltys@ziu.info>
Michal Soltys [Mon, 10 Oct 2011 21:58:05 +0000 (23:58 +0200)]
explicitly verify bash version
A simple check in main dracut script.
Signed-off-by: Michal Soltys <soltys@ziu.info>
Michal Soltys [Mon, 10 Oct 2011 21:58:04 +0000 (23:58 +0200)]
bash3 compat patch
This patch replaces:
- {var}>... redirections with functionally identical eval construct +
explicit FDs
- ^^ and ,, case modifiers with temporary shopt
This allows us to lower minimum required bash version
to at least 3.1 (with current code).
Signed-off-by: Michal Soltys <soltys@ziu.info>
Dave Young [Tue, 11 Oct 2011 03:26:54 +0000 (11:26 +0800)]
dracut.conf.5.xml: tag mismatch fix
build failed with:
xsltproc -o dracut.conf.5 -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl dracut.conf.5.xml
dracut.conf.5.xml:169: parser error : Opening and ending tag mismatch: para line 168 and listitem
</listitem>
Fix it by change to </para> at the end
Signed-off-by: Dave Young <dyoung@redhat.com>
Harald Hoyer [Mon, 10 Oct 2011 18:17:16 +0000 (20:17 +0200)]
95udev-rules/module-setup.s: fixed symlink for udevd to initdir
Harald Hoyer [Mon, 10 Oct 2011 09:55:17 +0000 (11:55 +0200)]
dracut.*.xml: s/exisiting/existing/g
Michal Soltys [Fri, 7 Oct 2011 22:20:50 +0000 (00:20 +0200)]
dracut-functions: conv/normalize minor corrections
mostly with reference to earlier commit:
- bash doesn't need unsetting locals
- make normalize_path() a bit faster, also make sure we remove all
trailing slashes
- normalize paths before tests
Signed-off-by: Michal Soltys <soltys@ziu.info>
Michal Soltys [Fri, 7 Oct 2011 20:23:52 +0000 (22:23 +0200)]
manuals: add info about fs-lib (fsck) configuration
in dracut.8.xml & dracut.conf.5.xml
Signed-off-by: Michal Soltys <soltys@ziu.info>
Michal Soltys [Fri, 7 Oct 2011 20:23:51 +0000 (22:23 +0200)]
fs-lib: add ability to choose fsck tools
in dracut.conf:
fscks="<tools>"
nofscks="yes"
and similary on command line:
--fscks [LIST] (in addition to conf's, if defined there)
--nofscks
Signed-off-by: Michal Soltys <soltys@ziu.info>
Michal Soltys [Fri, 7 Oct 2011 20:23:50 +0000 (22:23 +0200)]
dracut.8: add missing lvmconf info
Signed-off-by: Michal Soltys <soltys@ziu.info>
Michal Soltys [Fri, 7 Oct 2011 20:23:49 +0000 (22:23 +0200)]
convert_abs_rel() fixups
- IFS was not preserved, and modified value could leak to outside functions
- the '.' relative path should be returned for arguments such as /x/y/z
/x/y - but not for $1 == $2 ones
- $1 == $2 is self-looping link, so it returns final component of its
name
Signed-off-by: Michal Soltys <soltys@ziu.info>
Dave Young [Mon, 10 Oct 2011 09:41:14 +0000 (11:41 +0200)]
dracut: check mktemp return value
in slackware the default mktemp is not from coreutils.
A simply make in test directory mangled my rootfs due
to initdir is blank
Also mktemp could failed with other reason like ENOSPC or EPERM
WANG Cong [Fri, 7 Oct 2011 07:44:10 +0000 (15:44 +0800)]
update the documentation of '--[no]prefix'
In
commit
fd786adcf515d9d3ee77eb29fa4c6b60020c7209
Author: Harald Hoyer <harald@redhat.com>
Date: Wed Apr 20 16:47:40 2011 +0200
dracut: make prefix configurable
Harald changed the meaning of --prefix/--noprefix, but
forgot to update their documentation. This patch
fixes that.
Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
Harald Hoyer [Thu, 6 Oct 2011 08:25:08 +0000 (10:25 +0200)]
95udev-rules/module-setup.sh: also search in /lib/udev and /usr/lib/udev
Harald Hoyer [Tue, 4 Oct 2011 11:30:35 +0000 (13:30 +0200)]
90mdraid/module-setup.sh: fixed sed arguments
Harald Hoyer [Tue, 4 Oct 2011 11:06:33 +0000 (13:06 +0200)]
90mdraid/mdraid_start.sh: fix path to md sysfs
Harald Hoyer [Tue, 4 Oct 2011 11:03:45 +0000 (13:03 +0200)]
order mdadm and lvm timeout operations
John Reiser [Fri, 23 Sep 2011 16:17:13 +0000 (09:17 -0700)]
dracut [PATCH]es: parallelize block_module filter and net_module_filter
Filtering modules requires enough work that instmods() in the
next pipeline stage was rarely busy. Parallelize the two
filters which do the most work. Also fix a filename-vs-contents
mistake in net_module_filter.
--
John Reiser, jreiser@BitWagon.com
>From
f4533a2ceca52c443ddebec01eeaa35d51c39c1b Mon Sep 17 00:00:00 2001
From: John Reiser <jreiser@BitWagon.com>
Date: Tue, 13 Sep 2011 17:41:43 -0700
Subject: [PATCH 1/3] Parallelize block_module_filter
John Reiser [Fri, 23 Sep 2011 15:02:23 +0000 (08:02 -0700)]
dracut [PATCH] Parameter expansion occurs before command evaluation.
Bash shell expands all ${parameter} before evaluating a command.
For multiple declarations and assignments within the same 'local' command,
then new variables or new values that appear towards the left
do not affect parameter expansion towards the right.
--
John Reiser, jreiser@BitWagon.com
>From
507ad6f66fc66f868a9e5fdd3806e012c4022baa Mon Sep 17 00:00:00 2001
From: John Reiser <jreiser@BitWagon.com>
Date: Fri, 23 Sep 2011 07:37:43 -0700
Subject: [PATCH] Parameter expansion occurs before command evaluation.
${parameter} on the right is expanded before evaluating "local var=value"
on the left.
Michal Soltys [Thu, 22 Sep 2011 15:16:39 +0000 (17:16 +0200)]
90mdraid: adjust /dev/md loops
Include '_' to also handle old partitionable arrays (pre-2.6.28).
Signed-off-by: Michal Soltys <soltys@ziu.info>