platform/upstream/dracut.git
13 years agodracut.spec: fixed rhel/fedora version checks
Harald Hoyer [Mon, 29 Aug 2011 11:11:49 +0000 (13:11 +0200)]
dracut.spec: fixed rhel/fedora version checks

13 years ago90mdraid/65-md-incremental-imsm.rules: incremental run to settled
Harald Hoyer [Wed, 24 Aug 2011 14:35:33 +0000 (16:35 +0200)]
90mdraid/65-md-incremental-imsm.rules: incremental run to settled

move incremental run to settled queue again

https://bugzilla.redhat.com/show_bug.cgi?id=732967

13 years agodracut-functions: fix inst_dir() for non-absolute dirs
Harald Hoyer [Tue, 23 Aug 2011 10:50:03 +0000 (12:50 +0200)]
dracut-functions: fix inst_dir() for non-absolute dirs

13 years agoluks key on ext dev - wait for luks
Przemysław Rudy [Mon, 22 Aug 2011 09:27:00 +0000 (11:27 +0200)]
luks key on ext dev - wait for luks

This really waits for the luks mapper device, so luksOpen can do it job

13 years agocrypt: changed cmdline arg name from rd.luks.tout to rd.luks.key.tout
Amadeusz Żołnowski [Sun, 21 Aug 2011 08:26:40 +0000 (10:26 +0200)]
crypt: changed cmdline arg name from rd.luks.tout to rd.luks.key.tout

13 years agoluks key on ext dev - wait for luks
Przemysław Rudy [Tue, 7 Jun 2011 18:22:51 +0000 (20:22 +0200)]
luks key on ext dev - wait for luks

This asks for the luks passphrase if key is not found for defined time (if defined with rd.luks.tout cmd line):

 modules.d/90crypt/cryptroot-ask.sh |   21 ++++++++++++++++++---
 modules.d/90crypt/parse-crypt.sh   |    5 +++--
 2 files changed, 21 insertions(+), 5 deletions(-)

13 years agolivenet: take into account other ca-bundle paths; use inst_any for that
Amadeusz Żołnowski [Sun, 21 Aug 2011 10:47:14 +0000 (12:47 +0200)]
livenet: take into account other ca-bundle paths; use inst_any for that

13 years agodracut-functions: new function: inst_any [-d dest] f1 [f2 [f3 ...]]
Amadeusz Żołnowski [Sun, 21 Aug 2011 10:47:13 +0000 (12:47 +0200)]
dracut-functions: new function: inst_any [-d dest] f1 [f2 [f3 ...]]

13 years ago99base: whitespace fix
Leho Kraav [Mon, 22 Aug 2011 08:54:47 +0000 (11:54 +0300)]
99base: whitespace fix

13 years ago90crypt: ask_for_password pings plymouthd
Amadeusz Żołnowski [Thu, 18 Aug 2011 13:55:57 +0000 (15:55 +0200)]
90crypt: ask_for_password pings plymouthd

If plymouthd is not started, ask_for_password shouldn't try to prompt
for password with GUI and should use text prompt instead.

13 years agodracut-functions: speed up inst_dir()
Harald Hoyer [Fri, 19 Aug 2011 08:24:49 +0000 (10:24 +0200)]
dracut-functions: speed up inst_dir()

13 years agobuild initramfs: prelink --undo /sbin/*
John Reiser [Fri, 19 Aug 2011 03:55:35 +0000 (20:55 -0700)]
build initramfs: prelink --undo /sbin/*

Fix a typo (omitting the 's' in "sbin") which caused
"prelink --undo" twice on      /bin/*,  and
"prelink --undo" omitted for  /sbin/*.

13 years agodracut: unset LD_LIBRARY_PATH
Harald Hoyer [Fri, 19 Aug 2011 06:08:18 +0000 (08:08 +0200)]
dracut: unset LD_LIBRARY_PATH

LD_LIBRARY_PATH is not set in the initramfs, so it should not be set
while finding our libraries.

13 years agodracut-functions: s/emergency-shutdown/shutdown-emergency/g
Harald Hoyer [Wed, 17 Aug 2011 15:40:59 +0000 (17:40 +0200)]
dracut-functions: s/emergency-shutdown/shutdown-emergency/g

13 years agoadd TEST-16-DMSQUASH
Harald Hoyer [Wed, 17 Aug 2011 11:42:16 +0000 (13:42 +0200)]
add TEST-16-DMSQUASH

This is a test for Fedora LiveCDs created via livecd-tools

13 years agoprofile.py: parse the output of "dracut --profile" for profiling
Harald Hoyer [Wed, 17 Aug 2011 08:08:23 +0000 (10:08 +0200)]
profile.py: parse the output of "dracut --profile" for profiling

13 years agofix live crash with livenet installed
Will Woods [Mon, 15 Aug 2011 15:10:59 +0000 (11:10 -0400)]
fix live crash with livenet installed

parse-livenet.sh shouldn't mess with $root unless it finds a valid URL.

13 years ago90dmsquash-live/dmsquash-live-root: include fs_lib.sh for det_fs()
Harald Hoyer [Wed, 17 Aug 2011 06:24:30 +0000 (08:24 +0200)]
90dmsquash-live/dmsquash-live-root: include fs_lib.sh for det_fs()

https://bugzilla.redhat.com/show_bug.cgi?id=730579

13 years agoadd x-bit to *.sh
Harald Hoyer [Fri, 12 Aug 2011 14:29:28 +0000 (16:29 +0200)]
add x-bit to *.sh

13 years agoversion 013 013
Harald Hoyer [Fri, 12 Aug 2011 14:17:58 +0000 (16:17 +0200)]
version 013

13 years agodracut-functions: fixed inst_dir for symbolic links
Harald Hoyer [Fri, 12 Aug 2011 13:56:14 +0000 (15:56 +0200)]
dracut-functions: fixed inst_dir for symbolic links

13 years agodracut: add "--profile" option for profiling
Harald Hoyer [Fri, 12 Aug 2011 11:24:25 +0000 (13:24 +0200)]
dracut: add "--profile" option for profiling

13 years agodracut-functions: use "type -P" for find_binary()
Harald Hoyer [Fri, 12 Aug 2011 11:22:17 +0000 (13:22 +0200)]
dracut-functions: use "type -P" for find_binary()

13 years ago90dmraid: don't install non-existent dmraid-cleanup
Harald Hoyer [Fri, 12 Aug 2011 11:13:06 +0000 (13:13 +0200)]
90dmraid: don't install non-existent dmraid-cleanup

13 years agouse inst_simple to install non-binary files
Harald Hoyer [Fri, 12 Aug 2011 11:11:30 +0000 (13:11 +0200)]
use inst_simple to install non-binary files

13 years agoadd filter_kernel_modules_by_path() to speed up module search
Harald Hoyer [Fri, 12 Aug 2011 08:29:00 +0000 (10:29 +0200)]
add filter_kernel_modules_by_path() to speed up module search

13 years agoAUTHORS: update
Harald Hoyer [Fri, 12 Aug 2011 08:28:10 +0000 (10:28 +0200)]
AUTHORS: update

13 years ago90kernel-modules: add unix module
Harald Hoyer [Fri, 12 Aug 2011 08:08:09 +0000 (10:08 +0200)]
90kernel-modules: add unix module

13 years agoremoved sourceforge references
Harald Hoyer [Fri, 12 Aug 2011 07:53:40 +0000 (09:53 +0200)]
removed sourceforge references

13 years agoadd apply-live-updates.sh to pre-pivot hook 012
Will Woods [Mon, 1 Aug 2011 20:21:09 +0000 (16:21 -0400)]
add apply-live-updates.sh to pre-pivot hook

If we're about to start a Live image (i.e. if /dev/mapper/live-rw
exists) this script will take any files found in /updates (inside the
initramfs!) and and copy them into $NEWROOT.

This allows for hotfixes to be applied to existing Live images without
rebuilding the entire image.

Signed-off-by: Will Woods <wwoods@redhat.com>
13 years agodmsquash-live-root: determine img type by contents, not name
Will Woods [Mon, 1 Aug 2011 20:21:08 +0000 (16:21 -0400)]
dmsquash-live-root: determine img type by contents, not name

Currently dmsquash-live-root requires that squashfs images be named
"squashfs.img" and all others be "ext3fs.img" or "rootfs.img".

If we've got a live image in initramfs, this patch will make dracut use
losetup and det_fs to determine the actual filesystem type of the image.

Signed-off-by: Will Woods <wwoods@redhat.com>
13 years agodmsquash-live-root cleanups/mini-fixes
Will Woods [Mon, 1 Aug 2011 20:21:07 +0000 (16:21 -0400)]
dmsquash-live-root cleanups/mini-fixes

- use last ro/rw cmdline arg rather than favoring 'rw' over 'ro'
- don't bother with useless RES variable for holding $?
- only do fs check when $livedev is a block device

Signed-off-by: Will Woods <wwoods@redhat.com>
13 years agoMakefile: increment version to 012
Harald Hoyer [Thu, 11 Aug 2011 15:52:58 +0000 (17:52 +0200)]
Makefile: increment version to 012

13 years agoNEWS: update
Harald Hoyer [Fri, 29 Jul 2011 09:11:49 +0000 (11:11 +0200)]
NEWS: update

13 years ago90btrfs: add btrfs device with multiple components
Harald Hoyer [Thu, 11 Aug 2011 14:56:52 +0000 (16:56 +0200)]
90btrfs: add btrfs device with multiple components

13 years ago99fs-lib: add btrfsck
Harald Hoyer [Thu, 11 Aug 2011 14:56:03 +0000 (16:56 +0200)]
99fs-lib: add btrfsck

13 years agoTEST-11-LVM/create-root.sh: sleep before disassembling device
Harald Hoyer [Thu, 11 Aug 2011 13:35:08 +0000 (15:35 +0200)]
TEST-11-LVM/create-root.sh: sleep before disassembling device

13 years agoTEST-40-NBD/test.sh: source reformat
Harald Hoyer [Thu, 11 Aug 2011 12:24:23 +0000 (14:24 +0200)]
TEST-40-NBD/test.sh: source reformat

13 years agoTEST-40-NBD/create-root.sh: sleep before disassembling root device
Harald Hoyer [Thu, 11 Aug 2011 12:23:56 +0000 (14:23 +0200)]
TEST-40-NBD/create-root.sh: sleep before disassembling root device

13 years ago95rootfs-block/mount-root.sh: also parse rootopts for "_netdev"
Harald Hoyer [Thu, 11 Aug 2011 12:23:27 +0000 (14:23 +0200)]
95rootfs-block/mount-root.sh: also parse rootopts for "_netdev"

13 years ago95nbd/nbdroot: also mount nbd0 for root=dhcp and missing root=
Harald Hoyer [Thu, 11 Aug 2011 12:22:47 +0000 (14:22 +0200)]
95nbd/nbdroot: also mount nbd0 for root=dhcp and missing root=

13 years ago40network/parse-bridge.sh: fixed bridge parameter parsing
Harald Hoyer [Thu, 11 Aug 2011 12:22:09 +0000 (14:22 +0200)]
40network/parse-bridge.sh: fixed bridge parameter parsing

13 years agodracut: add --force-add option
Amerigo Wang [Mon, 1 Aug 2011 02:01:23 +0000 (10:01 +0800)]
dracut: add --force-add option

This patch adds a new option --force-add, which
can force dracut to load some module when -H
is specified.

Signed-off-by: Amerigo Wang <amwang@redhat.com>
13 years agolsinitrd: display the size of initrd
Amerigo Wang [Mon, 1 Aug 2011 06:55:15 +0000 (14:55 +0800)]
lsinitrd: display the size of initrd

It is useful to display the size of initrd in human-friendly form.

Signed-off-by: Amerigo Wang <amwang@redhat.com>
13 years agodracut.spec: add livenet and fs-lib
Harald Hoyer [Thu, 11 Aug 2011 10:05:27 +0000 (12:05 +0200)]
dracut.spec: add livenet and fs-lib

13 years agoTEST-12-RAID-DEG/test.sh: uncomment rd.shell
Harald Hoyer [Thu, 11 Aug 2011 09:53:31 +0000 (11:53 +0200)]
TEST-12-RAID-DEG/test.sh: uncomment rd.shell

13 years agoturn off masterkey,ecryptfs,integrity by default
Harald Hoyer [Thu, 11 Aug 2011 09:47:56 +0000 (11:47 +0200)]
turn off masterkey,ecryptfs,integrity by default

13 years ago90mdraid: move force assembly to timeout initqueue
Harald Hoyer [Thu, 11 Aug 2011 09:45:16 +0000 (11:45 +0200)]
90mdraid: move force assembly to timeout initqueue

13 years ago90lvm/lvm_scan.sh: use "--partial" to force assembly incomplete VGs
Harald Hoyer [Fri, 5 Aug 2011 11:05:21 +0000 (13:05 +0200)]
90lvm/lvm_scan.sh: use "--partial" to force assembly incomplete VGs

If our internal loop counter is bigger than half of the maximum
count, try to assemble lvm device partially with the "--partial"
option.

https://bugzilla.redhat.com/show_bug.cgi?id=723548

13 years ago99base: add timeout queue
Harald Hoyer [Fri, 5 Aug 2011 09:53:41 +0000 (11:53 +0200)]
99base: add timeout queue

timeout queue is executed after half of the maximum retry count and if
jobs are found there, the counter is reset to zero.

13 years agoMakefile: do not remove rpmbuild on fail
Harald Hoyer [Thu, 11 Aug 2011 09:35:21 +0000 (11:35 +0200)]
Makefile: do not remove rpmbuild on fail

13 years agogit2spec.pl: filter patches with no file changes
Harald Hoyer [Thu, 11 Aug 2011 09:33:37 +0000 (11:33 +0200)]
git2spec.pl: filter patches with no file changes

13 years ago01fips/installkernel: add dm-mod and dm-crypt to the fipsmodules
Harald Hoyer [Fri, 5 Aug 2011 11:16:27 +0000 (13:16 +0200)]
01fips/installkernel: add dm-mod and dm-crypt to the fipsmodules

https://bugzilla.redhat.com/show_bug.cgi?id=707609

13 years ago98selinux: use setenforce to force permissive mode
Harald Hoyer [Thu, 11 Aug 2011 09:29:50 +0000 (11:29 +0200)]
98selinux: use setenforce to force permissive mode

13 years ago90dm: install libdevmapper-event* for 90dm and cleanup 90dmraid
Harald Hoyer [Thu, 11 Aug 2011 09:26:43 +0000 (11:26 +0200)]
90dm: install libdevmapper-event* for 90dm and cleanup 90dmraid

13 years ago90dm/dm-pre-udev.sh: load dm-mirror module
Harald Hoyer [Fri, 5 Aug 2011 11:30:57 +0000 (13:30 +0200)]
90dm/dm-pre-udev.sh: load dm-mirror module

13 years ago95rootfs-block/mount-root.sh: comment out fstab generation
Michal Soltys [Thu, 2 Jun 2011 21:22:15 +0000 (23:22 +0200)]
95rootfs-block/mount-root.sh: comment out fstab generation

fsck_single() operates directly on the device, so fstab is not
necessary. fs-lib functions make sure fscks don't complain.
Code is only commented out just in case I missed something.

13 years ago95rootfs-block/mount-root.sh: squash rootopts into rflags
Michal Soltys [Thu, 2 Jun 2011 21:22:14 +0000 (23:22 +0200)]
95rootfs-block/mount-root.sh: squash rootopts into rflags

Small simplification - prepend rootopts to rflags before mount
operations. Shortens resulting command lines quite a bit.

13 years agoimplement fs-lib, squash a few bugs that were part of det_fs/wrap_fsck
Michal Soltys [Thu, 2 Jun 2011 21:22:12 +0000 (23:22 +0200)]
implement fs-lib, squash a few bugs that were part of det_fs/wrap_fsck

To not pollute dracut-lib.sh, all the fsck related functions were moved
to fs-lib.sh. The functions available are as follows:

- fsck_single

this will detect/verify filesystem, check if it has necessary tools and
check the filesystem respecting additional flags (if any), using
specific "driver" (or falling back to generic one). Currently
available: fsck_drv_{com,xfs,std}. 'com' is used for tools following
typical subset of options/return codes (e.g. ext, jfs), 'std' is used
for "unknown" fs and doesn't assume it can be run non-interactively.

Please see comments around the code for more info.

- fsck_batch

this will check provided list of the devices;

Both of the above functions will fake empty fstab, to make generic fsck
not complain too much (excact devices are always provided on the command
line).

"Known" filesystems currently: ext234, reiser, jfs, xfs

- det_fs

Small bug fixed - as this function is meant to be called in $(), it may
not be verbose.
Current behaviour is:
 - if detection is successful, use its result
 - if detection is not successful, and filesystem is provided, return
   the provided one; otherwise use auto

13 years ago95rootfs-block/mount-root.sh: '-a' for ext? is handled in fs-lib now
Michal Soltys [Thu, 2 Jun 2011 21:22:13 +0000 (23:22 +0200)]
95rootfs-block/mount-root.sh: '-a' for ext? is handled in fs-lib now

Previously, '-a' was added for ext[234] filesystems if other
conflicting flag were not present. It's being done automatically
in fsck_drv_com() now (also for jfs and reiser).

13 years agolivenet: module for fetching live images from the network
Will Woods [Mon, 1 Aug 2011 20:22:40 +0000 (16:22 -0400)]
livenet: module for fetching live images from the network

The livenet module allows you to use a root arg like:

    root=live:http://server.name/path/to/live.img ip=dhcp

The named live image will be downloaded with wget and then set up as the
root device.

It currently supports FTP, HTTP, and HTTPS. dracut will try to install
the CA bundle (/etc/ssl/certs/ca-bundle.crt) into the initramfs so that
SSL certificate checking will work properly.

If an HTTPS URL is given and the site fails the certificate check, the
file will be rejected and the system will not boot into it.

Signed-off-by: Will Woods <wwoods@redhat.com>
13 years agomodules.d/90mdraid/65-md-incremental-imsm.rules: fix md_finished install
Harald Hoyer [Thu, 11 Aug 2011 08:48:00 +0000 (10:48 +0200)]
modules.d/90mdraid/65-md-incremental-imsm.rules: fix md_finished install

13 years agotest/TEST-13-ENC-RAID-LVM/create-root.sh: wait before disassembling lvm
Harald Hoyer [Thu, 11 Aug 2011 08:47:34 +0000 (10:47 +0200)]
test/TEST-13-ENC-RAID-LVM/create-root.sh: wait before disassembling lvm

13 years agoinitqueue: exit with 0
Harald Hoyer [Thu, 11 Aug 2011 08:47:10 +0000 (10:47 +0200)]
initqueue: exit with 0

13 years agodracut-lib.sh: fixed getargs() for empty arguments
Harald Hoyer [Wed, 10 Aug 2011 18:03:21 +0000 (20:03 +0200)]
dracut-lib.sh: fixed getargs() for empty arguments

13 years agodracut-lib.sh: getarg() echo with "" to prevent wildcard subst
Harald Hoyer [Thu, 4 Aug 2011 11:19:00 +0000 (13:19 +0200)]
dracut-lib.sh: getarg() echo with "" to prevent wildcard subst

if a value of a key on the kernel command line includes wildcards, these
would be expanded.
E.g., if you have "key=/dev/sd*" the value would be substituted with
"/dev/sda /dev/sda1 /dev/sda2" instead of returning "/dev/sd*"

13 years ago99base/init: use udevadm control to set the logging priority
Harald Hoyer [Tue, 2 Aug 2011 12:57:49 +0000 (14:57 +0200)]
99base/init: use udevadm control to set the logging priority

due to a bad revert commit, "udevadm control" was converted to
"udevproperty", which is the wrong command to set the logging priority.

13 years agodracut-functions: create relative symlinks for libraries
Harald Hoyer [Wed, 10 Aug 2011 15:38:02 +0000 (17:38 +0200)]
dracut-functions: create relative symlinks for libraries

13 years agodracut.spec: add 97masterkey 98ecryptfs 98integrity
Harald Hoyer [Fri, 29 Jul 2011 09:14:41 +0000 (11:14 +0200)]
dracut.spec: add 97masterkey 98ecryptfs 98integrity

13 years agogit2spec.pl: make rename diffs
Harald Hoyer [Fri, 29 Jul 2011 09:12:07 +0000 (11:12 +0200)]
git2spec.pl: make rename diffs

13 years agoparse-lvm.sh: fix for generated initqueue/finished script
Michal Soltys [Thu, 28 Jul 2011 12:40:10 +0000 (14:40 +0200)]
parse-lvm.sh: fix for generated initqueue/finished script

The script that was generated always returned the status of the last test
condition, potentially missing any earlier non-existing devices.

The change assures, that the script returns 0 only if all expected
devices are found.

Signed-off-by: Michal Soltys <soltys@ziu.info>
13 years agodracut: added new module ecryptfs
Roberto Sassu [Fri, 8 Jul 2011 12:11:02 +0000 (14:11 +0200)]
dracut: added new module ecryptfs

This module mounts an eCryptfs filesystem from the initial ramdisk using an
encrypted key.

Signed-off-by: Roberto Sassu <roberto.sassu@polito.it>
Acked-by: Gianluca Ramunno <ramunno@polito.it>
13 years agodracut: added new module integrity
Roberto Sassu [Fri, 8 Jul 2011 12:11:01 +0000 (14:11 +0200)]
dracut: added new module integrity

This module initializes the EVM software and permits to load a custom IMA
policy.

Signed-off-by: Roberto Sassu <roberto.sassu@polito.it>
Acked-by: Gianluca Ramunno <ramunno@polito.it>
13 years agodracut: added new module masterkey
Roberto Sassu [Fri, 8 Jul 2011 12:11:00 +0000 (14:11 +0200)]
dracut: added new module masterkey

This module initializes a trusted/user kernel master key that will be used
to decrypt other encrypted keys.

Signed-off-by: Roberto Sassu <roberto.sassu@polito.it>
Acked-by: Gianluca Ramunno <ramunno@polito.it>
13 years agobase/init: mount the securityfs filesystem
Roberto Sassu [Fri, 8 Jul 2011 12:10:59 +0000 (14:10 +0200)]
base/init: mount the securityfs filesystem

Mount the securityfs filesystem and make available its location through the
exported variable SECURITYFSDIR.

Signed-off-by: Roberto Sassu <roberto.sassu@polito.it>
Acked-by: Gianluca Ramunno <ramunno@polito.it>
13 years agodracut-update-initramfs: removed on request of the debian maintainer
Harald Hoyer [Mon, 25 Jul 2011 16:01:02 +0000 (18:01 +0200)]
dracut-update-initramfs: removed on request of the debian maintainer

13 years agodracut-functions: remove double slashes, for symlink conversion
Harald Hoyer [Mon, 25 Jul 2011 12:28:55 +0000 (14:28 +0200)]
dracut-functions: remove double slashes, for symlink conversion

remove double slashes for symlink conversion from absolute to relative

13 years agodracut: install /lib* for kernel images
Harald Hoyer [Mon, 25 Jul 2011 12:28:40 +0000 (14:28 +0200)]
dracut: install /lib* for kernel images

13 years agoremoved debian.template
Harald Hoyer [Mon, 25 Jul 2011 08:57:52 +0000 (10:57 +0200)]
removed debian.template

13 years agodracut-functions: resolve relative path and recursively install destination
Harald Hoyer [Mon, 25 Jul 2011 08:55:19 +0000 (10:55 +0200)]
dracut-functions: resolve relative path and recursively install destination

13 years agomove "debian" to debian.template on request of debian maintainer
Harald Hoyer [Mon, 25 Jul 2011 08:31:54 +0000 (10:31 +0200)]
move "debian" to debian.template on request of debian maintainer

13 years agodracut-functions: convert absolute symlinks to relative
Harald Hoyer [Mon, 25 Jul 2011 08:25:44 +0000 (10:25 +0200)]
dracut-functions: convert absolute symlinks to relative

13 years agodracut-logger: initialize basic vars
Harald Hoyer [Mon, 25 Jul 2011 08:25:12 +0000 (10:25 +0200)]
dracut-logger: initialize basic vars

13 years agofixed typos
Thomas Lange [Mon, 25 Jul 2011 07:11:56 +0000 (09:11 +0200)]
fixed typos

13 years ago99base/init: try to mount /usr, if init lives on /usr
Harald Hoyer [Fri, 22 Jul 2011 09:21:24 +0000 (11:21 +0200)]
99base/init: try to mount /usr, if init lives on /usr

13 years agodracut-functions: only "dinfo" about missing optioal dracut_install
Harald Hoyer [Fri, 22 Jul 2011 12:18:23 +0000 (14:18 +0200)]
dracut-functions: only "dinfo" about missing optioal dracut_install

13 years ago99base/dracut-lib.sh: don't be quiet on rd.debug
Harald Hoyer [Fri, 22 Jul 2011 12:17:59 +0000 (14:17 +0200)]
99base/dracut-lib.sh: don't be quiet on rd.debug

13 years agodracut.kernel.7.xml: beautified doc
Harald Hoyer [Fri, 22 Jul 2011 07:49:49 +0000 (09:49 +0200)]
dracut.kernel.7.xml: beautified doc

13 years agodracut.kernel.7.xml: s/voonsole.keymap/vconsole.keymap
Harald Hoyer [Fri, 22 Jul 2011 07:41:24 +0000 (09:41 +0200)]
dracut.kernel.7.xml: s/voonsole.keymap/vconsole.keymap

13 years agobusybox module: parse busybox defined functions dynamically
Américo Wang [Thu, 21 Jul 2011 07:33:19 +0000 (15:33 +0800)]
busybox module: parse busybox defined functions dynamically

Currently in dracut busybox module, we hard-code the list of binaries
available in busybox. Actually we can get this list by running busybox
without any arguments.

Also, if find_binary() finds nothing, we would symlink $initdir/
which is not we expect.

Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
13 years agoTEST-10-RAID/test-init: add comment for rd.break=shutdown
Harald Hoyer [Wed, 20 Jul 2011 19:40:50 +0000 (21:40 +0200)]
TEST-10-RAID/test-init: add comment for rd.break=shutdown

13 years ago99base/dracut-lib.sh: fix previous getargs patch
Harald Hoyer [Wed, 20 Jul 2011 19:38:07 +0000 (21:38 +0200)]
99base/dracut-lib.sh: fix previous getargs patch

patch 9e7f4955895c1064e3bdd03f5f781efc9b98d5d6 ignored
"getargs key=value"

13 years agodracut-lib.sh: fixed getargs()
Harald Hoyer [Wed, 20 Jul 2011 19:12:17 +0000 (21:12 +0200)]
dracut-lib.sh: fixed getargs()

if $1 has a "=<value>", we want the exact match
if cmdline argument has no "=<value>", we assume "=1"

13 years agoshutdown: fixed check_shutdown loop
Harald Hoyer [Wed, 20 Jul 2011 19:11:36 +0000 (21:11 +0200)]
shutdown: fixed check_shutdown loop

13 years agoTEST-10-RAID/test-init: turn off debug for shutdown
Harald Hoyer [Wed, 20 Jul 2011 19:10:58 +0000 (21:10 +0200)]
TEST-10-RAID/test-init: turn off debug for shutdown

13 years agoTEST-10-RAID: extend test case to shutdown
Harald Hoyer [Wed, 20 Jul 2011 17:08:25 +0000 (19:08 +0200)]
TEST-10-RAID: extend test case to shutdown

13 years ago90mdraid/md-shutdown.sh: put shutdown in function
Harald Hoyer [Wed, 20 Jul 2011 17:06:26 +0000 (19:06 +0200)]
90mdraid/md-shutdown.sh: put shutdown in function

13 years ago90dm/dm-shutdown.sh: put shutdown in function
Harald Hoyer [Wed, 20 Jul 2011 17:06:08 +0000 (19:06 +0200)]
90dm/dm-shutdown.sh: put shutdown in function

13 years agoenable shutdown module by default
Harald Hoyer [Wed, 20 Jul 2011 17:04:54 +0000 (19:04 +0200)]
enable shutdown module by default

13 years ago90dmsquash-live: optionally install eject
Harald Hoyer [Wed, 20 Jul 2011 15:49:29 +0000 (17:49 +0200)]
90dmsquash-live: optionally install eject