]> git.ipfire.org Git - thirdparty/dracut.git/log
thirdparty/dracut.git
6 years agoDo generate error when hostonly_cmdline is set to "no" 251/head
Daniel Molkentin [Mon, 17 Jul 2017 14:51:39 +0000 (16:51 +0200)] 
Do generate error when hostonly_cmdline is set to "no"

Reference: bsc#1048748

6 years agoMerge pull request #250 from lnykryn/classless-static-routes
Harald Hoyer [Fri, 14 Jul 2017 06:36:16 +0000 (08:36 +0200)] 
Merge pull request #250 from lnykryn/classless-static-routes

40network/dhclient.conf: rename classless-routes to classless-static-…

6 years ago40network/dhclient.conf: rename classless-routes to classless-static-routes 250/head
Lukas Nykryn [Thu, 13 Jul 2017 14:46:19 +0000 (16:46 +0200)] 
40network/dhclient.conf: rename classless-routes to classless-static-routes

We tell dhclient to name 121 option "classless-routes",
but in dhclient-script we parse classless_static_routes.
So either have to change the configuration or the script.

And since dhclient uses by default classless_static_routes,
let's change the configuration

6 years agoadd 90multipath-hostonly module
Harald Hoyer [Mon, 10 Jul 2017 11:28:40 +0000 (13:28 +0200)] 
add 90multipath-hostonly module

hardcoding the wwid of the drives in the initramfs causes problems
when the drives are cloned to a system with the same hardware, but
different disk wwid's

https://bugzilla.redhat.com/show_bug.cgi?id=1457311

6 years agodracut-init.sh: check for file $DRACUT_KERNEL_MODALIASES
Harald Hoyer [Fri, 7 Jul 2017 13:59:31 +0000 (15:59 +0200)] 
dracut-init.sh: check for file $DRACUT_KERNEL_MODALIASES

and not for the directory

6 years agodracut-init.sh: add the kernel directory to the --modalias generation
Harald Hoyer [Fri, 7 Jul 2017 13:58:02 +0000 (15:58 +0200)] 
dracut-init.sh: add the kernel directory to the --modalias generation

6 years agoCheck all modalias files in /sys/devices for modules
Harald Hoyer [Fri, 7 Jul 2017 13:54:32 +0000 (15:54 +0200)] 
Check all modalias files in /sys/devices for modules

and add the corresponding kernel modules to the host module list

https://bugzilla.redhat.com/show_bug.cgi?id=1467427

6 years agoMerge pull request #191 from robert-scheck/master
Harald Hoyer [Thu, 6 Jul 2017 07:26:51 +0000 (09:26 +0200)] 
Merge pull request #191 from robert-scheck/master

Add NTFS support to 90dmsquash-live module

6 years agoAdd NTFS support to 90dmsquash-live module (#191) 191/head
Robert Scheck [Thu, 29 Jun 2017 22:15:57 +0000 (00:15 +0200)] 
Add NTFS support to 90dmsquash-live module (#191)

Support booting from USB media with NTFS filesystem (optionally),
which removes the FAT32 related 4 GB file size limit for LiveOS/
squashfs.img (and any other file on the same USB media).

6 years agobail out if module directory does not exist
Harald Hoyer [Thu, 29 Jun 2017 15:09:29 +0000 (17:09 +0200)] 
bail out if module directory does not exist

this basically reverts commit 05214a0bedc084a41c35a128609745ad04a0c6cf

if people want to build the initramfs without kernel modules,
then --no-kernel should be specified

6 years agokernel-modules: add serial line drivers
Harald Hoyer [Thu, 29 Jun 2017 10:17:10 +0000 (12:17 +0200)] 
kernel-modules: add serial line drivers

6 years agomark these as needing bash
Harald Hoyer [Thu, 29 Jun 2017 10:16:45 +0000 (12:16 +0200)] 
mark these as needing bash

6 years agoTry BOOT_IMAGE and fallback to vmlinuz-${KERNEL}
Harald Hoyer [Thu, 29 Jun 2017 08:38:09 +0000 (10:38 +0200)] 
Try BOOT_IMAGE and fallback to vmlinuz-${KERNEL}

On s390 BOOT_IMAGE only denotes the number of the boot record that
was selected in the bootloader and not the path to the kernel image.

Also only bail out, if the kernel hmac checking relies on that path.

6 years agodracut.spec: use Recommends for rhel > 7
Harald Hoyer [Wed, 28 Jun 2017 09:00:32 +0000 (11:00 +0200)] 
dracut.spec: use Recommends for rhel > 7

6 years agoMerge pull request #246 from lnykryn/authenc
Harald Hoyer [Wed, 28 Jun 2017 16:09:54 +0000 (18:09 +0200)] 
Merge pull request #246 from lnykryn/authenc

01fips: add authenec module

6 years ago01fips: add authenec module 246/head
Lukas Nykryn [Wed, 28 Jun 2017 14:10:48 +0000 (16:10 +0200)] 
01fips: add authenec module

Resolves: #1465946

6 years agoMerge pull request #241 from danimo/zfcp_rules_dasd_rules_updates
Harald Hoyer [Wed, 28 Jun 2017 09:57:33 +0000 (11:57 +0200)] 
Merge pull request #241 from danimo/zfcp_rules_dasd_rules_updates

s390 changes that never went upstream

6 years agoMerge pull request #244 from danimo/crypt_with_uuid
Harald Hoyer [Wed, 28 Jun 2017 07:26:03 +0000 (09:26 +0200)] 
Merge pull request #244 from danimo/crypt_with_uuid

90crypt: Fixed crypttab_contains() to also work with device path in /etc/crypttab

6 years ago90crypt: Fixed crypttab_contains() to also work with device path in /etc/crypttab 244/head
Julian Wolf [Tue, 19 Aug 2014 14:23:59 +0000 (16:23 +0200)] 
90crypt: Fixed crypttab_contains() to also work with device path in /etc/crypttab

blkid is not available when this function is called, so block_uuid.map is put into
the initrd, mapping block devices from /etc/crypttab to UUIDs.

This fixes a bug where udev rules were created by mistake as crypttab_contains()
returned false for devices specified by path in /etc/crypttab which resulted in
error messages during boot.

Signed-off-by: Julian Wolf <juwolf@suse.de>
6 years agoMerge pull request #242 from lnykryn/classless
Harald Hoyer [Tue, 27 Jun 2017 11:27:41 +0000 (13:27 +0200)] 
Merge pull request #242 from lnykryn/classless

network/dhclient-script: also parse dot separated $new_classless_static_routes

6 years agocheck for CONFIG_ACPI_TABLE_UPGRADE
Harald Hoyer [Tue, 27 Jun 2017 10:27:56 +0000 (12:27 +0200)] 
check for CONFIG_ACPI_TABLE_UPGRADE

additionally as for CONFIG_ACPI_INITRD_TABLE_OVERRIDE
config parameter got renamed

6 years agonetwork/dhclient-script: also parse dot separated $new_classless_static_routes 242/head
Lukas Nykryn [Mon, 26 Jun 2017 08:12:46 +0000 (10:12 +0200)] 
network/dhclient-script: also parse dot separated $new_classless_static_routes

Previously our dhclient-script expected that $new_classless_static_routes
will have all values separated by a whitespace. But at least on F25
dhclient will put there the destination descriptor in the same format
as it is used by ISC dhcp-server.
For example:
new_classless_static_routes=32.10.198.122.47 192.168.78.4
while our current code expects
new_classless_static_routes=32 10 198 122 47 192 168 78 4

So let's just accept both of these formats by adding "." to IFS.

For details plesse see https://tools.ietf.org/html/rfc3442
"Classless Route Option Format"

6 years ago95zfcp_rules: simplified rd.zfcp commandline for NPIV 241/head
Hannes Reinecke [Thu, 10 Mar 2016 14:45:43 +0000 (15:45 +0100)] 
95zfcp_rules: simplified rd.zfcp commandline for NPIV

When NPIV is enabled and the allow_lun_scan parameter is set to 'Y'
the HBA will initiate a LUN scan automatically, so there is no need
to specify the WWPN and LUN number manually.

References: bsc#964456

Signed-off-by: Hannes Reinecke <hare@suse.com>
6 years ago95zfcp_rules: fix typo in module_setup
Hannes Reinecke [Thu, 17 Jul 2014 12:29:24 +0000 (14:29 +0200)] 
95zfcp_rules: fix typo in module_setup

module_setup.sh has a typo preventing it from saving the correct
dracut commandline.

References: bnc#887582

Signed-off-by: Hannes Reinecke <hare@suse.de>
6 years ago95zfcp_rules: Enable the device before checking device type
Hannes Reinecke [Mon, 14 Jul 2014 08:17:07 +0000 (10:17 +0200)] 
95zfcp_rules: Enable the device before checking device type

For creating dynamic udev rules parse-dasd.sh look for the device
type in sysfs, which of course does not exist if cio_ignore is
active. So first enable the device before checking.

Signed-off-by: Hannes Reinecke <hare@suse.de>
6 years ago95zfcp_rules: Store all devices in commandline
Hannes Reinecke [Thu, 10 Jul 2014 12:56:54 +0000 (14:56 +0200)] 
95zfcp_rules: Store all devices in commandline

'for_each_host_dev_and_slaves' would stop at the first found
device, so the cmdline() call would never list all required
devices. Use 'for_each_host_dev_and_slaves_all' instead and
filter out duplicates.

Signed-off-by: Hannes Reinecke <hare@suse.de>
6 years agoFix DASD with SSID greater than 0
Hannes Reinecke [Tue, 23 Aug 2016 10:56:53 +0000 (12:56 +0200)] 
Fix DASD with SSID greater than 0

bsc#989313

Signed-off-by: Thomas Renninger <trenn@suse.com>
6 years agoReset IFS variable
Hannes Reinecke [Mon, 14 Jul 2014 08:22:31 +0000 (10:22 +0200)] 
Reset IFS variable

Setting and unsetting the IFS variable is tricky. To be on the
safe side we should always reset the IFS variable to its original
value after parsing.

Signed-off-by: Hannes Reinecke <hare@suse.de>
6 years ago95dasd_rules: Install 'collect' udev helper binary
Thomas Renninger [Mon, 3 Aug 2015 12:07:59 +0000 (14:07 +0200)] 
95dasd_rules: Install 'collect' udev helper binary

Install the 'collect' udev helper binary for s390-specific rules.

References: bsc#938867

Signed-off-by: Thomas Renninger <trenn@suse.com>
6 years ago95dasd_rules: Enable the device before checking device type
Hannes Reinecke [Mon, 14 Jul 2014 08:13:53 +0000 (10:13 +0200)] 
95dasd_rules: Enable the device before checking device type

For creating dynamic udev rules parse-dasd.sh look for the device
type in sysfs, which of course does not exist if cio_ignore is
active. So first enable the device before checking.

Signed-off-by: Hannes Reinecke <hare@suse.de>
6 years ago95dasd_rules: Store all devices in commandline
Hannes Reinecke [Thu, 10 Jul 2014 12:56:54 +0000 (14:56 +0200)] 
95dasd_rules: Store all devices in commandline

'for_each_host_dev_and_slaves' would stop at the first found
device, so the cmdline() call would never list all required
devices. Use 'for_each_host_dev_and_slaves_all' instead and
filter out duplicates.

Signed-off-by: Hannes Reinecke <hare@suse.de>
6 years agoFixup typo 'firmare' instead of 'firmware'
Hannes Reinecke [Wed, 9 Jul 2014 07:34:35 +0000 (09:34 +0200)] 
Fixup typo 'firmare' instead of 'firmware'

Signed-off-by: Hannes Reinecke <hare@suse.de>
6 years ago95dasd_rules: Auto-generate udev rule for ipl device
Hannes Reinecke [Thu, 26 Jun 2014 12:04:19 +0000 (14:04 +0200)] 
95dasd_rules: Auto-generate udev rule for ipl device

We should be generating a udev rule for the ipl device; it'll
be enabled anyway.

Signed-off-by: Hannes Reinecke <hare@suse.de>
6 years ago95dasd_rules: print out 'rd.dasd' commandline
Hannes Reinecke [Thu, 26 Jun 2014 08:50:43 +0000 (10:50 +0200)] 
95dasd_rules: print out 'rd.dasd' commandline

When a DASD is found to be required for the rootfs we should
be printing out a 'rd.dasd' commandline parameter. This not
only enables us to correctly enable the device with cio_ignore,
we can also inspect the resulting initrd to figure out which
devices are required to mount the rootfs.

Signed-off-by: Hannes Reinecke <hare@suse.de>
6 years ago95dasd_rules: fixup rd.dasd parsing
Hannes Reinecke [Thu, 26 Jun 2014 08:49:03 +0000 (10:49 +0200)] 
95dasd_rules: fixup rd.dasd parsing

There were some errors when rd.dasd parsing, resulting in the
device never to be activated. And we should check for
cio_ignore even if a udev rules has been found.

Signed-off-by: Hannes Reinecke <hare@suse.de>
6 years agoCorrectly set cio_ignore for dynamic s390 rules
Hannes Reinecke [Wed, 18 Jun 2014 13:17:21 +0000 (15:17 +0200)] 
Correctly set cio_ignore for dynamic s390 rules

When converting 'rd.zfcp' and 'rd.dasd' into udev rules we
need to make sure the enable those device ids via cio_ignore,
otherwise the rules might never be called.

Signed-off-by: Hannes Reinecke <hare@suse.de>
6 years ago95dasd_rules: enable parsing of rd.dasd= commandline parameter
Hannes Reinecke [Wed, 18 Jun 2014 13:10:46 +0000 (15:10 +0200)] 
95dasd_rules: enable parsing of rd.dasd= commandline parameter

Dracut documents the 'rd.dasd=' parameter, so we should be
enabling the usage of this parameter, too.

Signed-off-by: Hannes Reinecke <hare@suse.de>
6 years agoAdd new s390x-specific rule files
Hannes Reinecke [Tue, 21 Jan 2014 13:32:09 +0000 (14:32 +0100)] 
Add new s390x-specific rule files

With the new s390x configuration tool the naming of the udev
rules files have changed. So add these to the existing ones
to be compatible with existing and new installations.

References: bnc#856585

Signed-off-by: Hannes Reinecke <hare@suse.de>
6 years ago95zfcp_rules: Auto-generate udev rule for ipl device
Hannes Reinecke [Thu, 26 Jun 2014 12:01:33 +0000 (14:01 +0200)] 
95zfcp_rules: Auto-generate udev rule for ipl device

We should auto-generate an udev rule for the ipl device; it'll be
enabled anyway.

Signed-off-by: Hannes Reinecke <hare@suse.de>
6 years ago95zfcp_rules: print out rd.zfcp commandline parameter
Hannes Reinecke [Thu, 26 Jun 2014 11:44:05 +0000 (13:44 +0200)] 
95zfcp_rules: print out rd.zfcp commandline parameter

When called with '--hostonly-cmdline' the module should print
out the configuration.

Signed-off-by: Hannes Reinecke <hare@suse.de>
6 years ago95zfcp_rules: Fixup rd.zfcp parsing
Hannes Reinecke [Thu, 26 Jun 2014 09:52:29 +0000 (11:52 +0200)] 
95zfcp_rules: Fixup rd.zfcp parsing

There were some errors when parsing rd.zfcp, causing the device
never to be activated.

Signed-off-by: Hannes Reinecke <hare@suse.de>
6 years agoCorrectly set cio_ignore for dynamic s390 rules
Hannes Reinecke [Wed, 18 Jun 2014 13:17:21 +0000 (15:17 +0200)] 
Correctly set cio_ignore for dynamic s390 rules

When converting 'rd.zfcp' and 'rd.dasd' into udev rules we
need to make sure the enable those device ids via cio_ignore,
otherwise the rules might never be called.

Signed-off-by: Hannes Reinecke <hare@suse.de>
6 years agoMerge pull request #239 from lnykryn/cmdline
Harald Hoyer [Wed, 21 Jun 2017 14:34:09 +0000 (16:34 +0200)] 
Merge pull request #239 from lnykryn/cmdline

dracut-lib: put together CMDLINE even if /proc/cmdline does not exist

6 years agodracut-lib: put together CMDLINE even if /proc/cmdline does not exist 239/head
Lukas Nykryn [Wed, 21 Jun 2017 12:14:06 +0000 (14:14 +0200)] 
dracut-lib: put together CMDLINE even if /proc/cmdline does not exist

6 years agoMerge pull request #238 from danimo/systemd_fix_force_drivers
Harald Hoyer [Mon, 19 Jun 2017 11:43:42 +0000 (13:43 +0200)] 
Merge pull request #238 from danimo/systemd_fix_force_drivers

98dracut-systemd: Fix module force loading with systemd

6 years agoMerge pull request #180 from danimo/tests_find_kvm_on_suse
Harald Hoyer [Mon, 19 Jun 2017 11:42:30 +0000 (13:42 +0200)] 
Merge pull request #180 from danimo/tests_find_kvm_on_suse

Tests: find qemu on (open)SUSE systems

6 years ago98dracut-systemd: Fix module force loading with systemd 238/head
Daniel Molkentin [Fri, 16 Jun 2017 14:32:56 +0000 (16:32 +0200)] 
98dracut-systemd: Fix module force loading with systemd

This used to work only when specified via the command line
or if systemd was not being used. However, the exisistence of
20_force_driver.conf also requires dracut-pre-udev.service
to be run.

Reference: bsc#986216

6 years agonetwork: fix dhcp classless_static_routes
Harald Hoyer [Wed, 7 Sep 2016 07:33:31 +0000 (09:33 +0200)] 
network: fix dhcp classless_static_routes

removed copy&paste artifact "modify_routes add"

there is no modify_routes() function, and we simply want the output
of the parse function.

(cherry picked from commit 33710dfbfcf43f4438ed58e45e2599d3fe47e2f3)

6 years agoMerge pull request #237 from lnykryn/fips-cmac
Harald Hoyer [Wed, 14 Jun 2017 12:40:08 +0000 (14:40 +0200)] 
Merge pull request #237 from lnykryn/fips-cmac

fips: add cmac kernel module

6 years agofips: add cmac kernel module 237/head
Lukas Nykryn [Tue, 13 Jun 2017 08:28:48 +0000 (10:28 +0200)] 
fips: add cmac kernel module

cmac is now marked as fips_allowed

Resolves: rhbz#1460865

6 years agoMerge pull request #235 from lnykryn/tmpfiles
Harald Hoyer [Fri, 9 Jun 2017 12:08:48 +0000 (14:08 +0200)] 
Merge pull request #235 from lnykryn/tmpfiles

systemd: include systemd-tmpfiles-setup.service

6 years agosystemd: include systemd-tmpfiles-setup.service 235/head
Lukas Nykryn [Thu, 8 Jun 2017 13:06:30 +0000 (15:06 +0200)] 
systemd: include systemd-tmpfiles-setup.service

... because otherwise nothing will actually
apply configuration from tmpfiles snippets

6 years agomodule-setup.sh: Add ARM specific driver to initramfs image
Prarit Bhargava [Mon, 5 Jun 2017 11:51:36 +0000 (07:51 -0400)] 
module-setup.sh: Add ARM specific driver to initramfs image

If a hisi_sas storage device is used as / during system install, the
resulting installation will not boot because the hisi_sas driver is not
included in the initramfs.

The Hisilicon storage driver needs to be added to the initramfs image for
aarch64 kernels.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Cc: dzickus@redhat.com
Cc: dmarlin@redhat.com
Cc: wefu@redhat.com
Cc: harald@redhat.com
6 years agohandle rpcbind /run/rpcbind directory
Harald Hoyer [Tue, 6 Jun 2017 11:38:29 +0000 (13:38 +0200)] 
handle rpcbind /run/rpcbind directory

6 years agomdraid: wait for rd.md.uuid specified devices to be assembled
Harald Hoyer [Tue, 16 May 2017 09:31:26 +0000 (11:31 +0200)] 
mdraid: wait for rd.md.uuid specified devices to be assembled

This patch uses wait_for_dev "/dev/disk/by-id/md-uuid-${uuid}" for the
specified uuids.

On timeout only md devices are force started which are specified by
uuid, or all, if rd.auto was specified.

Fixes https://github.com/dracutdevs/dracut/issues/227

6 years agoMerge pull request #213 from danimo/elfutils
Harald Hoyer [Mon, 15 May 2017 12:53:35 +0000 (14:53 +0200)] 
Merge pull request #213 from danimo/elfutils

Make binutils optional when elfutils are available

6 years agoMerge pull request #229 from jwrdegoede/master
Harald Hoyer [Mon, 15 May 2017 09:37:45 +0000 (11:37 +0200)] 
Merge pull request #229 from jwrdegoede/master

drm: Install pwm modules on all architectures

6 years agoMerge pull request #226 from AdamWill/curl-nssckbi
Harald Hoyer [Mon, 15 May 2017 09:28:10 +0000 (11:28 +0200)] 
Merge pull request #226 from AdamWill/curl-nssckbi

Handle curl using libnssckbi for TLS (RHBZ #1447777)

6 years agodrm: Install pwm modules on all architectures 229/head
Hans de Goede [Sat, 13 May 2017 15:23:36 +0000 (17:23 +0200)] 
drm: Install pwm modules on all architectures

At least on x86 on Bay and Cherry Trail devices the pmw-lpss modules must
be in the initrd too, otherwise the i915 driver will still load, but
it will report the following error:

[drm:pwm_setup_backlight [i915]] *ERROR* Failed to own the pwm chip

And not register /sys/class/backlight/intel_backlight and users will
not be able to control their backlight.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
6 years agoHandle curl using libnssckbi for TLS (RHBZ #1447777) 226/head
Adam Williamson [Wed, 3 May 2017 19:32:43 +0000 (12:32 -0700)] 
Handle curl using libnssckbi for TLS (RHBZ #1447777)

curl in Fedora recently changed its default CA trust store. The
Fedora package no longer specifies an OpenSSL-format bundle file
during build, and curl itself has been patched to use an NSS
plugin called libnssckbi.so when no bundle file or directory is
specified. There are (at present) two possible providers of the
libnssckbi.so module: the original NSS implementation, which
uses a trust bundle built in at build time, and a compatible
implementation from the p11-kit project, which reads a trust
bundle at run time. So if we find a string in libcurl.so that
suggests libnssckbi might be in use, we must both install it and
make an effort to install any trust bundle files it may use.

The p11-kit libnssckbi implementation does include a string that
lists the top-level trust directories it will use, so we try to
find that string, though the best effort I can come up with will
also find many false positives too. To weed out the false
positives, we check whether the matches actually exist as dirs,
and if so, whether they contain some specific subdirectories we
know p11-kit trust dirs must have (thanks, @kaie). For the NSS
libnssckbi implementation, we will likely wind up not finding any
dirs that match the requirements, so we will simply install the
libnssckbi.so file itself, which is the correct action.

This fixes TLS transactions in the initramfs environment when
using a curl that's built this new way; it's significant for
use of kickstarts and update images with the Fedora / RHEL
installer, as these are retrieved in the initramfs environment,
and are frequently retrieved via HTTPS.

7 years agoMerge pull request #224 from jasondana/integrity-fix
Harald Hoyer [Thu, 27 Apr 2017 12:08:47 +0000 (14:08 +0200)] 
Merge pull request #224 from jasondana/integrity-fix

Check the proper variable for a custom IMA keys directory

7 years agoCheck the proper variable for a custom IMA keys directory 224/head
Jason Dana [Thu, 27 Apr 2017 11:55:58 +0000 (07:55 -0400)] 
Check the proper variable for a custom IMA keys directory

7 years agoTEST-50-MULTINIC: fix bridge test
Harald Hoyer [Wed, 26 Apr 2017 07:39:20 +0000 (09:39 +0200)] 
TEST-50-MULTINIC: fix bridge test

Bridge with nics on a different vlan, otherwise we will see:

[  117.750825] bridge0: received packet on ens5 with own address as source address

7 years agoMerge pull request #222 from danimo/fix_subnet_calc
Harald Hoyer [Wed, 26 Apr 2017 07:22:19 +0000 (09:22 +0200)] 
Merge pull request #222 from danimo/fix_subnet_calc

mkinitrd-suse.sh: Fix prefix calculation

7 years agomkinitrd-suse.sh: Fix prefix calculation 222/head
Daniel Molkentin [Tue, 25 Apr 2017 13:25:20 +0000 (15:25 +0200)] 
mkinitrd-suse.sh: Fix prefix calculation

The previous algorithm was incorrect and would return
incorrect results e.g. for a /20 mask. Also gets rid
of an undocumented depencency on bc(1).

Reference: bsc#1035743

7 years agoMerge pull request #219 from tpgxyz/master
Harald Hoyer [Tue, 25 Apr 2017 08:51:39 +0000 (10:51 +0200)] 
Merge pull request #219 from tpgxyz/master

fix build with KMOD

7 years agofix build with KMOD 219/head
Tomasz Paweł Gajc [Mon, 24 Apr 2017 19:37:56 +0000 (21:37 +0200)] 
fix build with KMOD

7 years agoMerge pull request #210 from Calrama/gpg-smartcard
Harald Hoyer [Wed, 19 Apr 2017 07:09:14 +0000 (09:09 +0200)] 
Merge pull request #210 from Calrama/gpg-smartcard

crypt-gpg: For GnuPG >= 2.1 support gpg keyfile decryption via a OpenPGP smartcard in a CCID reader

7 years agoMerge pull request #214 from pallotron/master
Harald Hoyer [Tue, 11 Apr 2017 11:40:27 +0000 (13:40 +0200)] 
Merge pull request #214 from pallotron/master

Look for IPv6 RA in wait_for_ipv6_dad, wait_for_ipv6_dad_link and wait_for_ipv6_auto

7 years agoMerge pull request #217 from FGrose/overlayfs
Harald Hoyer [Tue, 11 Apr 2017 11:39:27 +0000 (13:39 +0200)] 
Merge pull request #217 from FGrose/overlayfs

dmsquash-live-root: Avoid mount source conflict on $BASE_LOOPDEV.

7 years agoadd .mailmap
Harald Hoyer [Mon, 10 Apr 2017 12:50:21 +0000 (14:50 +0200)] 
add .mailmap

7 years agoMake binutils optional when elfutils are available 213/head
Daniel Molkentin [Mon, 3 Apr 2017 13:23:37 +0000 (15:23 +0200)] 
Make binutils optional when elfutils are available

This is intended for minimum host OSes where 36 MB used by binutils
are deemed too expensive. We only need "strip", which exists as eu-strip
in elfutils, which in turn is < 1 MB in size.

Note that the tests (TEST-04-FULL-SYSTEMD/test.sh) still depend on
strip from binutils. It could use sstrip in the future.

7 years agodmsquash-live-root: Avoid mount source conflict on $BASE_LOOPDEV. 217/head
Frederick Grose [Sun, 9 Apr 2017 01:01:19 +0000 (21:01 -0400)] 
dmsquash-live-root: Avoid mount source conflict on $BASE_LOOPDEV.

The newer mount utilities are more strict about directly shared
devices. For OverlayFS boots, which mount $BASE_LOOPDEV directly,
avoid a mount error by indirectly sharing the read-only base
filesystem through a second, over-attached $BASE_LOOPDEV for
the DM live-base target.

7 years agoMerge remote-tracking branch 'upstream/master' 214/head
pallotron [Wed, 5 Apr 2017 18:59:36 +0000 (11:59 -0700)] 
Merge remote-tracking branch 'upstream/master'

7 years agoTests: find qemu on (open)SUSE systems 180/head
Daniel Molkentin [Mon, 21 Nov 2016 14:58:56 +0000 (15:58 +0100)] 
Tests: find qemu on (open)SUSE systems

7 years agomore ipv6 improvements
pallotron [Wed, 5 Apr 2017 07:23:36 +0000 (00:23 -0700)] 
more ipv6 improvements

7 years agoremove prints
pallotron [Wed, 5 Apr 2017 07:16:16 +0000 (00:16 -0700)] 
remove prints

7 years agomore ipv6 improvements
pallotron [Wed, 5 Apr 2017 07:15:16 +0000 (00:15 -0700)] 
more ipv6 improvements

7 years agoenabling some ipv6 config before running wait_for_ipv6_dad
pallotron [Tue, 4 Apr 2017 19:59:45 +0000 (12:59 -0700)] 
enabling some ipv6 config before running wait_for_ipv6_dad

7 years agowait for IPv6 RA if using none/static IPv6 assignment
pallotron [Tue, 4 Apr 2017 15:31:21 +0000 (08:31 -0700)] 
wait for IPv6 RA if using none/static IPv6 assignment

7 years agoNEWS and AUTHORS update 045
Harald Hoyer [Mon, 3 Apr 2017 08:26:25 +0000 (10:26 +0200)] 
NEWS and AUTHORS update

7 years agoMerge pull request #212 from pallotron/master
Harald Hoyer [Fri, 31 Mar 2017 12:22:13 +0000 (14:22 +0200)] 
Merge pull request #212 from pallotron/master

remove $$arch() from rpm target in Makefile

7 years agobetter fix from @haraldh 212/head
pallotron [Fri, 31 Mar 2017 11:43:08 +0000 (04:43 -0700)] 
better fix from @haraldh

7 years agoMerge pull request #211 from Calrama/embedded-keyfile
Harald Hoyer [Fri, 31 Mar 2017 09:41:19 +0000 (11:41 +0200)] 
Merge pull request #211 from Calrama/embedded-keyfile

crypt: Support keyfiles embedded in the initramfs

7 years agocrypt: Fix indentation for embedded keyfile 211/head
Moritz Maxeiner [Thu, 30 Mar 2017 13:06:01 +0000 (15:06 +0200)] 
crypt: Fix indentation for embedded keyfile

7 years agocrypt-gpg: Include module if CCID smartcard support requested 210/head
Moritz Maxeiner [Thu, 30 Mar 2017 12:54:26 +0000 (14:54 +0200)] 
crypt-gpg: Include module if CCID smartcard support requested

7 years agoremove $$arch() from rpm target in Makefile
pallotron [Thu, 30 Mar 2017 12:53:36 +0000 (05:53 -0700)] 
remove $$arch() from rpm target in Makefile

7 years agocrypt-gpg: Rework setup for CCID smartcard support
Moritz Maxeiner [Thu, 30 Mar 2017 12:17:05 +0000 (14:17 +0200)] 
crypt-gpg: Rework setup for CCID smartcard support

7 years agodracut.sh: strip NUL bytes in stream before push in string
Harald Hoyer [Thu, 30 Mar 2017 10:52:11 +0000 (12:52 +0200)] 
dracut.sh: strip NUL bytes in stream before push in string

seems like bash-4.4 does not like NUL bytes in variables

7 years agonetwork: enhance team support
Harald Hoyer [Tue, 13 Jan 2015 14:06:48 +0000 (15:06 +0100)] 
network: enhance team support

Install ifcfg-* files with team configuration in the initramfs.

Improve the slave configuration of the team interface, by looking up
ifcfg files in the initramfs.

Create a default loadbalance team config, if none present in the
initramfs.

forward port of
4c88c2859e3f974b2dc3c7726409c83076df8985

7 years agonetwork: differ between ipv6 local and global tentative
Harald Hoyer [Thu, 30 Jun 2016 09:10:35 +0000 (11:10 +0200)] 
network: differ between ipv6 local and global tentative

For dhcpv6, only a non-tentative scope local address is needed.

(cherry picked from commit 42dd8928a81ba5ec244a5634813285ab6f342480)

7 years agonetwork:wait_for_ipv6_auto() wait for all tentative addresses
Harald Hoyer [Thu, 30 Jun 2016 10:15:56 +0000 (12:15 +0200)] 
network:wait_for_ipv6_auto() wait for all tentative addresses

(cherry picked from commit 13264563a9471844102113b7062534466d20ce38)

7 years agonetwork/net-lib.sh: auto6 wait for route ra
Harald Hoyer [Thu, 30 Jun 2016 06:52:09 +0000 (08:52 +0200)] 
network/net-lib.sh: auto6 wait for route ra

Wait for a router advertised route

(cherry picked from commit 6d22a6860ea22d4b5a78d0328be4524579cece98)

7 years agodracut.cmdline.7.asc: document bond mtu option
Harald Hoyer [Thu, 30 Mar 2017 09:14:46 +0000 (11:14 +0200)] 
dracut.cmdline.7.asc: document bond mtu option

7 years agoMerge pull request #129 from imran1008/bond-mtu
Harald Hoyer [Thu, 30 Mar 2017 09:03:04 +0000 (11:03 +0200)] 
Merge pull request #129 from imran1008/bond-mtu

add 'mtu' parameter for bond options

7 years agoMerge pull request #162 from dracut-mailing-devs/20160607094008.21012-1-colin@mageia.org
Harald Hoyer [Thu, 30 Mar 2017 09:01:55 +0000 (11:01 +0200)] 
Merge pull request #162 from dracut-mailing-devs/20160607094008.21012-1-colin@mageia.org

systemd: add more groups to deal with tmpfiles handling.

7 years agoMerge pull request #163 from dracut-mailing-devs/1711921.0d4JtWs6XN@linux-lm3i.site
Harald Hoyer [Thu, 30 Mar 2017 09:01:22 +0000 (11:01 +0200)] 
Merge pull request #163 from dracut-mailing-devs/1711921.0d4JtWs6XN@linux-lm3i.site

Fix wrong keymap inclusion

7 years agoMerge pull request #164 from dracut-mailing-devs/1467648310-27834-1-git-send-email...
Harald Hoyer [Thu, 30 Mar 2017 09:00:36 +0000 (11:00 +0200)] 
Merge pull request #164 from dracut-mailing-devs/1467648310-27834-1-git-send-email-pbrobinson@gmail.com

modules: kernel: add phy and power modules to generic initrd

7 years agoMerge pull request #165 from dracut-mailing-devs/1476286367-30606-1-git-send-email...
Harald Hoyer [Thu, 30 Mar 2017 09:00:00 +0000 (11:00 +0200)] 
Merge pull request #165 from dracut-mailing-devs/1476286367-30606-1-git-send-email-chad.dupuis@cavium.com

fcoe: Allow more time for the bnx2x link negotiation before brining u…

7 years agoMerge pull request #176 from danimo/pinctrl-cherryview
Harald Hoyer [Thu, 30 Mar 2017 08:59:18 +0000 (10:59 +0200)] 
Merge pull request #176 from danimo/pinctrl-cherryview

Always try to add pinctrl-cherryview