platform/upstream/dracut.git
12 years agoAdd qemu kernel modules, if we detect a qemu instance
Harald Hoyer [Fri, 22 Jun 2012 12:50:06 +0000 (14:50 +0200)]
Add qemu kernel modules, if we detect a qemu instance

Regardless of the host-only setting, add all know kernel driver for qemu
instances to support changing the virtual hardware.

12 years agodracut-functions.sh: cp with --reflink=auto and --sparse=auto
Harald Hoyer [Fri, 22 Jun 2012 06:59:22 +0000 (08:59 +0200)]
dracut-functions.sh: cp with --reflink=auto and --sparse=auto

cp will use COW data copy most of the time. So, it's even better than
hardlink, because we don't have to care about hardlinks, when modifying
files in post.

12 years agodracut-functions.sh: mksubdirs(): check for dir existence first
Harald Hoyer [Fri, 22 Jun 2012 06:58:39 +0000 (08:58 +0200)]
dracut-functions.sh: mksubdirs(): check for dir existence first

12 years agodracut-functions.sh: replace strstr()
Harald Hoyer [Fri, 22 Jun 2012 06:57:20 +0000 (08:57 +0200)]
dracut-functions.sh: replace strstr()

the new strstr() is faster, when compared

12 years agosystemd: add ConditionPathExists=/etc/initrd-release to services
Harald Hoyer [Thu, 21 Jun 2012 12:10:41 +0000 (14:10 +0200)]
systemd: add ConditionPathExists=/etc/initrd-release to services

12 years agonetwork: support vlan tagged bonding
Cong Wang [Thu, 21 Jun 2012 03:44:35 +0000 (11:44 +0800)]
network: support vlan tagged bonding

This patch adds support of vlan tagged bonding, for example,
bond0.2. In case of regression, I also tested bond0 and eth0.2,
all work fine.

Cc: Harald Hoyer <harald@redhat.com>
Cc: Dave Young <dyoung@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
12 years agosystemd/dracut-pre-pivot.sh: copy service files to /run/systemd/system
Harald Hoyer [Thu, 21 Jun 2012 08:50:36 +0000 (10:50 +0200)]
systemd/dracut-pre-pivot.sh: copy service files to /run/systemd/system

and remove the last info, so that the journal is not restarted again.

12 years agosystemd: remove old udev services
Harald Hoyer [Thu, 21 Jun 2012 08:50:01 +0000 (10:50 +0200)]
systemd: remove old udev services

12 years agofixed i18n for systemd and include more config files in host-only
Harald Hoyer [Thu, 21 Jun 2012 07:24:44 +0000 (09:24 +0200)]
fixed i18n for systemd and include more config files in host-only

12 years agosystemd: remove unneeded systemd services
Harald Hoyer [Thu, 21 Jun 2012 01:36:58 +0000 (03:36 +0200)]
systemd: remove unneeded systemd services

12 years agodracut-functions.sh: use "ln -r" instead of shell functions
Harald Hoyer [Wed, 20 Jun 2012 23:57:11 +0000 (01:57 +0200)]
dracut-functions.sh: use "ln -r" instead of shell functions

12 years agodracut.spec: require systemd >= 44-15
Harald Hoyer [Wed, 20 Jun 2012 23:20:11 +0000 (01:20 +0200)]
dracut.spec: require systemd >= 44-15

12 years agodracut.conf.d/fedora.conf.example: make systemd default
Harald Hoyer [Wed, 20 Jun 2012 23:09:02 +0000 (01:09 +0200)]
dracut.conf.d/fedora.conf.example: make systemd default

12 years agobase/dracut-lib.sh: for systemd start emergency.service
Harald Hoyer [Wed, 20 Jun 2012 23:10:13 +0000 (01:10 +0200)]
base/dracut-lib.sh: for systemd start emergency.service

do not spawn the shell, start the emergency.service for systemd

12 years agobase/dracut-lib.sh: change output of info() and warn() for systemd
Harald Hoyer [Wed, 20 Jun 2012 23:09:38 +0000 (01:09 +0200)]
base/dracut-lib.sh: change output of info() and warn() for systemd

12 years agosystemd: fixed I/O of services
Harald Hoyer [Wed, 20 Jun 2012 23:08:29 +0000 (01:08 +0200)]
systemd: fixed I/O of services

12 years agosystemd: fixed ordering of services
Harald Hoyer [Wed, 20 Jun 2012 23:08:03 +0000 (01:08 +0200)]
systemd: fixed ordering of services

12 years agosystemd/dracut-pre-udev.service: fixed description
Harald Hoyer [Wed, 20 Jun 2012 23:07:08 +0000 (01:07 +0200)]
systemd/dracut-pre-udev.service: fixed description

12 years agosystemd/dracut-pre-pivot.sh: remove trailing space
Harald Hoyer [Wed, 20 Jun 2012 23:06:30 +0000 (01:06 +0200)]
systemd/dracut-pre-pivot.sh: remove trailing space

12 years agosystemd/dracut-cmdline: make dracut-cmdline a service
Harald Hoyer [Wed, 20 Jun 2012 23:05:15 +0000 (01:05 +0200)]
systemd/dracut-cmdline: make dracut-cmdline a service

convert dracut-cmdline from hook to service after the journal

12 years agosystemd/dracut-pre-pivot.sh: stop old udev services
Harald Hoyer [Wed, 20 Jun 2012 23:04:15 +0000 (01:04 +0200)]
systemd/dracut-pre-pivot.sh: stop old udev services

12 years agosystemd: do not flock for console
Harald Hoyer [Wed, 20 Jun 2012 23:03:22 +0000 (01:03 +0200)]
systemd: do not flock for console

12 years agosystemd: do not redirect to /dev/console
Harald Hoyer [Wed, 20 Jun 2012 23:02:48 +0000 (01:02 +0200)]
systemd: do not redirect to /dev/console

12 years agosystemd: fix emergency.service and rescue.service
Harald Hoyer [Wed, 20 Jun 2012 23:01:51 +0000 (01:01 +0200)]
systemd: fix emergency.service and rescue.service

12 years agosystemd/module-setup.sh: add old udev systemd services
Harald Hoyer [Wed, 20 Jun 2012 23:01:07 +0000 (01:01 +0200)]
systemd/module-setup.sh: add old udev systemd services

12 years agosystemd: output all service output to the journal also
Harald Hoyer [Wed, 20 Jun 2012 16:34:35 +0000 (18:34 +0200)]
systemd: output all service output to the journal also

12 years agodracut-shutdown.service: fixed ordering to be before shutdown.target
Harald Hoyer [Wed, 20 Jun 2012 16:29:42 +0000 (18:29 +0200)]
dracut-shutdown.service: fixed ordering to be before shutdown.target

12 years agocheck for arch before installing drivers/s390
Harald Hoyer [Wed, 20 Jun 2012 16:28:35 +0000 (18:28 +0200)]
check for arch before installing drivers/s390

12 years agodisable TEST-16-DMSQUASH for now
Harald Hoyer [Mon, 18 Jun 2012 17:20:39 +0000 (19:20 +0200)]
disable TEST-16-DMSQUASH for now

12 years agoTEST-50-MULTINIC: libnss cleanup
Harald Hoyer [Mon, 18 Jun 2012 17:28:44 +0000 (19:28 +0200)]
TEST-50-MULTINIC: libnss cleanup

12 years agoTEST-20-NFS: libnss cleanup
Harald Hoyer [Mon, 18 Jun 2012 17:23:25 +0000 (19:23 +0200)]
TEST-20-NFS: libnss cleanup

12 years agoTEST-50-MULTINIC: add watchdog
Harald Hoyer [Mon, 18 Jun 2012 17:22:35 +0000 (19:22 +0200)]
TEST-50-MULTINIC: add watchdog

12 years agoTEST-20-NFS: add watchdog
Harald Hoyer [Mon, 18 Jun 2012 17:13:09 +0000 (19:13 +0200)]
TEST-20-NFS: add watchdog

12 years agoTEST-01-BASIC: add watchdog
Harald Hoyer [Mon, 18 Jun 2012 17:20:16 +0000 (19:20 +0200)]
TEST-01-BASIC: add watchdog

12 years agoadd 04watchdog dracut module
Harald Hoyer [Mon, 18 Jun 2012 17:17:22 +0000 (19:17 +0200)]
add 04watchdog dracut module

12 years agoplymouth: fixed inst_libdir_file() call
Harald Hoyer [Mon, 18 Jun 2012 11:45:13 +0000 (13:45 +0200)]
plymouth: fixed inst_libdir_file() call

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

12 years agoiscsi/module-setup.sh: only install s390 driver on s390 arch
Harald Hoyer [Mon, 18 Jun 2012 11:26:55 +0000 (13:26 +0200)]
iscsi/module-setup.sh: only install s390 driver on s390 arch

12 years agoSet some global variables in dracut-functions.sh
Harald Hoyer [Mon, 18 Jun 2012 10:52:39 +0000 (12:52 +0200)]
Set some global variables in dracut-functions.sh

12 years agofixed instmods() return code and set pipefail globally
Harald Hoyer [Mon, 18 Jun 2012 10:51:21 +0000 (12:51 +0200)]
fixed instmods() return code and set pipefail globally

12 years agoresolve conflict between cms network rules and default rules
Harald Hoyer [Tue, 12 Jun 2012 12:40:43 +0000 (14:40 +0200)]
resolve conflict between cms network rules and default rules

12 years agoRevert "network/ifup.sh: do not default to dhcp, for interfaces without ip=..."
Harald Hoyer [Fri, 15 Jun 2012 09:56:05 +0000 (11:56 +0200)]
Revert "network/ifup.sh: do not default to dhcp, for interfaces without ip=..."

This reverts commit ede0532c580fdbace548511b07857fb2e004b299.

12 years agoRevert "network/ifup.sh: default to dhcp for BOOTIF"
Harald Hoyer [Fri, 15 Jun 2012 09:55:59 +0000 (11:55 +0200)]
Revert "network/ifup.sh: default to dhcp for BOOTIF"

This reverts commit bebb12fd0ec3cbb88006e384a9a277391a2f3a37.

12 years agoTEST-50-MULTINIC: install correct nss libs
Harald Hoyer [Fri, 15 Jun 2012 09:12:46 +0000 (11:12 +0200)]
TEST-50-MULTINIC: install correct nss libs

12 years agonfs: extend libnss wildcard
Harald Hoyer [Fri, 15 Jun 2012 09:12:08 +0000 (11:12 +0200)]
nfs: extend libnss wildcard

12 years agodracut.sh: unset some variables
Harald Hoyer [Fri, 15 Jun 2012 09:11:30 +0000 (11:11 +0200)]
dracut.sh: unset some variables

12 years agodracut.sh: output unknown argument
Harald Hoyer [Fri, 15 Jun 2012 09:11:10 +0000 (11:11 +0200)]
dracut.sh: output unknown argument

12 years agodracut-functions.sh: fixup inst_libdir_file() again
Harald Hoyer [Fri, 15 Jun 2012 07:34:00 +0000 (09:34 +0200)]
dracut-functions.sh: fixup  inst_libdir_file() again

12 years agoDebian multiarch support
Thomas Lange [Thu, 14 Jun 2012 15:42:34 +0000 (17:42 +0200)]
Debian multiarch support

Hi Jon,

here's the diff which works for me.  The quotation marks around $@ do
not work for me. Instead of "$@" I must to use $_dir/$@ (or
"$_dir"/$@) but no quotation marks around $@. Could you please review
my patch.

12 years agoadd PARTUUID as root=PARTUUID=<partition uuid> parameter
Harald Hoyer [Thu, 14 Jun 2012 11:04:22 +0000 (13:04 +0200)]
add PARTUUID as root=PARTUUID=<partition uuid> parameter

12 years agoifcfg: fix output for ipv6 static addressing
Will Woods [Mon, 11 Jun 2012 17:46:22 +0000 (13:46 -0400)]
ifcfg: fix output for ipv6 static addressing

IPV6 configuration is pretty different than IPV4; write out the correct
set of values to make static IPV6 addressing work.

12 years agofix ifup for static ipv6
Will Woods [Mon, 11 Jun 2012 17:46:21 +0000 (13:46 -0400)]
fix ifup for static ipv6

"brd +" is not valid for ipv6. This causes the 'ip addr add' command to
fail with the message "Broadcast can be set only for IPv4 addresses".

So: don't use "brd +" for ipv6.

12 years agodracut.sh: mkdir $initdir/lib/dracut
Harald Hoyer [Tue, 12 Jun 2012 15:35:49 +0000 (11:35 -0400)]
dracut.sh: mkdir $initdir/lib/dracut

12 years agonetwork/ifup.sh: default to dhcp for BOOTIF
Harald Hoyer [Mon, 11 Jun 2012 15:11:49 +0000 (17:11 +0200)]
network/ifup.sh: default to dhcp for BOOTIF

12 years agomdraid/md-shutdown.sh: check for presence of mdadm
Harald Hoyer [Fri, 8 Jun 2012 10:42:12 +0000 (12:42 +0200)]
mdraid/md-shutdown.sh: check for presence of mdadm

12 years agodm: check for presence of dmsetup
Harald Hoyer [Fri, 8 Jun 2012 10:41:49 +0000 (12:41 +0200)]
dm: check for presence of dmsetup

12 years agodracut.sh: mkdir of $libdirs at then end
Harald Hoyer [Fri, 8 Jun 2012 08:41:59 +0000 (10:41 +0200)]
dracut.sh: mkdir of $libdirs at then end

12 years agos/Unable to process initqueue/Could not boot/g
Harald Hoyer [Fri, 8 Jun 2012 08:29:35 +0000 (10:29 +0200)]
s/Unable to process initqueue/Could not boot/g

12 years agomdraid/md-shutdown.sh: wait until md devices are clean
Harald Hoyer [Fri, 8 Jun 2012 08:28:31 +0000 (10:28 +0200)]
mdraid/md-shutdown.sh: wait until md devices are clean

12 years agosystemd/dracut-initqueue.sh: remove pre-trigger sourcing
Harald Hoyer [Thu, 7 Jun 2012 09:31:45 +0000 (11:31 +0200)]
systemd/dracut-initqueue.sh: remove pre-trigger sourcing

Thanks ms77 on #dracut!

12 years agonetwork/ifup.sh: do not default to dhcp, for interfaces without ip=...
Harald Hoyer [Tue, 29 May 2012 14:34:58 +0000 (16:34 +0200)]
network/ifup.sh: do not default to dhcp, for interfaces without ip=...

Don't try to be smarter than the admin configuring the machine.
Does also conflict with other methods trying to setup the interfaces,
like cmsifup.sh from the cms module.

12 years agosystemd: strip down the installation of some unused tools
Harald Hoyer [Thu, 7 Jun 2012 08:38:31 +0000 (10:38 +0200)]
systemd: strip down the installation of some unused tools

12 years agomodules are now only handled with /sys/modules and modules.dep
Harald Hoyer [Wed, 6 Jun 2012 16:20:35 +0000 (18:20 +0200)]
modules are now only handled with /sys/modules and modules.dep

No more "find" and /proc/modules checking. We now rely entirely on
depmod and modules.dep

12 years agomake udevdir systemdutildir systemdsystemunitdir global vars
Harald Hoyer [Wed, 6 Jun 2012 13:12:59 +0000 (15:12 +0200)]
make udevdir systemdutildir systemdsystemunitdir global vars

your distribution should ship those settings in
/etc/dracut.conf.d/01-distro.conf

see dracut.conf.d/fedora.conf.example

12 years agoAvoid annonying warnings when pkg-config is not installed.
Juan RP [Wed, 6 Jun 2012 12:19:59 +0000 (14:19 +0200)]
Avoid annonying warnings when pkg-config is not installed.

12 years agokernel-modules/module-setup.sh: include omapdrm in the arm modules to include
Harald Hoyer [Wed, 6 Jun 2012 09:45:30 +0000 (11:45 +0200)]
kernel-modules/module-setup.sh: include omapdrm in the arm modules to include

12 years agodasd_mod: change rd.dasd to dasd_mod kernel parameter
Harald Hoyer [Tue, 5 Jun 2012 18:23:35 +0000 (20:23 +0200)]
dasd_mod: change rd.dasd to dasd_mod kernel parameter

12 years agoget rid of libdir and usrlibdir
Harald Hoyer [Mon, 4 Jun 2012 13:23:15 +0000 (15:23 +0200)]
get rid of libdir and usrlibdir

12 years agoversion 019 019
Harald Hoyer [Mon, 4 Jun 2012 12:24:25 +0000 (14:24 +0200)]
version 019

12 years agoNEWS: dracut-019
Harald Hoyer [Mon, 4 Jun 2012 12:23:54 +0000 (14:23 +0200)]
NEWS: dracut-019

12 years agodracut.sh: precopy some essential device nodes
Harald Hoyer [Mon, 4 Jun 2012 12:00:49 +0000 (14:00 +0200)]
dracut.sh: precopy some essential device nodes

12 years agosystemd/dracut-pre-trigger.sh: fixed rd.udev.{debug|info}
Harald Hoyer [Mon, 4 Jun 2012 11:56:55 +0000 (13:56 +0200)]
systemd/dracut-pre-trigger.sh: fixed rd.udev.{debug|info}

12 years agosystemd/module-setup.sh: package udev in sysinit.target
Harald Hoyer [Mon, 4 Jun 2012 11:12:07 +0000 (13:12 +0200)]
systemd/module-setup.sh: package udev in sysinit.target

12 years agoudev-rules: check for systemd-udevd symlink already present
Harald Hoyer [Mon, 4 Jun 2012 11:11:38 +0000 (13:11 +0200)]
udev-rules: check for systemd-udevd symlink already present

12 years agouse pkg-config to determine the udev directory
Harald Hoyer [Mon, 4 Jun 2012 10:58:42 +0000 (12:58 +0200)]
use pkg-config to determine the udev directory

12 years agosystemd: use pkg-config to determine the systemd directories
Harald Hoyer [Mon, 4 Jun 2012 10:55:32 +0000 (12:55 +0200)]
systemd: use pkg-config to determine the systemd directories

12 years agotest/TEST-16-DMSQUASH: add check for python-imgcreate
Harald Hoyer [Mon, 4 Jun 2012 09:35:31 +0000 (11:35 +0200)]
test/TEST-16-DMSQUASH: add check for python-imgcreate

12 years agotest/test-functions: check with test_check() if test is suitable
Harald Hoyer [Mon, 4 Jun 2012 09:35:02 +0000 (11:35 +0200)]
test/test-functions: check with test_check() if test is suitable

12 years agodracut.sh: do not rely on the presence of lib64, check with ldd
Harald Hoyer [Mon, 4 Jun 2012 09:33:29 +0000 (11:33 +0200)]
dracut.sh: do not rely on the presence of lib64, check with ldd

12 years agoHandle multiple underlying devices of a bridge
Cong Wang [Thu, 31 May 2012 14:07:38 +0000 (22:07 +0800)]
Handle multiple underlying devices of a bridge

A bridge device with only one underlying ethernet device is almost
useless, for sure we want to support a bridge with multiple
underlying devices.

This patch adds the support by extending <ethname> in the original
bridge= cmdline to a comma-separated list of ethernet interfaces.

Cc: Harald Hoyer <harald@redhat.com>
Cc: Dave Young <dyoung@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
12 years agoDon't set an already set attribute (#826357)
Jesse Keating [Fri, 1 Jun 2012 01:41:25 +0000 (18:41 -0700)]
Don't set an already set attribute (#826357)

Depending on how the dasd_mod module was loaded, our device could have
already been marked as online or offline.  We need to make the sysecho
sensitive to this and not fail if the attribute we're trying to set has
already been set.

12 years ago99base/init.sh: kill systemd-udevd instead of udevd
Harald Hoyer [Mon, 4 Jun 2012 07:58:49 +0000 (09:58 +0200)]
99base/init.sh: kill systemd-udevd instead of udevd

12 years agobase/loginit.sh: revert "quiet" patch
Harald Hoyer [Mon, 4 Jun 2012 07:09:09 +0000 (03:09 -0400)]
base/loginit.sh: revert "quiet" patch

12 years agosystemd: mkdir basic.target.wants
Harald Hoyer [Mon, 4 Jun 2012 07:08:24 +0000 (03:08 -0400)]
systemd: mkdir basic.target.wants

12 years agoTODO: update
Harald Hoyer [Mon, 4 Jun 2012 07:07:43 +0000 (03:07 -0400)]
TODO: update

12 years agoadd README.testsuite
Harald Hoyer [Fri, 1 Jun 2012 16:51:47 +0000 (18:51 +0200)]
add README.testsuite

12 years agofix return value of some installkernel() functions
Harald Hoyer [Fri, 1 Jun 2012 15:09:25 +0000 (17:09 +0200)]
fix return value of some installkernel() functions

12 years agoadd filesystem options to fsck_single()
Harald Hoyer [Thu, 31 May 2012 10:57:23 +0000 (12:57 +0200)]
add filesystem options to fsck_single()

if we have e.g. special btrfs options for "/" and "/usr", we want to use
those for the test mount to determine if the filesystem is corrupted.

12 years agocrypt: add rd.luks.allow-discards and honor options in crypttab
Harald Hoyer [Thu, 31 May 2012 09:46:10 +0000 (11:46 +0200)]
crypt: add rd.luks.allow-discards and honor options in crypttab

also fixed the retry loop for rd.luks.key

12 years agodracut-shutdown.service: do not unpack old initramfs on shutdown
Harald Hoyer [Thu, 31 May 2012 07:56:24 +0000 (09:56 +0200)]
dracut-shutdown.service: do not unpack old initramfs on shutdown

Do not unpack the initramfs, if the old initramfs still exists.

12 years agoremoved scsi_wait_scan from standard install
Harald Hoyer [Thu, 31 May 2012 07:14:17 +0000 (09:14 +0200)]
removed scsi_wait_scan from standard install

12 years agodasd_mod/parse-dasd-mod.sh: fixed dasd_mod param generation
Harald Hoyer [Thu, 31 May 2012 07:12:51 +0000 (09:12 +0200)]
dasd_mod/parse-dasd-mod.sh: fixed dasd_mod param generation

12 years agonetwork: do not arping with qeth layer3 interfaces
Harald Hoyer [Tue, 29 May 2012 15:38:18 +0000 (17:38 +0200)]
network: do not arping with qeth layer3 interfaces

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

12 years agourl-lib/url-lib.sh: disable curl progress bar
Harald Hoyer [Tue, 29 May 2012 14:10:46 +0000 (16:10 +0200)]
url-lib/url-lib.sh: disable curl progress bar

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

12 years agoadd anaconda-style option parsing to ip_to_var
Will Woods [Tue, 22 May 2012 22:31:07 +0000 (18:31 -0400)]
add anaconda-style option parsing to ip_to_var

Anaconda used arguments of the form:

  ip=<ip> gateway=<gw> netmask=<nm>

for static IP configuration. So if we get a value for "ip" that's an IP
address, look for gateway= and netmask= and related args to fill in the
ip config vars.

12 years agodo emergency_shell in die() if rd.debug=1
Will Woods [Tue, 22 May 2012 22:16:12 +0000 (18:16 -0400)]
do emergency_shell in die() if rd.debug=1

If I said 'rd.debug=1' I should get to debug the system before it dies,
right?

12 years agodon't wait_for_loginit in emergency_shell()
Will Woods [Tue, 22 May 2012 22:16:11 +0000 (18:16 -0400)]
don't wait_for_loginit in emergency_shell()

wait_for_loginit ends the log; this is unhelpful if you're using
emergency_shell to do debugging.

Just leave loginit running. It doesn't hurt anything.

12 years agodracut-lib.sh: add copytree(), use it where applicable
Will Woods [Tue, 22 May 2012 21:55:00 +0000 (17:55 -0400)]
dracut-lib.sh: add copytree(), use it where applicable

copytree() recursively copies the contents of SRC into DEST.

If DEST doesn't exist it is created; if it exists the contents of SRC
get merged into it (duplicate files are overwritten).

12 years agoUpdate the documentation of ifname= cmdline
Cong Wang [Tue, 29 May 2012 09:00:34 +0000 (17:00 +0800)]
Update the documentation of ifname= cmdline

The documentation about ifname= needs to update.

Cc: Harald Hoyer <harald@redhat.com>
Cc: Dave Young <dyoung@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
12 years agoRemove rd.neednet cmdline
Cong Wang [Tue, 29 May 2012 09:00:35 +0000 (17:00 +0800)]
Remove rd.neednet cmdline

rd.neednet could be removed, as we can check /tmp/net.ifaces.
After this patch, kdump can bring up the NIC without
rd.neednet.

Cc: Harald Hoyer <harald@redhat.com>
Cc: Dave Young <dyoung@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
12 years agoDo not use ifenslave
Cong Wang [Tue, 29 May 2012 09:00:33 +0000 (17:00 +0800)]
Do not use ifenslave

ifenslave is an old tool, and could be dropped,
we can use the /sys interface.

Cc: Harald Hoyer <harald@redhat.com>
Cc: Dave Young <dyoung@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>