Harald Hoyer [Fri, 27 Jul 2012 13:34:54 +0000 (15:34 +0200)]
i18n,terminfo/module-setup.sh: fixed "cp -t" calls
Harald Hoyer [Fri, 27 Jul 2012 13:11:01 +0000 (15:11 +0200)]
add "af_packet" kernel module to network testsuite tests
Harald Hoyer [Fri, 27 Jul 2012 12:15:48 +0000 (14:15 +0200)]
fixed i18n and plymouth for systemd
Harald Hoyer [Fri, 27 Jul 2012 12:11:22 +0000 (14:11 +0200)]
i18n/console_init.sh: skip, if we use systemd and use systemd-vconsole-init
Harald Hoyer [Fri, 27 Jul 2012 10:40:55 +0000 (12:40 +0200)]
cifs/parse-cifsroot.sh: fixed more root/netroot parsing
Harald Hoyer [Fri, 27 Jul 2012 10:18:08 +0000 (12:18 +0200)]
iscsi/iscsiroot.sh: force link initiatorname
Harald Hoyer [Fri, 27 Jul 2012 10:12:09 +0000 (12:12 +0200)]
README.testsuite: add instructions on how to run the testsuite
Harald Hoyer [Fri, 27 Jul 2012 09:55:31 +0000 (11:55 +0200)]
fixed install locations for udev rules and change to IMPORT{builtin}
Harald Hoyer [Fri, 27 Jul 2012 09:54:24 +0000 (11:54 +0200)]
cifs/parse-cifsroot.sh: do not unset netroot, we need it
Amadeusz Żołnowski [Fri, 27 Jul 2012 07:34:17 +0000 (09:34 +0200)]
gitignore install/dracut-install
Amadeusz Żołnowski [Fri, 27 Jul 2012 07:34:32 +0000 (09:34 +0200)]
Makefile: add dependencies for dracut-install (generated with gcc -MM)
Harald Hoyer [Fri, 27 Jul 2012 04:26:26 +0000 (06:26 +0200)]
dracut.spec: add cifs module
Harald Hoyer [Thu, 26 Jul 2012 17:35:12 +0000 (19:35 +0200)]
dracut-functions.sh:inst_rule_programs() fix error messages
Harald Hoyer [Thu, 26 Jul 2012 17:21:06 +0000 (19:21 +0200)]
install/dracut-install.c: convert destrootdir to realpath
otherwise we get strange errors if it ends with a slash and does not
exist.
Harald Hoyer [Thu, 26 Jul 2012 17:12:40 +0000 (19:12 +0200)]
dracut-functions.sh:inst_rule_programs() fixed IMPORT{program}
Amadeusz Żołnowski [Thu, 26 Jul 2012 17:04:30 +0000 (19:04 +0200)]
gentoo.conf: enable ro_mnt
Harald Hoyer [Thu, 26 Jul 2012 16:59:36 +0000 (18:59 +0200)]
plymouth: do not start plymouth via dracut for systemd in the initramfs
Mike Gorse [Thu, 26 Jul 2012 14:17:18 +0000 (09:17 -0500)]
Added cifs
Harald Hoyer [Thu, 26 Jul 2012 16:12:05 +0000 (18:12 +0200)]
nfs/module-setup.sh: check for "rpc.rpc" before running chown
Amadeusz Żołnowski [Thu, 26 Jul 2012 13:58:27 +0000 (15:58 +0200)]
parse-root-opts: first check for ro, later for rw
This order is already in 98usrmount.
Harald Hoyer [Thu, 26 Jul 2012 15:35:25 +0000 (17:35 +0200)]
base/module-setup.sh: removed mount-hook
Harald Hoyer [Thu, 26 Jul 2012 15:26:31 +0000 (17:26 +0200)]
README.testsuite updated with requirements for TEST-04-SYSTEMD
Harald Hoyer [Thu, 26 Jul 2012 15:22:14 +0000 (17:22 +0200)]
mv rootfs-block/module-setup.sh:search_option() in dracut-functions.sh
new function fs_get_option()
Amadeusz Żołnowski [Thu, 26 Jul 2012 14:44:09 +0000 (16:44 +0200)]
ro_mnt - option at build time to force ro mount of / and /usr
Harald Hoyer [Thu, 26 Jul 2012 15:05:24 +0000 (17:05 +0200)]
dracut-functions.sh: corrected usage comment of find_mp_fstype()
Harald Hoyer [Thu, 26 Jul 2012 15:00:47 +0000 (17:00 +0200)]
rootfs-block/module-setup.sh: add support for xfs / reiserfs separate journal device
xfs and reiserfs (among other) supports storing journal data to a
separate device. Unfortunately, XFS requires this information to boot
properly (reiserfs can embed the information in its metadata but you
might want to override it).
Frederic Crozat <fcrozat@suse.com>
Harald Hoyer [Thu, 26 Jul 2012 15:00:07 +0000 (17:00 +0200)]
dracut-functions.sh: add find_mp_fstype()
Frederic Crozat [Thu, 26 Jul 2012 13:16:22 +0000 (15:16 +0200)]
PATCH: add support for xfs / reiserfs separate journal device
xfs and reiserfs (among other) supports storing journal data to a
separate device. Unfortunately, XFS requires this information to boot
properly (reiserfs can embed the information in its metadata but you
might want to override it).
Attached patch ensure host information are stored in initramfs and also
allows to give data over kernel commandline.
--
Frederic Crozat <fcrozat@suse.com>
SUSE
>From
a7c592b9bb7de0d7874ae51d02944a7eee2ec75b Mon Sep 17 00:00:00 2001
From: Frederic Crozat <fcrozat@suse.com>
Date: Tue, 24 Jul 2012 18:52:17 +0200
Subject: [PATCH] Add support for separate journal on reiserfs and xfs
Amadeusz Żołnowski [Thu, 26 Jul 2012 13:05:27 +0000 (15:05 +0200)]
modules.d/99base/mount-hook.sh is not used - removed
Amadeusz Żołnowski [Thu, 26 Jul 2012 13:05:26 +0000 (15:05 +0200)]
apply "ro" and "rw" options from cmdline to / mount
rflags is no longer guaranteed to be non empty. / is mounted according
to rootflags parameter but forced ro at first. Later it is remounted
according to /etc/fstab + rootflags parameter and "ro"/"rw". If
parameters are still the same as for first mount, / isn't remounted.
Conflicts:
modules.d/95rootfs-block/mount-root.sh
modules.d/99base/parse-root-opts.sh
Amadeusz Żołnowski [Thu, 26 Jul 2012 13:05:25 +0000 (15:05 +0200)]
dracut-lib: new functions: listlist and are_lists_eq
listlist is like strstr for lists with specified separator and
are_lists_eq uses listlist to check equality of specified lists.
Amadeusz Żołnowski [Thu, 26 Jul 2012 13:05:24 +0000 (15:05 +0200)]
98usrmount: [ "x$_usr_found" != "x" ] - removed redundant 'x'
Amadeusz Żołnowski [Thu, 26 Jul 2012 13:05:23 +0000 (15:05 +0200)]
98usrmount: print mount options
Amadeusz Żołnowski [Thu, 26 Jul 2012 13:05:22 +0000 (15:05 +0200)]
98usrmount: use rw and ro options instead of rd.usrmount.ro
In result /usr is forced to be mounted ro or rw along with /.
Amadeusz Żołnowski [Thu, 26 Jul 2012 13:05:21 +0000 (15:05 +0200)]
95rootfs-block: fix left fsck rel. checks
Harald Hoyer [Thu, 26 Jul 2012 12:23:31 +0000 (14:23 +0200)]
systemd/dracut-cmdline.sh: output dracut version
Harald Hoyer [Thu, 26 Jul 2012 10:27:29 +0000 (12:27 +0200)]
Makefile: use symlink for topsrcdir/dracut-install
Harald Hoyer [Thu, 26 Jul 2012 10:43:20 +0000 (12:43 +0200)]
multipath/module-setup.sh: add dm dependency
Harald Hoyer [Thu, 26 Jul 2012 09:50:50 +0000 (11:50 +0200)]
Makefile: fixed dracut-install make target
Amadeusz Żołnowski [Thu, 26 Jul 2012 09:38:04 +0000 (11:38 +0200)]
90multipath: added kpartx.rules; multipath.rules - different prefix
Cong Wang [Thu, 26 Jul 2012 07:39:13 +0000 (15:39 +0800)]
90kernel-modules: remove unused variables in install()
The local variables in install() are unused, can be removed.
Cc: Harald Hoyer <harald@redhat.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Amadeusz Żołnowski [Thu, 26 Jul 2012 07:35:58 +0000 (09:35 +0200)]
gentoo.conf: set udevdir
Amadeusz Żołnowski [Thu, 26 Jul 2012 07:35:57 +0000 (09:35 +0200)]
Config file for systemd on Gentoo.
Amadeusz Żołnowski [Thu, 26 Jul 2012 07:35:56 +0000 (09:35 +0200)]
Remove obsolete gentoo conf file.
Harald Hoyer [Thu, 26 Jul 2012 07:25:28 +0000 (09:25 +0200)]
dmsquash-live: do not eject medium for live_ram
Chao Wang [Thu, 26 Jul 2012 03:24:26 +0000 (11:24 +0800)]
90multipath: check() - Regexp fix to match multipath partition.
A multipath partition's uuid will be presented like:
# cat /sys/dev/block/$_dev/dm/uuid
part1-mpath-
360060e801047103004f2c4b300000008
So in this case, change the match regexp from '^mpath-' to 'mpath-'.
Signed-off-by: Chao Wang <chaowang@redhat.com>
Chao Wang [Thu, 26 Jul 2012 03:24:25 +0000 (11:24 +0800)]
95fstab-sys: Skip mounted filesystem.
Signed-off-by: Chao Wang <chaowang@redhat.com>
Amadeusz Żołnowski [Wed, 25 Jul 2012 20:08:23 +0000 (22:08 +0200)]
Makefile: use implicit rules for install/dracut-install
Don't fail on install rule if install/dracut-install is not build - just
skip it. $(strip) is not used by install rule, because it is nowhere
set.
Amadeusz Żołnowski [Wed, 25 Jul 2012 20:08:22 +0000 (22:08 +0200)]
Remove object file from repo: install/hashmap.o
Harald Hoyer [Wed, 25 Jul 2012 14:03:49 +0000 (16:03 +0200)]
qemu*/module-setup.sh: provide alternative for systemd-detect-virt
Harald Hoyer [Wed, 25 Jul 2012 13:20:37 +0000 (15:20 +0200)]
TODO: update
Harald Hoyer [Wed, 25 Jul 2012 13:20:22 +0000 (15:20 +0200)]
Makefile: honor CFLAGS
Harald Hoyer [Wed, 25 Jul 2012 12:56:08 +0000 (14:56 +0200)]
network/module-setup.sh: instmods af_packet
Harald Hoyer [Wed, 25 Jul 2012 12:53:23 +0000 (14:53 +0200)]
dracut.asc: add doc about journalctl
Harald Hoyer [Wed, 25 Jul 2012 12:52:25 +0000 (14:52 +0200)]
iscsiroot.sh: do not source /etc/conf.d
this should have been done already.
Harald Hoyer [Wed, 25 Jul 2012 11:00:08 +0000 (13:00 +0200)]
require kpartx and partx for some modules
Harald Hoyer [Wed, 25 Jul 2012 08:32:42 +0000 (10:32 +0200)]
deprecate old command line options
Leho Kraav [Tue, 24 Jul 2012 12:08:55 +0000 (15:08 +0300)]
91crypt-loop: replace basename calls with string matching
Leho Kraav [Tue, 24 Jul 2012 12:08:54 +0000 (15:08 +0300)]
91crypt-loop: use initqueue for cleanup strategy
Leho Kraav [Tue, 24 Jul 2012 12:08:53 +0000 (15:08 +0300)]
91crypt-loop: open root device with a key inside encrypted loop container
Leho Kraav [Tue, 24 Jul 2012 12:08:52 +0000 (15:08 +0300)]
90crypt: enhance crypt-lib keydev mounting
Combining $keydev and $keypath should result in a unique, re-usable keydev
mountpoint. mkuniqdir doesn't seem to have any an advantage here and lacks
reusability. Is there ever a use case where these are true:
* there are more than one rd.luks.key=$keypath:$keydev
* one is actually different from the other
Leho Kraav [Tue, 24 Jul 2012 12:08:51 +0000 (15:08 +0300)]
90crypt: recognize .img as loop key container
Harald Hoyer [Tue, 24 Jul 2012 12:12:36 +0000 (14:12 +0200)]
get rid of "basename"
Harald Hoyer [Tue, 24 Jul 2012 12:08:32 +0000 (14:08 +0200)]
dracut-functions.sh: small error print correction
Harald Hoyer [Tue, 24 Jul 2012 09:52:28 +0000 (11:52 +0200)]
i18n/10-console.rules: move console_init to the initqueue
Harald Hoyer [Mon, 23 Jul 2012 13:40:20 +0000 (15:40 +0200)]
kernel-modules/module-setup.sh: just optionally install all modprobe.d
Harald Hoyer [Mon, 23 Jul 2012 13:36:58 +0000 (15:36 +0200)]
lvm/lvm_scan.sh: udevadm settle after lvm scan
Harald Hoyer [Mon, 23 Jul 2012 09:38:36 +0000 (11:38 +0200)]
kernel-modules/module-setup.sh: fix modprobe.d install
if /lib/modprobe.d does not exist, it errors with:
find: `/lib/modprobe.d/': No such file or directory
Harald Hoyer [Mon, 23 Jul 2012 09:10:13 +0000 (11:10 +0200)]
add documentation for systemd services in the initramfs
Harald Hoyer [Sat, 21 Jul 2012 11:03:56 +0000 (13:03 +0200)]
dracut.sh: add -N option for --no-hostonly
Harald Hoyer [Sat, 21 Jul 2012 10:55:23 +0000 (12:55 +0200)]
AUTHORS: update
Harald Hoyer [Sat, 21 Jul 2012 10:52:01 +0000 (12:52 +0200)]
dracut.8: add more description about calling dracut
Harald Hoyer [Fri, 20 Jul 2012 12:44:12 +0000 (14:44 +0200)]
resume: move resume in the initqueue/finished hook
this ensures, that resume is called as soon as possible
Harald Hoyer [Fri, 20 Jul 2012 11:11:21 +0000 (13:11 +0200)]
Version 022
Harald Hoyer [Fri, 20 Jul 2012 11:10:58 +0000 (13:10 +0200)]
dracut-functions.sh: fixed host-only kernel module bug
Harald Hoyer [Fri, 20 Jul 2012 09:46:48 +0000 (11:46 +0200)]
Version 021
Harald Hoyer [Fri, 20 Jul 2012 09:34:40 +0000 (11:34 +0200)]
dracut: add option --kver=<kernel-version>
Harald Hoyer [Fri, 20 Jul 2012 09:20:12 +0000 (11:20 +0200)]
testsuite: fixups and color
Harald Hoyer [Fri, 20 Jul 2012 07:11:53 +0000 (09:11 +0200)]
Turn on systemd again and Conflict < systemd-187
Harald Hoyer [Thu, 19 Jul 2012 11:35:50 +0000 (13:35 +0200)]
dracut-functions.sh: set LC_MESSAGES=C not LC_ALL
Harald Hoyer [Thu, 19 Jul 2012 11:34:51 +0000 (13:34 +0200)]
Makefile: set LC_MESSAGES=C ... not LANG
Harald Hoyer [Wed, 18 Jul 2012 13:54:08 +0000 (15:54 +0200)]
systemd/module-setup.sh: removed initctl services
Harald Hoyer [Wed, 18 Jul 2012 12:08:50 +0000 (14:08 +0200)]
systemd/module-setup.sh: removed shutdownd
we don't need timed shutdowns in the initramfs
Harald Hoyer [Tue, 17 Jul 2012 16:05:39 +0000 (18:05 +0200)]
test/TEST-04-FULL-SYSTEMD: add systemd to modules
Harald Hoyer [Tue, 17 Jul 2012 16:04:44 +0000 (18:04 +0200)]
systemd: stop udevd correctly
Harald Hoyer [Tue, 17 Jul 2012 11:05:11 +0000 (13:05 +0200)]
Revert "systemd/dracut-pre-pivot.service: force clean stop of udevd and cleanup-db"
This reverts commit
a43f97c4e35d0d9c7e6e315e11c909e86936e1cc.
Harald Hoyer [Tue, 17 Jul 2012 09:09:51 +0000 (11:09 +0200)]
dracut.conf.d/fedora.conf.example: disable systemd for now
Harald Hoyer [Tue, 17 Jul 2012 09:09:17 +0000 (11:09 +0200)]
systemd/initrd-switch-root.service: call switch-root with --no-block
Harald Hoyer [Tue, 17 Jul 2012 09:06:25 +0000 (11:06 +0200)]
systemd/dracut-pre-pivot.service: force clean stop of udevd and cleanup-db
Milan Broz [Mon, 16 Jul 2012 14:28:47 +0000 (16:28 +0200)]
Fix fips module list.
If dracut is build only with fips/fips-aesni (no crypto module),
FIPS mode fails because of missing GCM modules.
Just add proper modules to list (kernel have both maker as FIPS compliant already).
Signed-off-by: Milan Broz <mbroz@redhat.com>
Harald Hoyer [Mon, 16 Jul 2012 10:21:56 +0000 (12:21 +0200)]
dracut-functions.sh: output more info, if dependency modules are omitted
Harald Hoyer [Mon, 16 Jul 2012 08:33:27 +0000 (10:33 +0200)]
dracut.spec: add suse version ifdefs
Harald Hoyer [Mon, 16 Jul 2012 08:13:53 +0000 (10:13 +0200)]
Fixes for systemd-187, which does the right thing for switch-root
Harald Hoyer [Thu, 12 Jul 2012 08:20:28 +0000 (10:20 +0200)]
kernel-modules/module-setup.sh: add hid_generic to kernel modules
Harald Hoyer [Thu, 12 Jul 2012 06:59:43 +0000 (08:59 +0200)]
test/TEST-04-FULL-SYSTEMD: default to basic.target and output more debug
Harald Hoyer [Thu, 12 Jul 2012 06:56:36 +0000 (08:56 +0200)]
systemd/service-to-run.sh: do not copy the target subdirs
Harald Hoyer [Thu, 12 Jul 2012 06:56:17 +0000 (08:56 +0200)]
systemd/initrd-switch-root.service: add some more dependencies
Harald Hoyer [Thu, 12 Jul 2012 05:01:27 +0000 (07:01 +0200)]
watchdog/watchdog-stop.sh: forgot to add script
Harald Hoyer [Wed, 11 Jul 2012 14:36:05 +0000 (16:36 +0200)]
systemd/initrd-switch-root.service: add back "--force" to switch-root
otherwise systemd does umount /run et.al.
Harald Hoyer [Wed, 11 Jul 2012 13:47:10 +0000 (15:47 +0200)]
install/dracut-install.c: check for empty or "/" destdir