William Douglas [Fri, 12 Jul 2013 16:36:57 +0000 (09:36 -0700)]
changelog
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Thu, 11 Jul 2013 19:19:43 +0000 (12:19 -0700)]
update to 029
Change-Id: Icbd94c12419dc49daadb9fc812c183e1d158d8a8
Signed-off-by: William Douglas <william.douglas@intel.com>
Alexandru Cornea [Fri, 28 Jun 2013 18:31:10 +0000 (21:31 +0300)]
resetting manifest requested domain to floor
Anas Nashif [Mon, 18 Mar 2013 21:01:36 +0000 (14:01 -0700)]
Update package groups
Anas Nashif [Tue, 12 Feb 2013 00:24:28 +0000 (16:24 -0800)]
update to 025
Anas Nashif [Sun, 3 Feb 2013 01:29:08 +0000 (17:29 -0800)]
cleanup spec
Anas Nashif [Thu, 25 Oct 2012 12:48:09 +0000 (05:48 -0700)]
add packaging
Anas Nashif [Thu, 25 Oct 2012 12:47:20 +0000 (05:47 -0700)]
add packaging
Harald Hoyer [Tue, 20 Aug 2013 10:39:57 +0000 (12:39 +0200)]
dracut-032
Harald Hoyer [Tue, 20 Aug 2013 11:08:11 +0000 (13:08 +0200)]
add newline to cmdline config files
Harald Hoyer [Tue, 20 Aug 2013 10:01:17 +0000 (12:01 +0200)]
dracut.sh: recognize swap entries in fstab with mountpoint "none"
Harald Hoyer [Tue, 20 Aug 2013 08:28:14 +0000 (10:28 +0200)]
add persistent_policy configuration option
Harald Hoyer [Tue, 20 Aug 2013 08:27:29 +0000 (10:27 +0200)]
dracut.conf.5.asc: correct ro_mnt documentation
Harald Hoyer [Tue, 20 Aug 2013 07:03:22 +0000 (09:03 +0200)]
dracut-functions.sh:dracut_module_included() check with spaces
check also for surrounding spaces in the module strings
Harald Hoyer [Tue, 20 Aug 2013 07:02:48 +0000 (09:02 +0200)]
dracut.sh: fixed checking for FIPS mode
WANG Chao [Fri, 16 Aug 2013 05:13:28 +0000 (13:13 +0800)]
systemd: pre-pivot hooks runs after /sysroot is mounted
If rootflags=nofail, sysroot.mount won't strictly run "Before"
initrd-root-fs.target. So we need to order dracut-pre-pivot after
sysroot.mount.
Daniel Schaal [Fri, 16 Aug 2013 21:16:15 +0000 (23:16 +0200)]
dracut.sh: Fix [no-]early-microcode parameter and add documentation.
[no-]early-microcode was missing from getopt argument list.
Let arguments passed by command line override config files.
Harald Hoyer [Fri, 16 Aug 2013 09:52:07 +0000 (11:52 +0200)]
dracut.sh: add --persistent-policy option
--persistent-policy <policy>:
Use <policy> to address disks and partitions.
<policy> can be any directory name found in /dev/disk.
E.g. "by-uuid", "by-label"
Harald Hoyer [Fri, 16 Aug 2013 09:00:45 +0000 (11:00 +0200)]
base/dracut-lib.sh: move warn() definition before usage
Harald Hoyer [Fri, 16 Aug 2013 09:00:21 +0000 (11:00 +0200)]
dracut.spec: correct License string
Harald Hoyer [Thu, 15 Aug 2013 14:24:13 +0000 (16:24 +0200)]
dracut.spec: add bash module
Harald Hoyer [Thu, 15 Aug 2013 13:52:22 +0000 (15:52 +0200)]
add parameter --print-cmdline
This prints the kernel command line parameters for the current disk
layout.
$ dracut --print-cmdline
rd.luks.uuid=luks-
e68c8906-6542-4a26-83c4-
91b4dd9f0471
rd.lvm.lv=debian/root rd.lvm.lv=debian/usr root=/dev/mapper/debian-root
rootflags=rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered
rootfstype=ext4
Harald Hoyer [Thu, 15 Aug 2013 13:54:18 +0000 (15:54 +0200)]
resurrect TEST-14-IMSM
Harald Hoyer [Thu, 15 Aug 2013 10:23:04 +0000 (12:23 +0200)]
dracut-functions.sh: add find_mp_fsopts
Harald Hoyer [Thu, 15 Aug 2013 10:22:26 +0000 (12:22 +0200)]
dracut-functions.sh: no more 'echo'
Harald Hoyer [Thu, 15 Aug 2013 08:56:31 +0000 (10:56 +0200)]
rootfs-block: search all host_devs for a journal device
Harald Hoyer [Thu, 15 Aug 2013 09:14:14 +0000 (11:14 +0200)]
dracut-functions.sh: add find_dev_fsopts()
Harald Hoyer [Thu, 15 Aug 2013 08:44:20 +0000 (10:44 +0200)]
Create initramfs without using udevadm
This enables building a hostonly image, without the udev database
populated.
Harald Hoyer [Thu, 15 Aug 2013 08:25:19 +0000 (10:25 +0200)]
testsuite: fixed network interface names
Harald Hoyer [Thu, 15 Aug 2013 06:32:38 +0000 (08:32 +0200)]
dracut.spec: dracut-network requires dhclient
Harald Hoyer [Wed, 14 Aug 2013 13:02:46 +0000 (15:02 +0200)]
TEST-12-RAID-DEG: enter UUID in crypttab rather than md0
Harald Hoyer [Wed, 14 Aug 2013 10:54:48 +0000 (12:54 +0200)]
Makefile: do syncheck before creating the archive or rpm
Harald Hoyer [Wed, 14 Aug 2013 10:54:33 +0000 (12:54 +0200)]
dracut-functions.sh: fixed vercmp()
WANG Chao [Mon, 12 Aug 2013 08:43:52 +0000 (16:43 +0800)]
network: also wait for ethernet interfaces to setup
We only wait for master interfaces for bridge/bonding/team/vlan case.
If none of these complex network is configured, we should wait for
ethernet interface (bootdev) instead.
Harald Hoyer [Wed, 14 Aug 2013 08:33:19 +0000 (10:33 +0200)]
shutdown: fixed killall_proc_mountpoint()
Harald Hoyer [Tue, 13 Aug 2013 18:00:55 +0000 (20:00 +0200)]
dracut-functions.sh: if no libdirs are set, take the ld.so.cache paths
Harald Hoyer [Tue, 13 Aug 2013 08:26:29 +0000 (10:26 +0200)]
crypt: only manually activate systemd-cryptsetup, if not in crypttab
Only additional rd.luks.UUID have to be manually activated.
Harald Hoyer [Mon, 12 Aug 2013 23:20:06 +0000 (01:20 +0200)]
crypt/crypt-run-generator: also skip if UUID match in crypttab
Harald Hoyer [Mon, 12 Aug 2013 22:39:10 +0000 (00:39 +0200)]
add bash module
Harald Hoyer [Mon, 12 Aug 2013 22:35:10 +0000 (00:35 +0200)]
crypt/module-setup.sh: use crypttab in hostonly and don't install cmdline
Harald Hoyer [Mon, 12 Aug 2013 22:19:05 +0000 (00:19 +0200)]
fs-lib/module-setup.sh: install fsck and fsck.ext*
Harald Hoyer [Mon, 12 Aug 2013 21:55:50 +0000 (23:55 +0200)]
dracut.sh: always assemble /usr in the initramfs
Harald Hoyer [Mon, 12 Aug 2013 21:50:30 +0000 (23:50 +0200)]
dracut.sh: always assemble /usr device in initramfs
Harald Hoyer [Mon, 12 Aug 2013 21:50:07 +0000 (23:50 +0200)]
lsinitrd.sh: fixed modules.txt path
Harald Hoyer [Mon, 12 Aug 2013 11:08:17 +0000 (13:08 +0200)]
systemd/dracut-initqueue.sh: added missing "then"
Harald Hoyer [Mon, 12 Aug 2013 10:57:13 +0000 (12:57 +0200)]
base: don't install switch_root, if systemd is used
Harald Hoyer [Mon, 12 Aug 2013 10:46:35 +0000 (12:46 +0200)]
dracut.sh: fixed typo
Harald Hoyer [Mon, 12 Aug 2013 10:46:03 +0000 (12:46 +0200)]
dracut.sh: use local lsinitrd.sh for "-l"
Harald Hoyer [Mon, 12 Aug 2013 10:44:10 +0000 (12:44 +0200)]
dracut-logger.sh: saveguard logger with --
Harald Hoyer [Fri, 9 Aug 2013 13:47:30 +0000 (15:47 +0200)]
dracut-logger.sh: do not unset logging messages if sysloglvl is set
Harald Hoyer [Fri, 9 Aug 2013 13:35:20 +0000 (15:35 +0200)]
lsinitrd.sh: fixed case
dyoung@redhat.com [Thu, 8 Aug 2013 06:05:02 +0000 (14:05 +0800)]
omit drivers fix
Because omit_drivers list use underline always, so when maching with it
the _mod need to be converted as well or sometimes omit-drivers will fail
silently.
Fix this by replace '-' with '_' in instmods function.
Signed-off-by: Dave Young <dyoung@redhat.com>
Harald Hoyer [Fri, 9 Aug 2013 08:44:34 +0000 (10:44 +0200)]
multipath: need_shutdown if multipath devices exist
https://bugzilla.redhat.com/show_bug.cgi?id=994913
Harald Hoyer [Fri, 9 Aug 2013 08:33:27 +0000 (10:33 +0200)]
iscsi/module-setup.sh: install some modules regardless of hostonly
Harald Hoyer [Wed, 7 Aug 2013 14:05:03 +0000 (16:05 +0200)]
network/net-lib.sh: fix ibft interface configuration
also skip ibft$num names, which have been already given
https://bugzilla.redhat.com/show_bug.cgi?id=989944
James Lee [Tue, 6 Aug 2013 15:25:58 +0000 (11:25 -0400)]
crypt: Fix typo--/etc/crypttab not /etc/cryptab
1ae8b8a breaks the crypt module for those who use keyfiles due to a
typo leading to the exclusion of /etc/crypttab from the initrd.
Harald Hoyer [Tue, 6 Aug 2013 14:56:42 +0000 (16:56 +0200)]
dracut.sh: check the value of --kver
https://bugzilla.redhat.com/show_bug.cgi?id=993327
Harald Hoyer [Tue, 6 Aug 2013 09:43:58 +0000 (11:43 +0200)]
dracut.sh: do not strip in FIPS mode
Harald Hoyer [Tue, 6 Aug 2013 09:01:45 +0000 (11:01 +0200)]
51-dracut-rescue.install: fixed rescue image creation
Harald Hoyer [Mon, 5 Aug 2013 10:10:12 +0000 (12:10 +0200)]
dracut-functions.sh: inst_multiple == dracut_install
Harald Hoyer [Mon, 5 Aug 2013 09:47:54 +0000 (11:47 +0200)]
dracut-functions.sh: removed non dracut-install shell functions
Harald Hoyer [Mon, 5 Aug 2013 09:25:45 +0000 (11:25 +0200)]
dracut.sh/dracut-functions.sh: handle root on non-block device
Harald Hoyer [Mon, 5 Aug 2013 09:23:16 +0000 (11:23 +0200)]
systemd/dracut-initqueue.sh: continue to boot if finished failed
but /sysroot/etc/fstab exists.
Harald Hoyer [Mon, 5 Aug 2013 09:22:55 +0000 (11:22 +0200)]
dracut.asc: small corrections
Harald Hoyer [Mon, 5 Aug 2013 09:22:21 +0000 (11:22 +0200)]
dracut.sh: call find with -print0 and cpio with --null
Harald Hoyer [Mon, 5 Aug 2013 09:14:24 +0000 (11:14 +0200)]
lsinitrd.sh: add old cpio signature
WANG Chao [Thu, 1 Aug 2013 10:54:55 +0000 (18:54 +0800)]
95terminfo: install vt102
systemd uses vt102 as default term for tty:
commit acda6a0
Author: Lennart Poettering <lennart@poettering.net>
Date: Sun Apr 22 02:45:39 2012 +0200
default to v102 everywhere, instead of vt100, to synchronize with agetty
Signed-off-by: WANG Chao <chaowang@redhat.com>
Harald Hoyer [Wed, 31 Jul 2013 15:28:04 +0000 (17:28 +0200)]
cms/cmssetup.sh: correct port for zfcp.conf
Harald Hoyer [Wed, 31 Jul 2013 15:17:37 +0000 (17:17 +0200)]
lvm: add "--yes" to lvm lvchange
Baoquan He [Tue, 23 Jul 2013 10:16:00 +0000 (18:16 +0800)]
Change the implementation of action_on_fail
Currently when action_on_fail is enabled, the emergency_shell won't be called.
In kdump even though user specify the default action as emergency_shell,
dracut skip it. Now change the implementation of action_on_fail to depend
on a file which is created by kdump when making kdump initrd, then remove it
at the beginning of kdump. This can solve the explicit emergency_shell problem.
And action_on_fail won't need paramenters, remove the relevant description in
dracut man page.
Signed-off-by: Baoquan He <bhe@redhat.com>
Harald Hoyer [Wed, 31 Jul 2013 13:55:13 +0000 (15:55 +0200)]
Revert "base: setup correct system time and time zone in initrd"
This reverts commit
77364fd6bb01ea184db73b1a5ad05da984752293.
Too many problems with adjtime in the initramfs
https://bugzilla.redhat.com/show_bug.cgi?id=981617
Radek Vykydal [Wed, 31 Jul 2013 13:18:20 +0000 (15:18 +0200)]
Generate correct ifcfg file for vlan= option.
Harald Hoyer [Wed, 31 Jul 2013 12:24:25 +0000 (14:24 +0200)]
dracut-031
Harald Hoyer [Wed, 31 Jul 2013 11:49:52 +0000 (13:49 +0200)]
kernel-modules/module-setup.sh: silently omit some filesystem drivers
Harald Hoyer [Wed, 31 Jul 2013 11:49:32 +0000 (13:49 +0200)]
dracut.conf.d/fedora.conf.example: don't omit drivers
Harald Hoyer [Wed, 31 Jul 2013 11:30:49 +0000 (13:30 +0200)]
systemd: use systemd in the initramfs, if installed on the system
and systemd version is >= 198
Harald Hoyer [Wed, 31 Jul 2013 11:17:24 +0000 (13:17 +0200)]
network: add vlan support for iBFT
Harald Hoyer [Wed, 31 Jul 2013 11:12:41 +0000 (13:12 +0200)]
dracut-logger.sh: do not use systemd-cat, if no /run/systemd/journal
Harald Hoyer [Wed, 31 Jul 2013 10:00:53 +0000 (12:00 +0200)]
network/net-lib.sh: safeguard against incomplete iBFT settings
Harald Hoyer [Wed, 31 Jul 2013 09:31:13 +0000 (11:31 +0200)]
fips: handle checksum checks for RHEV kernels
https://bugzilla.redhat.com/show_bug.cgi?id=947729
Harald Hoyer [Wed, 31 Jul 2013 09:26:46 +0000 (11:26 +0200)]
fips: cope with module aliases, when checking modules
Also do not fail, if module aliases try to load CPU specific modules
like crc32c_intel.
Harald Hoyer [Wed, 31 Jul 2013 09:23:51 +0000 (11:23 +0200)]
TEST-30-ISCSI: eth0 -> ens3
Harald Hoyer [Wed, 31 Jul 2013 09:00:29 +0000 (11:00 +0200)]
remove "< <(" syntax
bash seems to want /dev/fd in that case. dracut is sometimes called in
environments, where /proc and /dev are not mounted.
Harald Hoyer [Wed, 31 Jul 2013 08:59:25 +0000 (10:59 +0200)]
TEST-50-MULTINIC: change interface names to ens*
Harald Hoyer [Wed, 31 Jul 2013 07:57:57 +0000 (09:57 +0200)]
TEST-10: double disk space
Harald Hoyer [Tue, 30 Jul 2013 14:21:59 +0000 (16:21 +0200)]
dracut.spec: add bcache and modsign module
Harald Hoyer [Tue, 30 Jul 2013 14:19:03 +0000 (16:19 +0200)]
base/init.sh: create static device nodes with kmod
Harald Hoyer [Tue, 30 Jul 2013 14:18:28 +0000 (16:18 +0200)]
systemd/dracut-pre-trigger.service: run after systemd-tmpfiles-setup-dev
Harald Hoyer [Tue, 30 Jul 2013 14:18:03 +0000 (16:18 +0200)]
systemd: include systemd-tempfiles
Harald Hoyer [Tue, 30 Jul 2013 13:33:10 +0000 (15:33 +0200)]
dracut.sh: check for file existance before trying to read from it
Harald Hoyer [Tue, 30 Jul 2013 10:36:12 +0000 (12:36 +0200)]
base: hard depend on systemd, if system was started by systemd
James Lee [Mon, 29 Jul 2013 20:10:22 +0000 (16:10 -0400)]
crypt: Wait for udev to settle before unlocking disk
To eliminate a race condition that occurs when unlocking one device
depends on the result of unlocking a device before it, the crypt
module must wait for udev to settle between each unlock attempt.
Example
/etc/crypttab:
keyfile /dev/md1 none luks
sda4_crypt /dev/sda4 /dev/mapper/keyfile luks
sdb4_crypt /dev/sdb4 /dev/mapper/keyfile luks
Without this patch, sometimes /dev/sda4 fails to unlock because udev
doesn't have time to create /dev/mapper/keyfile before it's needed.
Harald Hoyer [Tue, 30 Jul 2013 13:25:44 +0000 (15:25 +0200)]
url-lib/module-setup.sh: fixed grepping libcurl
Harald Hoyer [Tue, 30 Jul 2013 13:24:05 +0000 (15:24 +0200)]
mdraid/mdmon-pre-shutdown.sh: removed unneeded code
Harald Hoyer [Tue, 30 Jul 2013 13:14:59 +0000 (15:14 +0200)]
base/dracut-lib.sh: check for /proc/cmdline existance
Harald Hoyer [Tue, 30 Jul 2013 11:27:36 +0000 (13:27 +0200)]
dracut.spec: fix typo
Harald Hoyer [Tue, 30 Jul 2013 09:58:33 +0000 (11:58 +0200)]
systemd: add support for kmod static devnodes
Harald Hoyer [Mon, 29 Jul 2013 14:06:28 +0000 (16:06 +0200)]
network:ifup handle bootif style interfaces
e.g. ip=77-77-6f-6f-64-73:dhcp
Amadeusz Żołnowski [Thu, 25 Jul 2013 18:24:56 +0000 (20:24 +0200)]
LatArCyrHeb-16 as a default i18n font for Gentoo
Amadeusz Żołnowski [Thu, 25 Jul 2013 21:28:44 +0000 (23:28 +0200)]
crypt: Skip /etc/crypttab if not present
Prevents following error message:
I: *** Including module: crypt ***
/usr/lib/dracut/modules.d/90crypt/module-setup.sh: line 31: /etc/crypttab: No such file or directory