Amadeusz Żołnowski [Fri, 29 Jun 2012 11:58:18 +0000 (13:58 +0200)]
98usrmount: force mounting /usr read-only option (rd.usrmount.ro)
Harald Hoyer [Sat, 30 Jun 2012 07:12:35 +0000 (09:12 +0200)]
move dracut-install to dracutbasedir
We do not want to install dracut-install to /usr/bin until all
interfaces are set to stone and the manpage is written. Until then the
tool is dracut internal.
Harald Hoyer [Sat, 30 Jun 2012 07:06:13 +0000 (09:06 +0200)]
dracut-install.c: try clone ioctl for more speed
Harald Hoyer [Fri, 29 Jun 2012 10:49:12 +0000 (12:49 +0200)]
Version 020
Harald Hoyer [Fri, 29 Jun 2012 10:07:44 +0000 (12:07 +0200)]
Use /usr/bin/dracut-install if available
/usr/bin/dracut-install greatly improves initramfs creation speed
Harald Hoyer [Fri, 29 Jun 2012 10:04:30 +0000 (12:04 +0200)]
dracut-functions.sh: grep for "--relative" for the ln_r() check
Harald Hoyer [Fri, 29 Jun 2012 09:59:09 +0000 (11:59 +0200)]
install/*: add dracut-install tool
Harald Hoyer [Fri, 29 Jun 2012 09:57:02 +0000 (11:57 +0200)]
TEST-40-NBD: add watchdog
Harald Hoyer [Wed, 27 Jun 2012 15:11:07 +0000 (17:11 +0200)]
testsuite: fixups
Harald Hoyer [Wed, 27 Jun 2012 15:08:19 +0000 (17:08 +0200)]
TEST-20-NFS: trigger watchdog more often
Harald Hoyer [Wed, 27 Jun 2012 15:06:23 +0000 (17:06 +0200)]
watchdog: stop watchdog in emergency_shell
Harald Hoyer [Wed, 27 Jun 2012 15:04:27 +0000 (17:04 +0200)]
kernel-modules: no need to install modules.dep et.al.
dracut_kernel_post() does it all
Harald Hoyer [Wed, 27 Jun 2012 15:03:58 +0000 (17:03 +0200)]
watchdog: call watchdog more often
Harald Hoyer [Wed, 27 Jun 2012 15:02:49 +0000 (17:02 +0200)]
dracut.sh, dracut-functions.sh: add dracut_kernel_post()
dracut_kernel_post() does lazy kernel module dependency installation,
depmod and cleans up temporary files
Harald Hoyer [Wed, 27 Jun 2012 15:00:54 +0000 (17:00 +0200)]
fips/module-setup.sh: s/aes-xts/xts
Harald Hoyer [Wed, 27 Jun 2012 12:19:16 +0000 (14:19 +0200)]
test/*/test.sh: correct ifup and dhclient paths
Harald Hoyer [Wed, 27 Jun 2012 12:18:21 +0000 (14:18 +0200)]
dracut-functions.sh: error out, if $initdir is not set
Harald Hoyer [Wed, 27 Jun 2012 12:17:46 +0000 (14:17 +0200)]
dracut.sh: set $initdir early before sourcing dracut-functions.sh
Harald Hoyer [Wed, 27 Jun 2012 12:16:32 +0000 (14:16 +0200)]
modules.d: get rid of "tr"
replace it with sed or str_replace or bash ${var/a/b}
Harald Hoyer [Wed, 27 Jun 2012 08:50:57 +0000 (10:50 +0200)]
dracut-functions: inst(),inst_binary() fixed inst_symlink call
Harald Hoyer [Wed, 27 Jun 2012 07:38:26 +0000 (09:38 +0200)]
dracut-functions.sh:inst_libdir_files() combine installs
first, search for all files, then call dracut_install only once
Harald Hoyer [Wed, 27 Jun 2012 07:35:39 +0000 (09:35 +0200)]
dracut.sh, dracut-functions.sh: do lazy kernel module dep resolving
First, we just install the kernel module and keep track, what we
installed. At the very end, call modprobe and modinfo for firmwares to
resolve all kernel module dependencies. This speeds up image creation,
because we can call modprobe and modinfo with many modules.
Harald Hoyer [Wed, 27 Jun 2012 07:34:30 +0000 (09:34 +0200)]
fcoe/module-setup.sh: check() for needed tools
Harald Hoyer [Wed, 27 Jun 2012 07:32:22 +0000 (09:32 +0200)]
modules.d/*/module-setup.sh: combine and specify type for installs
To speedup image creation, combine dracut_install calls and specify the exact type.
E.g. inst_script instead of the generic inst.
Srinivasa T N [Wed, 27 Jun 2012 05:59:13 +0000 (11:29 +0530)]
Fixed BOOTIF for converting mac addr to lowercase
The patch,
acfab373 - Handle upper case MAC addresses in ifname
option,takes care of only the MAC conversion to lower case in the
interface name. But the same has to be taken care for BOOTIF also.
This patch takes care of changing the BOOTIF to lower case.
Note that sed has been used in the patch instead of tr, as it is not
compulsion to install tr by dracut in the initramfs and may not be
available always.
Signed-off-by: Srinivasa T N (seenutn@linux.vnet.ibm.com)
>From
2ec9c91adbf808dbad9bdd2057d9df55a62b711f Mon Sep 17 00:00:00 2001
From: Srinivasa T N <seenutn@linux.vnet.ibm.com>
Date: Wed, 27 Jun 2012 11:20:13 +0530
Subject: [PATCH] Fixed BOOTIF for converting mac addr to lowercase
Amadeusz Żołnowski [Mon, 25 Jun 2012 16:32:03 +0000 (18:32 +0200)]
90dmsquash-live: don't source fs-lib.sh as it is not used
Amadeusz Żołnowski [Mon, 25 Jun 2012 16:32:02 +0000 (18:32 +0200)]
dracut-lib.sh: Use "$*" instead of "$@" in warn, info, and so on...
"$@" might cause some uneccessary word breaking.
Amadeusz Żołnowski [Mon, 25 Jun 2012 16:32:01 +0000 (18:32 +0200)]
man pages: hostonly mode generates host-specific configuration
This fact hasn't been mentioned.
Amadeusz Żołnowski [Mon, 25 Jun 2012 16:32:00 +0000 (18:32 +0200)]
98usrmount: depend on fs-lib
Harald Hoyer [Fri, 22 Jun 2012 13:49:25 +0000 (15:49 +0200)]
dracut.sh: do not copy devices nodes, mknod them
Harald Hoyer [Fri, 22 Jun 2012 13:35:09 +0000 (15:35 +0200)]
dracut-logger.sh: empty functions for log funcs, which are below level
Harald Hoyer [Fri, 22 Jun 2012 13:34:24 +0000 (15:34 +0200)]
dracut-logger.sh: use (( )) for numeric comparisons
Harald Hoyer [Fri, 22 Jun 2012 13:33:42 +0000 (15:33 +0200)]
modules.d/*/module-setup.sh: no more sourcing of dracutfunctions
Harald Hoyer [Fri, 22 Jun 2012 13:33:15 +0000 (15:33 +0200)]
multipath/module-setup.sh:installkernel() fix return code
Harald Hoyer [Fri, 22 Jun 2012 13:32:15 +0000 (15:32 +0200)]
kernel-modules/module-setup.sh:installkernel() fix return code
Harald Hoyer [Fri, 22 Jun 2012 13:31:26 +0000 (15:31 +0200)]
plymouth/module-setup.sh:installkernel() fix return code
Harald Hoyer [Fri, 22 Jun 2012 13:30:58 +0000 (15:30 +0200)]
iscsi/module-setup.sh: speedup installkernel()
Harald Hoyer [Fri, 22 Jun 2012 13:24:28 +0000 (15:24 +0200)]
network/module-setup.sh: fixed installkernel() return code
Harald Hoyer [Fri, 22 Jun 2012 13:29:04 +0000 (15:29 +0200)]
terminfo/module-setup.sh: speedup install() of all terminfo
Harald Hoyer [Fri, 22 Jun 2012 13:28:23 +0000 (15:28 +0200)]
udev-rules/module-setup.sh: ln with --force
Harald Hoyer [Fri, 22 Jun 2012 13:27:40 +0000 (15:27 +0200)]
no more "mknod" in the initramfs!!
Harald Hoyer [Fri, 22 Jun 2012 13:23:56 +0000 (15:23 +0200)]
bootchart/module-setup.sh: no need for mknod anymore
Harald Hoyer [Fri, 22 Jun 2012 13:21:11 +0000 (15:21 +0200)]
i18n/module-setup.sh:install_all_kbd(): speedup install
Harald Hoyer [Fri, 22 Jun 2012 13:20:06 +0000 (15:20 +0200)]
systemd/module-setup.sh: ln with --force
Harald Hoyer [Fri, 22 Jun 2012 13:19:32 +0000 (15:19 +0200)]
systemd/module-setup.sh: only create empty machine-id if non existing
Harald Hoyer [Fri, 22 Jun 2012 13:18:45 +0000 (15:18 +0200)]
base/module-setup.sh: use --force for ln
Harald Hoyer [Fri, 22 Jun 2012 13:16:55 +0000 (15:16 +0200)]
fs-lib/fs-lib.sh: removed test mounting of btrfs and xfs
mount/umount check only costs time and we fail later anyway.
mount can take very long on large filesystems. Better fail on the real
mount.
Harald Hoyer [Fri, 22 Jun 2012 13:14:27 +0000 (15:14 +0200)]
profile.py: do not count negative timestamp differences
Harald Hoyer [Fri, 22 Jun 2012 13:13:47 +0000 (15:13 +0200)]
dracut.sh: speedup "strip"
Harald Hoyer [Fri, 22 Jun 2012 13:10:11 +0000 (15:10 +0200)]
dracut-functions.sh:find_kernel_modules_by_path() use IFS=:
For modules.dep use simpler IFS=: to read the file.
Harald Hoyer [Fri, 22 Jun 2012 13:09:45 +0000 (15:09 +0200)]
dracut-functions.sh:inst_decompress() simplify function
Harald Hoyer [Fri, 22 Jun 2012 13:09:07 +0000 (15:09 +0200)]
dracut-functions.sh:inst_simple() do inst_symlink for symlinks
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.
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.
Harald Hoyer [Fri, 22 Jun 2012 06:58:39 +0000 (08:58 +0200)]
dracut-functions.sh: mksubdirs(): check for dir existence first
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
Harald Hoyer [Thu, 21 Jun 2012 12:10:41 +0000 (14:10 +0200)]
systemd: add ConditionPathExists=/etc/initrd-release to services
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>
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.
Harald Hoyer [Thu, 21 Jun 2012 08:50:01 +0000 (10:50 +0200)]
systemd: remove old udev services
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
Harald Hoyer [Thu, 21 Jun 2012 01:36:58 +0000 (03:36 +0200)]
systemd: remove unneeded systemd services
Harald Hoyer [Wed, 20 Jun 2012 23:57:11 +0000 (01:57 +0200)]
dracut-functions.sh: use "ln -r" instead of shell functions
Harald Hoyer [Wed, 20 Jun 2012 23:20:11 +0000 (01:20 +0200)]
dracut.spec: require systemd >= 44-15
Harald Hoyer [Wed, 20 Jun 2012 23:09:02 +0000 (01:09 +0200)]
dracut.conf.d/fedora.conf.example: make systemd default
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
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
Harald Hoyer [Wed, 20 Jun 2012 23:08:29 +0000 (01:08 +0200)]
systemd: fixed I/O of services
Harald Hoyer [Wed, 20 Jun 2012 23:08:03 +0000 (01:08 +0200)]
systemd: fixed ordering of services
Harald Hoyer [Wed, 20 Jun 2012 23:07:08 +0000 (01:07 +0200)]
systemd/dracut-pre-udev.service: fixed description
Harald Hoyer [Wed, 20 Jun 2012 23:06:30 +0000 (01:06 +0200)]
systemd/dracut-pre-pivot.sh: remove trailing space
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
Harald Hoyer [Wed, 20 Jun 2012 23:04:15 +0000 (01:04 +0200)]
systemd/dracut-pre-pivot.sh: stop old udev services
Harald Hoyer [Wed, 20 Jun 2012 23:03:22 +0000 (01:03 +0200)]
systemd: do not flock for console
Harald Hoyer [Wed, 20 Jun 2012 23:02:48 +0000 (01:02 +0200)]
systemd: do not redirect to /dev/console
Harald Hoyer [Wed, 20 Jun 2012 23:01:51 +0000 (01:01 +0200)]
systemd: fix emergency.service and rescue.service
Harald Hoyer [Wed, 20 Jun 2012 23:01:07 +0000 (01:01 +0200)]
systemd/module-setup.sh: add old udev systemd services
Harald Hoyer [Wed, 20 Jun 2012 16:34:35 +0000 (18:34 +0200)]
systemd: output all service output to the journal also
Harald Hoyer [Wed, 20 Jun 2012 16:29:42 +0000 (18:29 +0200)]
dracut-shutdown.service: fixed ordering to be before shutdown.target
Harald Hoyer [Wed, 20 Jun 2012 16:28:35 +0000 (18:28 +0200)]
check for arch before installing drivers/s390
Harald Hoyer [Mon, 18 Jun 2012 17:20:39 +0000 (19:20 +0200)]
disable TEST-16-DMSQUASH for now
Harald Hoyer [Mon, 18 Jun 2012 17:28:44 +0000 (19:28 +0200)]
TEST-50-MULTINIC: libnss cleanup
Harald Hoyer [Mon, 18 Jun 2012 17:23:25 +0000 (19:23 +0200)]
TEST-20-NFS: libnss cleanup
Harald Hoyer [Mon, 18 Jun 2012 17:22:35 +0000 (19:22 +0200)]
TEST-50-MULTINIC: add watchdog
Harald Hoyer [Mon, 18 Jun 2012 17:13:09 +0000 (19:13 +0200)]
TEST-20-NFS: add watchdog
Harald Hoyer [Mon, 18 Jun 2012 17:20:16 +0000 (19:20 +0200)]
TEST-01-BASIC: add watchdog
Harald Hoyer [Mon, 18 Jun 2012 17:17:22 +0000 (19:17 +0200)]
add 04watchdog dracut module
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
Harald Hoyer [Mon, 18 Jun 2012 11:26:55 +0000 (13:26 +0200)]
iscsi/module-setup.sh: only install s390 driver on s390 arch
Harald Hoyer [Mon, 18 Jun 2012 10:52:39 +0000 (12:52 +0200)]
Set some global variables in dracut-functions.sh
Harald Hoyer [Mon, 18 Jun 2012 10:51:21 +0000 (12:51 +0200)]
fixed instmods() return code and set pipefail globally
Harald Hoyer [Tue, 12 Jun 2012 12:40:43 +0000 (14:40 +0200)]
resolve conflict between cms network rules and default rules
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.
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.
Harald Hoyer [Fri, 15 Jun 2012 09:12:46 +0000 (11:12 +0200)]
TEST-50-MULTINIC: install correct nss libs
Harald Hoyer [Fri, 15 Jun 2012 09:12:08 +0000 (11:12 +0200)]
nfs: extend libnss wildcard
Harald Hoyer [Fri, 15 Jun 2012 09:11:30 +0000 (11:11 +0200)]
dracut.sh: unset some variables
Harald Hoyer [Fri, 15 Jun 2012 09:11:10 +0000 (11:11 +0200)]
dracut.sh: output unknown argument
Harald Hoyer [Fri, 15 Jun 2012 07:34:00 +0000 (09:34 +0200)]
dracut-functions.sh: fixup inst_libdir_file() again
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.