Harald Hoyer [Tue, 3 Jul 2012 12:20:14 +0000 (14:20 +0200)]
manpages: simplify AUTHORS
Harald Hoyer [Tue, 3 Jul 2012 12:18:55 +0000 (14:18 +0200)]
add lsinitrd and mkinitrd man pages
Harald Hoyer [Tue, 3 Jul 2012 11:14:12 +0000 (13:14 +0200)]
base/init.sh: error out early, if /dev, /proc or /sys cannot be mounted
Harald Hoyer [Mon, 2 Jul 2012 20:51:24 +0000 (22:51 +0200)]
dracut-functions.sh:find_kernel_modules_by_path() fixed hostonly part
filter /sys/module/* modules by path
Harald Hoyer [Mon, 2 Jul 2012 20:14:49 +0000 (22:14 +0200)]
dracut-functions.sh: forgot --set-version $kernel for modprobe
Harald Hoyer [Mon, 2 Jul 2012 16:51:20 +0000 (18:51 +0200)]
usrmount/mount-usr.sh: give emergency_shell if /usr mount failed
Harald Hoyer [Mon, 2 Jul 2012 16:46:48 +0000 (18:46 +0200)]
dracut-install.c: for lazy install shebangs, do not check for existence
Harald Hoyer [Sat, 30 Jun 2012 10:46:55 +0000 (12:46 +0200)]
dracut-functions.sh: create $initdir, if it does not exist
Harald Hoyer [Sat, 30 Jun 2012 10:17:34 +0000 (12:17 +0200)]
TEST-02-SYSTEMD: enlarge the root disk
Harald Hoyer [Sat, 30 Jun 2012 10:15:42 +0000 (12:15 +0200)]
rootfs-block/mount-root.sh: warn if ro mount failed and remount
remount the root filesystem, if it was not unmounted
Harald Hoyer [Sat, 30 Jun 2012 10:15:04 +0000 (12:15 +0200)]
fs-lib/fs-lib.sh: skip fsck for xfs and btrfs. remount is enough
Harald Hoyer [Sat, 30 Jun 2012 10:14:12 +0000 (12:14 +0200)]
TEST-01-BASIC: grow the root disk
Harald Hoyer [Sat, 30 Jun 2012 09:38:24 +0000 (11:38 +0200)]
new testsuite test TEST-03-USR-MOUNT
mounts /usr as a btrfs subvolume and should respect "rw" and "ro" kernel
command line arguments properly.
Harald Hoyer [Sat, 30 Jun 2012 09:34:46 +0000 (11:34 +0200)]
add "--hardlink" "--nohardlink" options
Harald Hoyer [Sat, 30 Jun 2012 09:34:13 +0000 (11:34 +0200)]
dracut-functions.sh,dracut.sh: use xargs with "-r"
Harald Hoyer [Sat, 30 Jun 2012 09:33:19 +0000 (11:33 +0200)]
dracut.sh: do not lazy resolve "include" directories
Harald Hoyer [Sat, 30 Jun 2012 09:31:38 +0000 (11:31 +0200)]
dracut-install.c: give info that SOURCE argument is missing
Harald Hoyer [Sat, 30 Jun 2012 09:29:30 +0000 (11:29 +0200)]
do not umount root, remount it. do not mount ro if not specified
also mount /usr readonly if "ro" is specified on the command line
if /usr is a btrfs subvolume of root, use the same mount options
Harald Hoyer [Sat, 30 Jun 2012 09:27:36 +0000 (11:27 +0200)]
dracut-functions.sh: set LC_ALL=C to get correct parsing information
Amadeusz Żołnowski [Fri, 29 Jun 2012 11:58:21 +0000 (13:58 +0200)]
95rootfs-block: skip checks rel. to fsck if rd.skipfsck is supplied
Amadeusz Żołnowski [Fri, 29 Jun 2012 11:58:20 +0000 (13:58 +0200)]
new option: rd.skipfsck to skip fsck for rootfs and /usr
Amadeusz Żołnowski [Fri, 29 Jun 2012 11:58:19 +0000 (13:58 +0200)]
99base: don't require fs-lib to detect rootfstype
If fs-lib is not included, no rootfs autodetection is performed.
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