platform/upstream/dracut.git
12 years agomdraid: catch nested md raids
Harald Hoyer [Wed, 22 Aug 2012 11:01:53 +0000 (13:01 +0200)]
mdraid: catch nested md raids

Thanks to Ian Dall!

12 years agoudev-rules: Pre usrmove systemd installs might not find udevd.
Colin Guthrie [Thu, 16 Aug 2012 13:27:22 +0000 (14:27 +0100)]
udev-rules: Pre usrmove systemd installs might not find udevd.

If users had switched to systemd-183+ but have not completed
the usrmove, then the variable ${systemdutildir} will likely
refer to /usr/lib/systemd NOT /lib/systemd and thus the
systemd-udevd daemon may not be found.

So let's try a little harder and add another hard coded path
and if we don't find it, then bail out hard.

12 years agoinstall/dracut-install.c: No need to compare the NULL byte each time.
Colin Guthrie [Sat, 18 Aug 2012 10:38:02 +0000 (11:38 +0100)]
install/dracut-install.c: No need to compare the NULL byte each time.

12 years agoinstall/dracut-install.c: Deal gracefully with paths containing double /'s
Colin Guthrie [Tue, 14 Aug 2012 21:32:00 +0000 (22:32 +0100)]
install/dracut-install.c: Deal gracefully with paths containing double /'s

While such paths should not be included internally, we cannot
guarantee that external scripts with shebangs will not do this.

Some older versions of plymouth also resulted in double /'s
in some paths, so best deal with this gracefully.

12 years agoinstall/dracut-install.c: Ensure deps are resolved when handling scripts
Colin Guthrie [Tue, 14 Aug 2012 21:09:39 +0000 (22:09 +0100)]
install/dracut-install.c: Ensure deps are resolved when handling scripts

If we are doing lazy dep solving and happen to process a script with a
shebang on e.g. /bin/bash before we encounter the actual binary itself
we effectively ignore the fact that we've been asked to resolve the deps
and put the item in the 'seen' hashmap. Thus when we later really do try
and resolve deps, we short circuit and don't do anything.

Example test case:

$ cd
$ mkdir -p foo/bin
$ cp /bin/bash foo/bin
$ echo '#!/bin/bash' >foo/bin/script
$ dracut-install -D $HOME/foo -R $HOME/foo/bin/script $HOME/foo/bin/bash

12 years agofips: set /boot as symlink to /sysroot/boot if no boot= parameter
Harald Hoyer [Tue, 21 Aug 2012 13:01:08 +0000 (15:01 +0200)]
fips: set /boot as symlink to /sysroot/boot if no boot= parameter

otherwise sha512hmac will error out with:

sha512hmac -c /sysroot/boot/.vmlinuz-2.6.32-220.el6.x86_64.hmac
Error opening "/boot/vmlinuz-2.6.32-220.el6.x86_64": No such file or directory.

12 years agonetwork: reintroduce rd.neednet
Harald Hoyer [Tue, 21 Aug 2012 12:47:14 +0000 (14:47 +0200)]
network: reintroduce rd.neednet

rd.neednet is used by anaconda and the network interfaces cannot
be known in advance.

12 years agoadd back scsi_wait_scan
Harald Hoyer [Fri, 17 Aug 2012 07:22:12 +0000 (09:22 +0200)]
add back scsi_wait_scan

12 years agomdraid: always create need_shutdown, if we have assembled a raid
Harald Hoyer [Tue, 14 Aug 2012 15:44:46 +0000 (17:44 +0200)]
mdraid: always create need_shutdown, if we have assembled a raid

12 years agoinclude the omap_hsmmc module on arm
Dennis Gilmore [Thu, 2 Aug 2012 10:12:54 +0000 (05:12 -0500)]
include the omap_hsmmc module on arm

12 years agodracut.conf.5.asc: s#dracut/conf.d#dracut.conf.d#g
Harald Hoyer [Wed, 1 Aug 2012 14:35:46 +0000 (16:35 +0200)]
dracut.conf.5.asc: s#dracut/conf.d#dracut.conf.d#g

12 years agodracut.conf.d/gentoo.conf.example: fix header
Amadeusz Żołnowski [Wed, 1 Aug 2012 14:23:24 +0000 (16:23 +0200)]
dracut.conf.d/gentoo.conf.example: fix header

12 years agoCOPYING: updated to recent version of http://www.gnu.org/licenses/gpl-2.0.txt
Harald Hoyer [Wed, 1 Aug 2012 13:53:25 +0000 (15:53 +0200)]
COPYING: updated to recent version of gnu.org/licenses/gpl-2.0.txt

12 years agoversion 023 023
Harald Hoyer [Wed, 1 Aug 2012 13:30:30 +0000 (15:30 +0200)]
version 023

12 years agoensure af_packet module is loaded (if not built-in)
Frederic Crozat [Tue, 31 Jul 2012 13:15:13 +0000 (15:15 +0200)]
ensure af_packet module is loaded (if not built-in)

12 years agoadd package name for openSUSE
Frederic Crozat [Tue, 31 Jul 2012 13:15:00 +0000 (15:15 +0200)]
add package name for openSUSE

12 years agoplymouth/plymouth-pretrigger.sh: s/! -n/-z/
Harald Hoyer [Wed, 1 Aug 2012 12:36:58 +0000 (14:36 +0200)]
plymouth/plymouth-pretrigger.sh: s/! -n/-z/

12 years agobase/dracut-lib.sh: make use of DRACUT_SYSTEMD
Harald Hoyer [Wed, 1 Aug 2012 12:36:38 +0000 (14:36 +0200)]
base/dracut-lib.sh: make use of DRACUT_SYSTEMD

12 years agosplit emergency_shell function
Dave Young [Wed, 1 Aug 2012 10:07:52 +0000 (18:07 +0800)]
split emergency_shell function

Kdump dracut hooks need to enter emergency shell, currently it directly call
"sh -i -l", with recent dracut this does not work anymore without proper ctty.

It will be convinient to seperate a standalone function _emergency_shell for
dracut modules to call.

12 years agotest: s/ib700wdt/i6300esbwdt/g
Harald Hoyer [Wed, 1 Aug 2012 10:52:34 +0000 (12:52 +0200)]
test: s/ib700wdt/i6300esbwdt/g

12 years agotest/Makefile: fixed TESTS parsing
Harald Hoyer [Wed, 1 Aug 2012 10:50:54 +0000 (12:50 +0200)]
test/Makefile: fixed TESTS parsing

12 years agowatchdog: set watchdog timeout with wdctl, if available
Harald Hoyer [Wed, 1 Aug 2012 10:49:45 +0000 (12:49 +0200)]
watchdog: set watchdog timeout with wdctl, if available

"wdctl -s" does not yet exist upstream. I patched
util-linux/sys-utils/wdctl.c to set the timeout.

12 years agoRevert "dracut-functions: $_x should exist, no need to test."
Chao Wang [Wed, 1 Aug 2012 03:23:42 +0000 (11:23 +0800)]
Revert "dracut-functions: $_x should exist, no need to test."

This reverts commit b2d225a6698607bbcb73b6e6d12fbfc5be014102.

When there's no /sys/dev/block/$2/slaves/*/dev/ exists, $_x will
be assigned with '/sys/dev/block/$2/slaves/*/dev/', this is invalid.
That commit will lead to some warn msg like:
cat: /sys/dev/block/8:16/slaves/*/dev: No such file or directory
cat: /sys/dev/block/8:32/slaves/*/dev: No such file or directory

12 years agobase/dracut-lib.sh:ismounted() check for block device rather than pathname
Harald Hoyer [Tue, 31 Jul 2012 12:44:50 +0000 (14:44 +0200)]
base/dracut-lib.sh:ismounted() check for block device rather than pathname

12 years agobase/dracut-lib.sh: fixed ismounted() for "/dev"
Harald Hoyer [Tue, 31 Jul 2012 12:43:05 +0000 (14:43 +0200)]
base/dracut-lib.sh: fixed ismounted() for "/dev"

12 years agoPrevent testsuite runs from non-root users.
Harald Hoyer [Tue, 31 Jul 2012 11:46:51 +0000 (13:46 +0200)]
Prevent testsuite runs from non-root users.

12 years agorootfs-block/mount-root.sh: corrected check for journaldev
Harald Hoyer [Tue, 31 Jul 2012 11:28:45 +0000 (13:28 +0200)]
rootfs-block/mount-root.sh: corrected check for journaldev

12 years agodracut.cmdline.7.asc: corrected rd.retry section
Harald Hoyer [Tue, 31 Jul 2012 11:28:07 +0000 (13:28 +0200)]
dracut.cmdline.7.asc: corrected rd.retry section

12 years agodocument rd.retry and change the default value to 30s
Harald Hoyer [Tue, 31 Jul 2012 10:37:35 +0000 (12:37 +0200)]
document rd.retry and change the default value to 30s

Also start the timeout scripts after 2/3 of the time.

12 years agodracut.cmdline.7: add NOTE about how dracut pipes key to cryptsetup
Amadeusz Żołnowski [Tue, 31 Jul 2012 10:23:18 +0000 (12:23 +0200)]
dracut.cmdline.7: add NOTE about how dracut pipes key to cryptsetup

12 years agodracut.sh: create relative symlinks for /var/lock and /var/run
Harald Hoyer [Tue, 31 Jul 2012 09:48:03 +0000 (11:48 +0200)]
dracut.sh: create relative symlinks for /var/lock and /var/run

12 years agodracut.sh: do not copy /var/run and /var/lock from the system
Harald Hoyer [Tue, 31 Jul 2012 09:44:40 +0000 (11:44 +0200)]
dracut.sh: do not copy /var/run and /var/lock from the system

https://bugs.gentoo.org/show_bug.cgi?id=428142

If /var/run and /var/lock are real directories, we would end up with:
var/lock/lock -> /run/lock
var/run/run -> /run

12 years agoi18n/module-setup.sh: fixed include parsing
Stefan Reimer [Tue, 31 Jul 2012 09:36:17 +0000 (11:36 +0200)]
i18n/module-setup.sh: fixed include parsing

Due to bug in module-setup.sh in the i18n module includes from the main
keymap are not working and not added to the initrd image.

Only one quotation per line is removed. Needs to remove all.

12 years ago99shutdown: remove --no-wall argument for reboot, halt, etc...
Amadeusz Żołnowski [Tue, 31 Jul 2012 08:49:58 +0000 (10:49 +0200)]
99shutdown: remove --no-wall argument for reboot, halt, etc...

In some distros (Gentoo, for example) these commands don't honor
--no-wall argument.

12 years agocrypt/crypt-run-generator.sh: check if crypttab exists
Harald Hoyer [Mon, 30 Jul 2012 20:27:53 +0000 (22:27 +0200)]
crypt/crypt-run-generator.sh: check if crypttab exists

12 years agoremoved finished-ask-password.sh
Harald Hoyer [Mon, 30 Jul 2012 20:19:59 +0000 (22:19 +0200)]
removed finished-ask-password.sh

12 years agoTEST-10-RAID/test.sh: comment debug options
Harald Hoyer [Mon, 30 Jul 2012 19:07:14 +0000 (21:07 +0200)]
TEST-10-RAID/test.sh: comment debug options

12 years agoTODO: update
Harald Hoyer [Mon, 30 Jul 2012 19:07:03 +0000 (21:07 +0200)]
TODO: update

12 years agodmraid,mdraid,lvm,udev: don't process DM_MULTIPATH_DEVICE_PATH devs
Harald Hoyer [Mon, 30 Jul 2012 18:32:39 +0000 (20:32 +0200)]
dmraid,mdraid,lvm,udev: don't process DM_MULTIPATH_DEVICE_PATH devs

12 years agocrypt/crypt-run-generator.sh: do not add already existing luks
Harald Hoyer [Mon, 30 Jul 2012 16:35:30 +0000 (18:35 +0200)]
crypt/crypt-run-generator.sh: do not add already existing luks

12 years agocrypt: add systemd crypt support
Harald Hoyer [Mon, 30 Jul 2012 12:34:55 +0000 (14:34 +0200)]
crypt: add systemd crypt support

12 years agoplymouth/plymouth-pretrigger.sh: don't "exit 0" for a sourced script
Harald Hoyer [Mon, 30 Jul 2012 15:07:43 +0000 (17:07 +0200)]
plymouth/plymouth-pretrigger.sh: don't "exit 0" for a sourced script

12 years agoplymouth/plymouth-newroot.sh: don't "exit 0" for sourced scripts
Harald Hoyer [Mon, 30 Jul 2012 15:06:48 +0000 (17:06 +0200)]
plymouth/plymouth-newroot.sh: don't "exit 0" for sourced scripts

12 years agovirtfs/mount-virtfs.sh: don't exit != 0
Harald Hoyer [Mon, 30 Jul 2012 15:06:23 +0000 (17:06 +0200)]
virtfs/mount-virtfs.sh: don't exit != 0

12 years agosystemd/module-setup.sh: install systemd udev rules
Harald Hoyer [Mon, 30 Jul 2012 15:05:49 +0000 (17:05 +0200)]
systemd/module-setup.sh: install systemd udev rules

12 years agobase/dracut-lib.sh: fixed ismounted(<mountpoint>)
Harald Hoyer [Mon, 30 Jul 2012 15:04:55 +0000 (17:04 +0200)]
base/dracut-lib.sh: fixed ismounted(<mountpoint>)

12 years agoi18n/parse-i18n.sh: remove udev rules
Harald Hoyer [Mon, 30 Jul 2012 15:01:08 +0000 (17:01 +0200)]
i18n/parse-i18n.sh: remove udev rules

12 years agodracut-functions.sh: inst_hook() with [0-9]-<name>
Harald Hoyer [Mon, 30 Jul 2012 15:00:27 +0000 (17:00 +0200)]
dracut-functions.sh: inst_hook() with [0-9]-<name>

12 years agokernel-modules/module-setup.sh: add missing "fi"
Harald Hoyer [Mon, 30 Jul 2012 12:50:14 +0000 (14:50 +0200)]
kernel-modules/module-setup.sh: add missing "fi"

12 years agoset DRACUT_SYSTEMD for systemd mode in the initramfs
Harald Hoyer [Mon, 30 Jul 2012 12:35:26 +0000 (14:35 +0200)]
set DRACUT_SYSTEMD for systemd mode in the initramfs

12 years agodracut.spec: add Requires: kbd kbd-misc
Harald Hoyer [Mon, 30 Jul 2012 11:58:58 +0000 (13:58 +0200)]
dracut.spec: add Requires: kbd kbd-misc

12 years agoplymouth/plymouth-newroot.sh: fixed pre-pivot hook
Harald Hoyer [Mon, 30 Jul 2012 11:39:37 +0000 (13:39 +0200)]
plymouth/plymouth-newroot.sh: fixed pre-pivot hook

12 years agodracut.sh: test if we can lazy resolve with ldd
Harald Hoyer [Mon, 30 Jul 2012 11:02:41 +0000 (13:02 +0200)]
dracut.sh: test if we can lazy resolve with ldd

12 years agodracut-functions: $_x should exist, no need to test.
Chao Wang [Mon, 30 Jul 2012 03:56:29 +0000 (11:56 +0800)]
dracut-functions: $_x should exist, no need to test.

Signed-off-by: Chao Wang <chaowang@redhat.com>
12 years agodracut-lib: add find_mount, use it to implement ismounted
Will Woods [Fri, 27 Jul 2012 17:12:29 +0000 (13:12 -0400)]
dracut-lib: add find_mount, use it to implement ismounted

find_mount is really the same thing as ismounted with two additions:

  1) uses "readlink" so "ismounted /dev/disk/by-label/LABEL" works
  2) returns the mountpoint of the device

And ismounted is now just "find_mount $dev >/dev/null".

12 years agoadd comment for getargbool()
Will Woods [Fri, 27 Jul 2012 17:12:28 +0000 (13:12 -0400)]
add comment for getargbool()

I always forget how getargbool works. Add a comment documenting it.

12 years agodracut.sh: put $drivers and $filesystems back in export
Harald Hoyer [Fri, 27 Jul 2012 14:06:36 +0000 (16:06 +0200)]
dracut.sh: put $drivers and $filesystems back in export

12 years agokernel-modules/module-setup.sh: move "$drivers" "$filesystems" and "$add_drivers...
Harald Hoyer [Fri, 27 Jul 2012 14:03:42 +0000 (16:03 +0200)]
kernel-modules/module-setup.sh: move "$drivers" "$filesystems" and "$add_drivers" to dracut.sh

12 years agoTODO: update
Harald Hoyer [Fri, 27 Jul 2012 14:03:25 +0000 (16:03 +0200)]
TODO: update

12 years agoi18n,terminfo/module-setup.sh: fixed "cp -t" calls
Harald Hoyer [Fri, 27 Jul 2012 13:34:54 +0000 (15:34 +0200)]
i18n,terminfo/module-setup.sh: fixed "cp -t" calls

12 years agoadd "af_packet" kernel module to network testsuite tests
Harald Hoyer [Fri, 27 Jul 2012 13:11:01 +0000 (15:11 +0200)]
add "af_packet" kernel module to network testsuite tests

12 years agofixed i18n and plymouth for systemd
Harald Hoyer [Fri, 27 Jul 2012 12:15:48 +0000 (14:15 +0200)]
fixed i18n and plymouth for systemd

12 years agoi18n/console_init.sh: skip, if we use systemd and use systemd-vconsole-init
Harald Hoyer [Fri, 27 Jul 2012 12:11:22 +0000 (14:11 +0200)]
i18n/console_init.sh: skip, if we use systemd and use systemd-vconsole-init

12 years agocifs/parse-cifsroot.sh: fixed more root/netroot parsing
Harald Hoyer [Fri, 27 Jul 2012 10:40:55 +0000 (12:40 +0200)]
cifs/parse-cifsroot.sh: fixed more root/netroot parsing

12 years agoiscsi/iscsiroot.sh: force link initiatorname
Harald Hoyer [Fri, 27 Jul 2012 10:18:08 +0000 (12:18 +0200)]
iscsi/iscsiroot.sh: force link initiatorname

12 years agoREADME.testsuite: add instructions on how to run the testsuite
Harald Hoyer [Fri, 27 Jul 2012 10:12:09 +0000 (12:12 +0200)]
README.testsuite: add instructions on how to run the testsuite

12 years agofixed install locations for udev rules and change to IMPORT{builtin}
Harald Hoyer [Fri, 27 Jul 2012 09:55:31 +0000 (11:55 +0200)]
fixed install locations for udev rules and change to IMPORT{builtin}

12 years agocifs/parse-cifsroot.sh: do not unset netroot, we need it
Harald Hoyer [Fri, 27 Jul 2012 09:54:24 +0000 (11:54 +0200)]
cifs/parse-cifsroot.sh: do not unset netroot, we need it

12 years agogitignore install/dracut-install
Amadeusz Żołnowski [Fri, 27 Jul 2012 07:34:17 +0000 (09:34 +0200)]
gitignore install/dracut-install

12 years agoMakefile: add dependencies for dracut-install (generated with gcc -MM)
Amadeusz Żołnowski [Fri, 27 Jul 2012 07:34:32 +0000 (09:34 +0200)]
Makefile: add dependencies for dracut-install (generated with gcc -MM)

12 years agodracut.spec: add cifs module
Harald Hoyer [Fri, 27 Jul 2012 04:26:26 +0000 (06:26 +0200)]
dracut.spec: add cifs module

12 years agodracut-functions.sh:inst_rule_programs() fix error messages
Harald Hoyer [Thu, 26 Jul 2012 17:35:12 +0000 (19:35 +0200)]
dracut-functions.sh:inst_rule_programs() fix error messages

12 years agoinstall/dracut-install.c: convert destrootdir to realpath
Harald Hoyer [Thu, 26 Jul 2012 17:21:06 +0000 (19:21 +0200)]
install/dracut-install.c: convert destrootdir to realpath

otherwise we get strange errors if it ends with a slash and does not
exist.

12 years agodracut-functions.sh:inst_rule_programs() fixed IMPORT{program}
Harald Hoyer [Thu, 26 Jul 2012 17:12:40 +0000 (19:12 +0200)]
dracut-functions.sh:inst_rule_programs() fixed IMPORT{program}

12 years agogentoo.conf: enable ro_mnt
Amadeusz Żołnowski [Thu, 26 Jul 2012 17:04:30 +0000 (19:04 +0200)]
gentoo.conf: enable ro_mnt

12 years agoplymouth: do not start plymouth via dracut for systemd in the initramfs
Harald Hoyer [Thu, 26 Jul 2012 16:59:36 +0000 (18:59 +0200)]
plymouth: do not start plymouth via dracut for systemd in the initramfs

12 years agoAdded cifs
Mike Gorse [Thu, 26 Jul 2012 14:17:18 +0000 (09:17 -0500)]
Added cifs

12 years agonfs/module-setup.sh: check for "rpc.rpc" before running chown
Harald Hoyer [Thu, 26 Jul 2012 16:12:05 +0000 (18:12 +0200)]
nfs/module-setup.sh: check for "rpc.rpc" before running chown

12 years agoparse-root-opts: first check for ro, later for rw
Amadeusz Żołnowski [Thu, 26 Jul 2012 13:58:27 +0000 (15:58 +0200)]
parse-root-opts: first check for ro, later for rw

This order is already in 98usrmount.

12 years agobase/module-setup.sh: removed mount-hook
Harald Hoyer [Thu, 26 Jul 2012 15:35:25 +0000 (17:35 +0200)]
base/module-setup.sh: removed mount-hook

12 years agoREADME.testsuite updated with requirements for TEST-04-SYSTEMD
Harald Hoyer [Thu, 26 Jul 2012 15:26:31 +0000 (17:26 +0200)]
README.testsuite updated with requirements for TEST-04-SYSTEMD

12 years agomv rootfs-block/module-setup.sh:search_option() in dracut-functions.sh
Harald Hoyer [Thu, 26 Jul 2012 15:22:14 +0000 (17:22 +0200)]
mv rootfs-block/module-setup.sh:search_option() in dracut-functions.sh

new function fs_get_option()

12 years agoro_mnt - option at build time to force ro mount of / and /usr
Amadeusz Żołnowski [Thu, 26 Jul 2012 14:44:09 +0000 (16:44 +0200)]
ro_mnt - option at build time to force ro mount of / and /usr

12 years agodracut-functions.sh: corrected usage comment of find_mp_fstype()
Harald Hoyer [Thu, 26 Jul 2012 15:05:24 +0000 (17:05 +0200)]
dracut-functions.sh: corrected usage comment of find_mp_fstype()

12 years agorootfs-block/module-setup.sh: add support for xfs / reiserfs separate journal device
Harald Hoyer [Thu, 26 Jul 2012 15:00:47 +0000 (17:00 +0200)]
rootfs-block/module-setup.sh: add support for xfs / reiserfs separate journal device

xfs and reiserfs (among other) supports storing journal data to a
separate device. Unfortunately, XFS requires this information to boot
properly (reiserfs can embed the information in its metadata but you
might want to override it).

Frederic Crozat <fcrozat@suse.com>

12 years agodracut-functions.sh: add find_mp_fstype()
Harald Hoyer [Thu, 26 Jul 2012 15:00:07 +0000 (17:00 +0200)]
dracut-functions.sh: add find_mp_fstype()

12 years agoPATCH: add support for xfs / reiserfs separate journal device
Frederic Crozat [Thu, 26 Jul 2012 13:16:22 +0000 (15:16 +0200)]
PATCH: add support for xfs / reiserfs separate journal device

xfs and reiserfs (among other) supports storing journal data to a
separate device. Unfortunately, XFS requires this information to boot
properly (reiserfs can embed the information in its metadata but you
might want to override it).

Attached patch ensure host information are stored in initramfs and also
allows to give data over kernel commandline.

--
Frederic Crozat <fcrozat@suse.com>
SUSE

>From a7c592b9bb7de0d7874ae51d02944a7eee2ec75b Mon Sep 17 00:00:00 2001
From: Frederic Crozat <fcrozat@suse.com>
Date: Tue, 24 Jul 2012 18:52:17 +0200
Subject: [PATCH] Add support for separate journal on reiserfs and xfs

12 years agomodules.d/99base/mount-hook.sh is not used - removed
Amadeusz Żołnowski [Thu, 26 Jul 2012 13:05:27 +0000 (15:05 +0200)]
modules.d/99base/mount-hook.sh is not used - removed

12 years agoapply "ro" and "rw" options from cmdline to / mount
Amadeusz Żołnowski [Thu, 26 Jul 2012 13:05:26 +0000 (15:05 +0200)]
apply "ro" and "rw" options from cmdline to / mount

rflags is no longer guaranteed to be non empty.  / is mounted according
to rootflags parameter but forced ro at first.  Later it is remounted
according to /etc/fstab + rootflags parameter and "ro"/"rw".  If
parameters are still the same as for first mount, / isn't remounted.

Conflicts:

    modules.d/95rootfs-block/mount-root.sh
    modules.d/99base/parse-root-opts.sh

12 years agodracut-lib: new functions: listlist and are_lists_eq
Amadeusz Żołnowski [Thu, 26 Jul 2012 13:05:25 +0000 (15:05 +0200)]
dracut-lib: new functions: listlist and are_lists_eq

listlist is like strstr for lists with specified separator and
are_lists_eq uses listlist to check equality of specified lists.

12 years ago98usrmount: [ "x$_usr_found" != "x" ] - removed redundant 'x'
Amadeusz Żołnowski [Thu, 26 Jul 2012 13:05:24 +0000 (15:05 +0200)]
98usrmount: [ "x$_usr_found" != "x" ] - removed redundant 'x'

12 years ago98usrmount: print mount options
Amadeusz Żołnowski [Thu, 26 Jul 2012 13:05:23 +0000 (15:05 +0200)]
98usrmount: print mount options

12 years ago98usrmount: use rw and ro options instead of rd.usrmount.ro
Amadeusz Żołnowski [Thu, 26 Jul 2012 13:05:22 +0000 (15:05 +0200)]
98usrmount: use rw and ro options instead of rd.usrmount.ro

In result /usr is forced to be mounted ro or rw along with /.

12 years ago95rootfs-block: fix left fsck rel. checks
Amadeusz Żołnowski [Thu, 26 Jul 2012 13:05:21 +0000 (15:05 +0200)]
95rootfs-block: fix left fsck rel. checks

12 years agosystemd/dracut-cmdline.sh: output dracut version
Harald Hoyer [Thu, 26 Jul 2012 12:23:31 +0000 (14:23 +0200)]
systemd/dracut-cmdline.sh: output dracut version

12 years agoMakefile: use symlink for topsrcdir/dracut-install
Harald Hoyer [Thu, 26 Jul 2012 10:27:29 +0000 (12:27 +0200)]
Makefile: use symlink for topsrcdir/dracut-install

12 years agomultipath/module-setup.sh: add dm dependency
Harald Hoyer [Thu, 26 Jul 2012 10:43:20 +0000 (12:43 +0200)]
multipath/module-setup.sh: add dm dependency

12 years agoMakefile: fixed dracut-install make target
Harald Hoyer [Thu, 26 Jul 2012 09:50:50 +0000 (11:50 +0200)]
Makefile: fixed dracut-install make target

12 years ago90multipath: added kpartx.rules; multipath.rules - different prefix
Amadeusz Żołnowski [Thu, 26 Jul 2012 09:38:04 +0000 (11:38 +0200)]
90multipath: added kpartx.rules; multipath.rules - different prefix

12 years ago90kernel-modules: remove unused variables in install()
Cong Wang [Thu, 26 Jul 2012 07:39:13 +0000 (15:39 +0800)]
90kernel-modules: remove unused variables in install()

The local variables in install() are unused, can be removed.

Cc: Harald Hoyer <harald@redhat.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>