Harald Hoyer [Mon, 9 Jul 2012 08:04:35 +0000 (10:04 +0200)]
require systemd >= 186
Harald Hoyer [Mon, 9 Jul 2012 08:02:35 +0000 (10:02 +0200)]
dracut.sh: corrected error messages, if mktemp failed
Harald Hoyer [Mon, 9 Jul 2012 08:02:04 +0000 (10:02 +0200)]
dracut-functions.sh: bail out, if $initdir is not set
Harald Hoyer [Mon, 9 Jul 2012 06:21:00 +0000 (08:21 +0200)]
dracut.conf.d/fedora.conf.example: removed readonly from prefix
Harald Hoyer [Fri, 6 Jul 2012 12:33:53 +0000 (14:33 +0200)]
systemd/module-setup.sh: also include systemd-udevd* units
systemd-udev* was renamed to systemd-udevd*
Harald Hoyer [Fri, 6 Jul 2012 12:22:10 +0000 (14:22 +0200)]
dracut.spec,dracut.conf.d/fedora.conf.example: no dash
hard remove dash from supported modules
we do not want to have anything to do with dash bugs
Harald Hoyer [Fri, 6 Jul 2012 12:06:05 +0000 (14:06 +0200)]
fixed bash/sh requirements
Harald Hoyer [Fri, 6 Jul 2012 11:49:03 +0000 (13:49 +0200)]
systemd: check, that --prefix= does not contain /run
systemd will mount /run before dracut has a chance to copy over the
original content.
Harald Hoyer [Fri, 6 Jul 2012 11:48:05 +0000 (13:48 +0200)]
dracut.sh: keep vim syntax highlighting happy
Harald Hoyer [Fri, 6 Jul 2012 10:57:17 +0000 (12:57 +0200)]
network/ifname-genrules.sh: check for multiple ifname= lines
Harald Hoyer [Fri, 6 Jul 2012 10:42:06 +0000 (12:42 +0200)]
mkinitrd.8.asc: mark paragraph as important
Harald Hoyer [Fri, 6 Jul 2012 10:31:31 +0000 (12:31 +0200)]
network: do not rename other interfaces and document the ifname usage
We do not support renaming in the kernel namespace anymore (as udev does
that not anymore). So, if a user wants to use ifname, he has to rename
to a custom namespace. "eth[0-9]+" is not allowed anymore.
Harald Hoyer [Fri, 6 Jul 2012 10:30:50 +0000 (12:30 +0200)]
dracut.cmdline.7.asc: fixup
Harald Hoyer [Fri, 6 Jul 2012 10:30:03 +0000 (12:30 +0200)]
dracut.8.asc: fixup NOTE sections
Harald Hoyer [Fri, 6 Jul 2012 10:29:44 +0000 (12:29 +0200)]
dracut.asc: add lsinitrd and mkinitrd
Harald Hoyer [Fri, 6 Jul 2012 10:28:17 +0000 (12:28 +0200)]
systemd: exit with sane state
Harald Hoyer [Thu, 5 Jul 2012 10:54:13 +0000 (12:54 +0200)]
network: factor out parse_ifname_opts() for ifname-genrules
Harald Hoyer [Thu, 5 Jul 2012 12:30:45 +0000 (14:30 +0200)]
install user/group adm for journal
Harald Hoyer [Thu, 5 Jul 2012 08:42:22 +0000 (10:42 +0200)]
fips: add instmods silent check mode "-c -s"
Harald Hoyer [Thu, 5 Jul 2012 08:28:56 +0000 (10:28 +0200)]
i18n/module-setup.sh: s/error/info if no keymap is configured
https://bugzilla.redhat.com/show_bug.cgi?id=836418
Harald Hoyer [Thu, 5 Jul 2012 08:11:27 +0000 (10:11 +0200)]
fips: change module list
Harald Hoyer [Thu, 5 Jul 2012 04:57:11 +0000 (06:57 +0200)]
Makefile: mkinitrd man page install typo
Harald Hoyer [Tue, 3 Jul 2012 16:24:21 +0000 (18:24 +0200)]
lsinitrd.sh: fixed version file extraction
Harald Hoyer [Tue, 3 Jul 2012 16:23:59 +0000 (18:23 +0200)]
lsinitrd.sh: get rid of awk call
Harald Hoyer [Tue, 3 Jul 2012 16:23:27 +0000 (18:23 +0200)]
lsinitrd.sh: print usage for -?, -h
Harald Hoyer [Tue, 3 Jul 2012 16:22:29 +0000 (18:22 +0200)]
TEST-30-ISCSI: put back in hard-off.sh for tests
Harald Hoyer [Tue, 3 Jul 2012 16:21:54 +0000 (18:21 +0200)]
TEST-03-USR-MOUNT: change test to use a seperate disk
Harald Hoyer [Tue, 3 Jul 2012 16:20:46 +0000 (18:20 +0200)]
usrmount/mount-usr.sh: check the right path with ismounted
Harald Hoyer [Tue, 3 Jul 2012 12:20:51 +0000 (14:20 +0200)]
dracut.sh: use getopt to parse arguments
now we can put options and arguments anywhere we like.
e.g.
$ dracut test.img --force
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"