platform/upstream/dracut.git
14 years agodracut.spec: clean up the requirements
Harald Hoyer [Fri, 7 May 2010 09:04:23 +0000 (11:04 +0200)]
dracut.spec: clean up the requirements

14 years agodracut: get rid of the "file" command
Harald Hoyer [Fri, 7 May 2010 09:03:55 +0000 (11:03 +0200)]
dracut: get rid of the "file" command

14 years agoplymouth/plymouth-populate-initrd: get rid of awk
Harald Hoyer [Fri, 7 May 2010 09:02:31 +0000 (11:02 +0200)]
plymouth/plymouth-populate-initrd: get rid of awk

14 years agouse "grep" directly without "nm" to drop binutils requirement
Harald Hoyer [Fri, 7 May 2010 08:44:30 +0000 (10:44 +0200)]
use "grep" directly without "nm" to drop binutils requirement

14 years agodracut.spec: remove elfutils-libelf requirement
Harald Hoyer [Fri, 7 May 2010 08:16:03 +0000 (10:16 +0200)]
dracut.spec: remove elfutils-libelf requirement

14 years agoplymouth: only display luksname and device for multiple luks
Harald Hoyer [Thu, 6 May 2010 15:31:46 +0000 (17:31 +0200)]
plymouth: only display luksname and device for multiple luks

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

14 years agodracut.8: fix rd_LVM_LV description
Alexander Todorov [Thu, 6 May 2010 14:58:51 +0000 (16:58 +0200)]
dracut.8: fix rd_LVM_LV description

14 years agofcoe: add /sbin/vconfig and the 8021q kernel module
Harald Hoyer [Thu, 6 May 2010 14:23:46 +0000 (16:23 +0200)]
fcoe: add /sbin/vconfig and the 8021q kernel module

14 years agoznet: renamed rd_CCW to rd_ZNET
Harald Hoyer [Wed, 5 May 2010 10:54:04 +0000 (12:54 +0200)]
znet: renamed rd_CCW to rd_ZNET

but parse old rd_CCW anyway

14 years agoznet: use ccw-init and ccw rules from s390utils in dracut
Dan Horák [Wed, 5 May 2010 10:51:46 +0000 (12:51 +0200)]
znet: use ccw-init and ccw rules from s390utils in dracut

14 years agodracut.conf: use "+=" as default for config variables
Harald Hoyer [Mon, 3 May 2010 09:35:10 +0000 (11:35 +0200)]
dracut.conf: use "+=" as default for config variables

14 years agodracut-functions: use udevadm to get ID_FS_*
Harald Hoyer [Mon, 3 May 2010 09:34:30 +0000 (11:34 +0200)]
dracut-functions: use udevadm to get ID_FS_*

14 years agokernel-modules: add more hardcoded modules
Harald Hoyer [Mon, 3 May 2010 09:33:52 +0000 (11:33 +0200)]
kernel-modules: add more hardcoded modules

14 years agobtfrs: load btrfs module and updated NEWS
Harald Hoyer [Fri, 16 Apr 2010 16:10:47 +0000 (18:10 +0200)]
btfrs: load btrfs module and updated NEWS

14 years agoNeeds btrfsctl, not btrfs module
Matt [Fri, 16 Apr 2010 16:03:08 +0000 (18:03 +0200)]
Needs btrfsctl, not btrfs module

14 years agotest/NBD: check for nbd kernel module first
Harald Hoyer [Fri, 16 Apr 2010 15:54:29 +0000 (17:54 +0200)]
test/NBD: check for nbd kernel module first

14 years agoNEWS: update
Harald Hoyer [Fri, 16 Apr 2010 15:13:15 +0000 (17:13 +0200)]
NEWS: update

14 years agotest/MULTINIC: kill server after passing all tests
Harald Hoyer [Fri, 16 Apr 2010 15:09:31 +0000 (17:09 +0200)]
test/MULTINIC: kill server after passing all tests

14 years agodracut.spec: removed e2fsprogs requirement
Harald Hoyer [Fri, 16 Apr 2010 15:03:34 +0000 (17:03 +0200)]
dracut.spec: removed e2fsprogs requirement

14 years agotest/TEST-50-MULTINIC: install sd_mod and ata_piix kernel modules
Harald Hoyer [Fri, 16 Apr 2010 15:00:28 +0000 (17:00 +0200)]
test/TEST-50-MULTINIC: install sd_mod and ata_piix kernel modules

14 years agotest/TEST-50-MULTINIC: install all nfsidmap libs for server
Harald Hoyer [Fri, 16 Apr 2010 14:59:53 +0000 (16:59 +0200)]
test/TEST-50-MULTINIC: install all nfsidmap libs for server

14 years agotest/TEST-50-MULTINIC: kill server after failed test
Harald Hoyer [Fri, 16 Apr 2010 14:59:11 +0000 (16:59 +0200)]
test/TEST-50-MULTINIC: kill server after failed test

14 years agoNBD: kill server after failed test
Harald Hoyer [Fri, 16 Apr 2010 14:58:16 +0000 (16:58 +0200)]
NBD: kill server after failed test

14 years agotest/nfs: correct return code and cleanup
Harald Hoyer [Fri, 16 Apr 2010 14:56:18 +0000 (16:56 +0200)]
test/nfs: correct return code and cleanup

14 years agoadd rd_retry kernel command line parameter
Harald Hoyer [Fri, 16 Apr 2010 14:55:14 +0000 (16:55 +0200)]
add rd_retry kernel command line parameter

rd_retry=<seconds to retry in the main loop>

speeds up internal test suite

14 years agotest: change testsuite to local tcp rather than udp multicast
Harald Hoyer [Fri, 16 Apr 2010 14:52:22 +0000 (16:52 +0200)]
test: change testsuite to local tcp rather than udp multicast

multicast needs an ethernet device and correct firewall rules
the loopback interface suites better as we only have 2 machines

14 years agorun-qemu: add /usr/libexec/qemu-kvm to search
Harald Hoyer [Fri, 16 Apr 2010 14:49:52 +0000 (16:49 +0200)]
run-qemu: add /usr/libexec/qemu-kvm to search

14 years agoTEST-12-RAID-DEG/create-root: filter MD_UUID only
Harald Hoyer [Fri, 16 Apr 2010 14:48:08 +0000 (16:48 +0200)]
TEST-12-RAID-DEG/create-root: filter MD_UUID only

14 years agologinit: turn off debugging
Harald Hoyer [Fri, 16 Apr 2010 14:47:28 +0000 (16:47 +0200)]
loginit: turn off debugging

14 years agoinit: do not redirect to -
Harald Hoyer [Fri, 16 Apr 2010 14:45:53 +0000 (16:45 +0200)]
init: do not redirect to -

14 years agoinit: fix cdrom polling loop
Harald Hoyer [Fri, 16 Apr 2010 14:45:25 +0000 (16:45 +0200)]
init: fix cdrom polling loop

14 years agomdraid: try to start container childs manually with "mdadm -R"
Harald Hoyer [Fri, 16 Apr 2010 14:44:24 +0000 (16:44 +0200)]
mdraid: try to start container childs manually with "mdadm -R"

14 years agodracut-lib: turn of shell debug mode in strstr and getarg(s)
Harald Hoyer [Fri, 16 Apr 2010 14:43:34 +0000 (16:43 +0200)]
dracut-lib: turn of shell debug mode in strstr and getarg(s)

14 years agoudev-rules: be more careful about md devices and blkid runs
Harald Hoyer [Fri, 16 Apr 2010 14:42:54 +0000 (16:42 +0200)]
udev-rules: be more careful about md devices and blkid runs

14 years agonfs: add missing nfsidmap libs
Harald Hoyer [Fri, 16 Apr 2010 14:42:27 +0000 (16:42 +0200)]
nfs: add missing nfsidmap libs

14 years agonetwork: correct rules for multiple nics
Harald Hoyer [Fri, 16 Apr 2010 14:41:24 +0000 (16:41 +0200)]
network: correct rules for multiple nics

14 years agonetwork: removed bogus udev rules
Harald Hoyer [Fri, 16 Apr 2010 14:40:59 +0000 (16:40 +0200)]
network: removed bogus udev rules

14 years agonfs: fixed nsswitch.conf parsing
Harald Hoyer [Thu, 15 Apr 2010 14:26:06 +0000 (16:26 +0200)]
nfs: fixed nsswitch.conf parsing

based on a patch of Ian Dall.
https://bugzilla.redhat.com/show_bug.cgi?id=578060

14 years agoUse pigz for gzipping if available.
Ville Skyttä [Thu, 18 Mar 2010 19:41:22 +0000 (21:41 +0200)]
Use pigz for gzipping if available.

14 years agodracut.spec: add btrfs module
Harald Hoyer [Thu, 15 Apr 2010 12:38:38 +0000 (14:38 +0200)]
dracut.spec: add btrfs module

14 years agokernel-modules: only remove ocfs2, if all filesystems are installed
Harald Hoyer [Thu, 15 Apr 2010 10:47:52 +0000 (12:47 +0200)]
kernel-modules: only remove ocfs2, if all filesystems are installed

14 years agokernel-modules: hardcode sr_mod
Harald Hoyer [Thu, 15 Apr 2010 10:47:26 +0000 (12:47 +0200)]
kernel-modules: hardcode sr_mod

14 years agoAUTHORS: updated
Harald Hoyer [Thu, 15 Apr 2010 09:54:28 +0000 (11:54 +0200)]
AUTHORS: updated

14 years agodracut: add_drivers from the command line should add up to the conffile
Harald Hoyer [Wed, 14 Apr 2010 17:32:44 +0000 (19:32 +0200)]
dracut: add_drivers from the command line should add up to the conffile

14 years agomanpage addition for kernel drivers
Harald Hoyer [Wed, 14 Apr 2010 15:58:56 +0000 (17:58 +0200)]
manpage addition for kernel drivers

The kernel modules have to be specified without the ".ko" suffix.

14 years agoadd missing paragraph for --add-drivers
Harald Hoyer [Wed, 14 Apr 2010 15:50:39 +0000 (17:50 +0200)]
add missing paragraph for --add-drivers

14 years agoinit: trigger with --action=add
Harald Hoyer [Wed, 14 Apr 2010 14:36:30 +0000 (16:36 +0200)]
init: trigger with --action=add

14 years agoteach dmsquash-live-root to use rootflags
Joey Boggs [Fri, 26 Mar 2010 14:01:16 +0000 (10:01 -0400)]
teach dmsquash-live-root to use rootflags

14 years agoadd module btrfs
Harald Hoyer [Tue, 13 Apr 2010 12:03:05 +0000 (14:03 +0200)]
add module btrfs

14 years agoinit: add hacky cdrom polling mechanism
Harald Hoyer [Tue, 13 Apr 2010 11:50:33 +0000 (13:50 +0200)]
init: add hacky cdrom polling mechanism

14 years agodmraid: parse different error messages
Harald Hoyer [Tue, 13 Apr 2010 10:54:12 +0000 (12:54 +0200)]
dmraid: parse different error messages

14 years agodracut.8: add information, which parameter can be specified multiple times
Harald Hoyer [Wed, 7 Apr 2010 13:55:14 +0000 (15:55 +0200)]
dracut.8: add information, which parameter can be specified multiple times

14 years agodracut.8: fixed LUKS paragraph
Harald Hoyer [Wed, 7 Apr 2010 09:17:46 +0000 (11:17 +0200)]
dracut.8: fixed LUKS paragraph

14 years agoupdated NEWS, moved tag 005 005
Harald Hoyer [Fri, 19 Mar 2010 16:35:47 +0000 (17:35 +0100)]
updated NEWS, moved tag 005

14 years agoversion 005
Harald Hoyer [Fri, 19 Mar 2010 14:18:26 +0000 (15:18 +0100)]
version 005

14 years agodracut.spec: rpmlint cosmetics
Harald Hoyer [Fri, 19 Mar 2010 14:16:48 +0000 (15:16 +0100)]
dracut.spec: rpmlint cosmetics

14 years agodracut.spec: change description and summaries
Harald Hoyer [Fri, 19 Mar 2010 14:15:17 +0000 (15:15 +0100)]
dracut.spec: change description and summaries

14 years agodracut.spec: remove libselinux, libsepol requirement
Harald Hoyer [Fri, 19 Mar 2010 14:13:32 +0000 (15:13 +0100)]
dracut.spec: remove libselinux, libsepol requirement

14 years agodracut.spec: remove dracut-kernel subpackage
Harald Hoyer [Fri, 19 Mar 2010 14:11:41 +0000 (15:11 +0100)]
dracut.spec: remove dracut-kernel subpackage

14 years agolvm/lvm_scan.sh: silence lvm version check
Harald Hoyer [Fri, 19 Mar 2010 14:08:54 +0000 (15:08 +0100)]
lvm/lvm_scan.sh: silence lvm version check

14 years agofcoe: soft install fcoe bins
Harald Hoyer [Fri, 19 Mar 2010 15:49:41 +0000 (16:49 +0100)]
fcoe: soft install fcoe bins

14 years agoAdd dcb support to dracut's FCoE support (rh563794)
Hans de Goede [Mon, 15 Mar 2010 10:21:29 +0000 (11:21 +0100)]
Add dcb support to dracut's FCoE support (rh563794)

Note that there are still some patches queued upstream for fcoe-utils to
enable it to work with the new lldpad and to add support to fipvlan to
bring up FCoE connections without requiring fcoemon to run.

The invocations of the various tools as in this patch should be final though,
see the discussion in:
http://bugzilla.redhat.com/show_bug.cgi?id=563794

This is the second revision of this patch, which no longer adds /etc/fcoe
to the initrd as that is not needed.

14 years agolvm_scan: use '--ignoremonitoring' rather than '--monitor n'
Mike Snitzer [Wed, 10 Mar 2010 19:24:18 +0000 (14:24 -0500)]
lvm_scan: use '--ignoremonitoring' rather than '--monitor n'

lvchange and vgchange '--monitor n' will not prevent lvm from
attempting to dlopen the libdevmapper-event library.

dracut git commit 47ab3b6c5e introduced the use of '--monitor n' but
'--ignoremonitoring' is needed now that the libdevmapper-event library
isn't copied into the initramfs (ever since 0fae59d6eb3)

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
14 years agokernel-modules/installkernel: force install some modules even in
Harald Hoyer [Wed, 17 Mar 2010 10:14:45 +0000 (11:14 +0100)]
kernel-modules/installkernel: force install some modules even in
hostonly mode

14 years agosilence xen-detect detection
Luca Berra [Sun, 7 Mar 2010 12:52:08 +0000 (13:52 +0100)]
silence xen-detect detection

Signed-off-by: Luca Berra <bluca@comedia.it>
14 years agodebian: add dracut-gencmdline
Philippe Seewer [Fri, 5 Mar 2010 14:01:18 +0000 (15:01 +0100)]
debian: add dracut-gencmdline

14 years agodebian: Add manpage for dracut-catimages
Philippe Seewer [Fri, 5 Mar 2010 13:58:59 +0000 (14:58 +0100)]
debian: Add manpage for dracut-catimages

14 years agodebian: add dracut.conf.d
Philippe Seewer [Fri, 5 Mar 2010 13:55:37 +0000 (14:55 +0100)]
debian: add dracut.conf.d

14 years agodebian: Add xen and uswsusp modules
Philippe Seewer [Fri, 5 Mar 2010 10:57:14 +0000 (11:57 +0100)]
debian: Add xen and uswsusp modules

14 years agoxen: try harder to locate xen-detect
Philippe Seewer [Fri, 5 Mar 2010 10:51:56 +0000 (11:51 +0100)]
xen: try harder to locate xen-detect

On debian systems xen-detect does not resite somewhere in $PATH,
but under /usr/lib/xen-default/bin. This patch ensures that this
is searched as well when locating and installing xen-detect.

14 years agotest: use ldconfig processing for roots as well
Philippe Seewer [Fri, 5 Mar 2010 10:42:04 +0000 (11:42 +0100)]
test: use ldconfig processing for roots as well

14 years agodracut: move ldconfig after include
Harald Hoyer [Fri, 5 Mar 2010 10:14:28 +0000 (11:14 +0100)]
dracut: move ldconfig after include

14 years agodracut: do a full ldconfig in the initramfs
Harald Hoyer [Fri, 5 Mar 2010 10:07:10 +0000 (11:07 +0100)]
dracut: do a full ldconfig in the initramfs

14 years agoifcfg: set mode 0755 for scripts
Harald Hoyer [Thu, 4 Mar 2010 17:03:36 +0000 (18:03 +0100)]
ifcfg: set mode 0755 for scripts

14 years agorpmversion/install: add shebang
Harald Hoyer [Thu, 4 Mar 2010 17:02:27 +0000 (18:02 +0100)]
rpmversion/install: add shebang

14 years agodmsquash-live-root: use blockdev with --getsz
Harald Hoyer [Thu, 4 Mar 2010 15:49:51 +0000 (16:49 +0100)]
dmsquash-live-root: use blockdev with --getsz

Thanks Karel for pointing this out.. again :)

14 years agoudev-rules: hotplug.functions is not executable, so use -e instead of -x
Harald Hoyer [Thu, 4 Mar 2010 13:21:56 +0000 (14:21 +0100)]
udev-rules: hotplug.functions is not executable, so use -e instead of -x

14 years agoPass init argument(s) to real init
Andrey Borzenkov [Thu, 4 Mar 2010 13:02:43 +0000 (14:02 +0100)]
Pass init argument(s) to real init

Common wisdom to enter single user on Linux is to edit command
line and add "single". This was not possible because switch_root
was always called with empty init arguments. Collect them from
command line and pass to real init when switching root.

Signed-off-by: Andrey Borzenkov <arvidjaar@mail.ru>
14 years agoFix boot with user suspend and no resume= kernel argument
Andrey Borzenkov [Thu, 4 Mar 2010 13:00:29 +0000 (14:00 +0100)]
Fix boot with user suspend and no resume= kernel argument

Mandriva bug https://qa.mandriva.com/show_bug.cgi?id=57924. Check
if dracut got resume= argument before calling /usr/sbin/resume

14 years agodmsquash-live: use --getsize64 instead of --getsize
Harald Hoyer [Thu, 4 Mar 2010 12:56:58 +0000 (13:56 +0100)]
dmsquash-live: use --getsize64 instead of --getsize

14 years agoadd readonly overlay support for dmsquash
Joey Boggs [Fri, 26 Feb 2010 14:44:29 +0000 (09:44 -0500)]
add readonly overlay support for dmsquash

Adds the readonly_overlay karg for cases where the dm snapshot should be set to readonly. Use case would be a livecd that is configured to have a readonly root where filling up the dm snapshot would cause a problem.

14 years agoudev-rules: choose between several firmware upload tools
Harald Hoyer [Thu, 4 Mar 2010 12:50:34 +0000 (13:50 +0100)]
udev-rules: choose between several firmware upload tools

debian: firmware.agent hotplug.functions
old fedora: firmware.sh
new udev upstream: firmware

14 years agokernel-modules: add keyboard kernel modules
Harald Hoyer [Thu, 4 Mar 2010 12:47:40 +0000 (13:47 +0100)]
kernel-modules: add keyboard kernel modules

14 years agofix permissions: should be +x
Philippe Seewer [Fri, 26 Feb 2010 12:54:33 +0000 (13:54 +0100)]
fix permissions: should be +x

14 years agoparse-kernel.sh must have a shebang
Philippe Seewer [Fri, 26 Feb 2010 12:21:38 +0000 (13:21 +0100)]
parse-kernel.sh must have a shebang

14 years agodebian: update Standards-Version
Philippe Seewer [Wed, 3 Mar 2010 15:49:10 +0000 (16:49 +0100)]
debian: update Standards-Version

14 years agodebian: dracut package should at least suggest dracut-network
Philippe Seewer [Wed, 3 Mar 2010 15:48:43 +0000 (16:48 +0100)]
debian: dracut package should at least suggest dracut-network

14 years agodebian: complete s/dracut-net/dracut-network/g
Philippe Seewer [Wed, 3 Mar 2010 15:48:16 +0000 (16:48 +0100)]
debian: complete s/dracut-net/dracut-network/g

When changing package names, corresponding files must be renamed
as well.

14 years agoUse multipath if it's installed and being used for the root fs.
Peter Jones [Thu, 25 Feb 2010 15:22:42 +0000 (10:22 -0500)]
Use multipath if it's installed and being used for the root fs.

Don't conditionalize on hostonly; use multipath if it's installed and in
use.

14 years agodracut: add check, if we can write to the output image file
Harald Hoyer [Thu, 18 Feb 2010 17:27:39 +0000 (18:27 +0100)]
dracut: add check, if we can write to the output image file

14 years agomount-root: also filter "defaults" from mount options
Harald Hoyer [Thu, 18 Feb 2010 17:05:51 +0000 (18:05 +0100)]
mount-root: also filter "defaults" from mount options

14 years agomount-root: skip comments
Harald Hoyer [Thu, 18 Feb 2010 16:46:01 +0000 (17:46 +0100)]
mount-root: skip comments

14 years agodracut: removed "local" not inside of function
Harald Hoyer [Thu, 18 Feb 2010 16:28:41 +0000 (17:28 +0100)]
dracut: removed "local" not inside of function

14 years agofix IFS restoring
Harald Hoyer [Thu, 18 Feb 2010 08:46:19 +0000 (09:46 +0100)]
fix IFS restoring

14 years agoselinux: fix "selinux=0" handling
Harald Hoyer [Thu, 18 Feb 2010 07:46:57 +0000 (08:46 +0100)]
selinux: fix "selinux=0" handling

14 years agomount-root: do not pollute init arguments
Harald Hoyer [Wed, 17 Feb 2010 19:18:10 +0000 (20:18 +0100)]
mount-root: do not pollute init arguments

and do not remount if no new rootopts set in /etc/fstab

14 years agofix lib64 check
Harald Hoyer [Wed, 17 Feb 2010 16:02:04 +0000 (17:02 +0100)]
fix lib64 check

on ppc we can have libc in /lib64/power6/

14 years agos390: *_cio_free needs "seq"
Harald Hoyer [Mon, 15 Feb 2010 17:08:11 +0000 (18:08 +0100)]
s390: *_cio_free needs "seq"

14 years agofix selinux disabled state
Harald Hoyer [Mon, 15 Feb 2010 11:58:00 +0000 (12:58 +0100)]
fix selinux disabled state

Execute load-policy when the config file contains SELINUX=disabled.

14 years agonfs4: rpc.idmapd does not accept parameters anymore
Harald Hoyer [Mon, 15 Feb 2010 09:43:51 +0000 (10:43 +0100)]
nfs4: rpc.idmapd does not accept parameters anymore

modify /etc/idmapd.conf instead