]> git.ipfire.org Git - thirdparty/dracut.git/log
thirdparty/dracut.git
8 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"

8 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

8 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

8 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

8 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

8 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

8 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)

8 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

8 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

8 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

8 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

8 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
8 years agohandle rpcbind /run/rpcbind directory
Harald Hoyer [Tue, 6 Jun 2017 11:38:29 +0000 (13:38 +0200)] 
handle rpcbind /run/rpcbind directory

8 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

8 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

8 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

8 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)

8 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>
8 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.

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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.

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

8 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.

8 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.

8 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'

8 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

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

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

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

8 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

8 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

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

8 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

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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)

8 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)

8 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)

8 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

8 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

8 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.

8 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

8 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

8 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…

8 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

8 years agoMerge branch 'FGrose-overlayfs'
Harald Hoyer [Thu, 30 Mar 2017 08:55:17 +0000 (10:55 +0200)] 
Merge branch 'FGrose-overlayfs'

8 years agoMerge branch 'overlayfs' of https://github.com/FGrose/dracut into FGrose-overlayfs
Harald Hoyer [Thu, 30 Mar 2017 08:53:22 +0000 (10:53 +0200)] 
Merge branch 'overlayfs' of https://github.com/FGrose/dracut into FGrose-overlayfs

8 years agoMerge pull request #177 from danimo/mkinitrd-suse_fixes
Harald Hoyer [Thu, 30 Mar 2017 08:50:41 +0000 (10:50 +0200)] 
Merge pull request #177 from danimo/mkinitrd-suse_fixes

mkinitrd-suse.sh: Resolve symbolic links for -i and -k parameters (bsc#902375)

8 years agoMerge pull request #178 from danimo/cifs_ntlm_auth
Harald Hoyer [Thu, 30 Mar 2017 08:50:16 +0000 (10:50 +0200)] 
Merge pull request #178 from danimo/cifs_ntlm_auth

Add md4 and arc4 modules for ntlm

8 years agoMerge pull request #185 from ldzhong/bsc1012656
Harald Hoyer [Thu, 30 Mar 2017 08:46:07 +0000 (10:46 +0200)] 
Merge pull request #185 from ldzhong/bsc1012656

man: make the -k option clear using mkinitrd

8 years agoMerge pull request #198 from danimo/degraded_md_raid
Harald Hoyer [Thu, 30 Mar 2017 08:30:19 +0000 (10:30 +0200)] 
Merge pull request #198 from danimo/degraded_md_raid

Allow booting from degraded MD RAID arrays

8 years agoMerge branch 'master' of github.com:dracutdevs/dracut
Harald Hoyer [Thu, 30 Mar 2017 08:15:22 +0000 (10:15 +0200)] 
Merge branch 'master' of github.com:dracutdevs/dracut

8 years agoMerge branch 'danimo-remove-test-dependencies'
Harald Hoyer [Thu, 30 Mar 2017 08:14:08 +0000 (10:14 +0200)] 
Merge branch 'danimo-remove-test-dependencies'

8 years agoMerge branch 'remove-test-dependencies' of https://github.com/danimo/dracut into...
Harald Hoyer [Thu, 30 Mar 2017 07:21:50 +0000 (09:21 +0200)] 
Merge branch 'remove-test-dependencies' of https://github.com/danimo/dracut into danimo-remove-test-dependencies

8 years agoTEST: redirect server output to server.log if $SERIAL empty
Harald Hoyer [Thu, 30 Mar 2017 07:04:02 +0000 (09:04 +0200)] 
TEST: redirect server output to server.log if $SERIAL empty

8 years agoTEST: new rpcbind needs /run/rpcbind
Harald Hoyer [Thu, 30 Mar 2017 07:03:31 +0000 (09:03 +0200)] 
TEST: new rpcbind needs /run/rpcbind

8 years agoMerge pull request #209 from nullr0ute/aarch64-fixes
Harald Hoyer [Thu, 30 Mar 2017 06:56:19 +0000 (08:56 +0200)] 
Merge pull request #209 from nullr0ute/aarch64-fixes

Aarch64 fixes

8 years agoTEST-70-BONDBRIDGETEAMVLAN: remove qemu -kernel parameter
Harald Hoyer [Wed, 15 Mar 2017 10:27:56 +0000 (11:27 +0100)] 
TEST-70-BONDBRIDGETEAMVLAN: remove qemu -kernel parameter

'run-qemu' takes care of finding the kernel image

8 years agocrypt-gpg: Add README describing the procedure of moving from
Moritz Maxeiner [Mon, 13 Jul 2015 15:53:29 +0000 (17:53 +0200)] 
crypt-gpg: Add README describing the procedure of moving from
           password-only gpg keyfile to password/smartcard gpg keyfile

8 years agocrypt-gpg: For GnuPG >= 2.1 support OpenPGP smartcards
Moritz Maxeiner [Fri, 10 Jul 2015 13:38:59 +0000 (15:38 +0200)] 
crypt-gpg: For GnuPG >= 2.1 support OpenPGP smartcards

8 years agocrypt: Support keyfiles embedded in the initrd
Moritz Maxeiner [Thu, 30 Mar 2017 00:05:52 +0000 (02:05 +0200)] 
crypt: Support keyfiles embedded in the initrd

For rd.luks.key=keypath:keydev:luksdev, keydev being '/' will
assume the initrd contains the keyfile.

8 years agoAdd check for aarch64 to the arm kernel module list 209/head
Peter Robinson [Thu, 23 Mar 2017 14:59:15 +0000 (14:59 +0000)] 
Add check for aarch64 to the arm kernel module list

This adds the same list of drivers we use for arm platforms for
aarch64 too, also add the DMA drivers there too as they can add
sigficant performance for some storage/usb and often need to be
present when the storage drivers load.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
8 years agoAdd aarch64 to drm modules along side ARM
Peter Robinson [Thu, 23 Mar 2017 14:51:48 +0000 (14:51 +0000)] 
Add aarch64 to drm modules along side ARM

Add aarch64 to modules, also update the drivers checked for latest
kernel changes.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
8 years agoMerge pull request #199 from lnykryn/bz1416958
Harald Hoyer [Tue, 21 Mar 2017 12:33:41 +0000 (13:33 +0100)] 
Merge pull request #199 from lnykryn/bz1416958

ifup: don't ifup team master indefinitely

8 years agoMerge pull request #201 from lnykryn/bz1415004
Harald Hoyer [Tue, 21 Mar 2017 12:33:20 +0000 (13:33 +0100)] 
Merge pull request #201 from lnykryn/bz1415004

network/ifup: write override file before dhcp_do

8 years agoCorrect path for UEFI stub
Harald Hoyer [Mon, 20 Mar 2017 10:41:07 +0000 (11:41 +0100)] 
Correct path for UEFI stub

respect any $prefix given to the systemd installation

https://github.com/dracutdevs/dracut/pull/196

8 years agoMerge pull request #204 from lnykryn/mtu
Harald Hoyer [Wed, 15 Mar 2017 09:46:35 +0000 (10:46 +0100)] 
Merge pull request #204 from lnykryn/mtu

write-ifcfg: do't write MTU twice for regular eth devices

8 years agoMerge pull request #206 from mwilck/master
Harald Hoyer [Wed, 15 Mar 2017 09:45:38 +0000 (10:45 +0100)] 
Merge pull request #206 from mwilck/master

dracut-init.sh: fix typo

8 years agodmsquash-live-root: Extend rd.live.overlay.readonly support 107/head
Frederick Grose [Sat, 11 Mar 2017 23:53:35 +0000 (18:53 -0500)] 
dmsquash-live-root: Extend rd.live.overlay.readonly support

Support the rd.live.overlay.readonly option for writable images,
such as rd.live.overlay=none and rd.writable.fsimg.

8 years agodmsquash-live-root: Provide enhanced feedback on missing overlay.
Frederick Grose [Thu, 9 Mar 2017 18:02:58 +0000 (13:02 -0500)] 
dmsquash-live-root: Provide enhanced feedback on missing overlay.

Provide a more prominent alert to the user if an overlay is
missing or the overlay module is not available and a temporary
overlay will be provided.  This, to avoid losing data intended to
persist.

8 years agoEnable the use of the OverlayFS for the LiveOS root filesystem.
Frederick Grose [Wed, 1 Feb 2017 05:07:15 +0000 (00:07 -0500)] 
Enable the use of the OverlayFS for the LiveOS root filesystem.

Integrate the option to use an OverlayFS as the root filesystem
into the 90dmsquash-live module for testing purposes.

The rd.live.overlay.overlayfs option allows one to request an
OverlayFS overlay.  If a persistent overlay is detected at the
standard LiveOS path, the overlay & type detected will be used.

Tested primarily with transient, in-RAM overlay boots on vfat-
formatted Live USB devices, with persistent overlay directories
on ext4-formatted Live USB devices, and with embedded, persistent
overlay directories on vfat-formatted devices. (Persistent overlay
directories on a vfat-formatted device must be in an embedded
filesystem that supports the creation of trusted.* extended
attributes, and must provide valid d_type in readdir responses.)

The rd.live.overlay.readonly option, which allows a persistent
overlayfs to be mounted read only through a higher level transient
overlay directory, has been implemented through the multiple lower
layers feature of OverlayFS.

The default transient DM overlay size has been adjusted up to 32 GiB.
This change supports comparison of transient Device-mapper vs.
transient OverlayFS overlay performance.  A transient DM overlay
is a sparse file in memory, so this setting does not consume more
RAM for legacy applications.  It does permit a user to use all of
the available root filesystem storage, and fails gently when it is
consumed, as the available free root filesystem storage on a typical
LiveOS build is only a few GiB.  Thus, when booted on other-
than-small RAM systems, the transient DM overlay should not overflow.

OverlayFS offers the potential to use all of the available free RAM
or all of the available free disc storage (on non-vfat-devices)
in its overlay, even beyond the root filesystem available space,
because the OverlayFS root filesystem is a union of directories on
two different partitions.

This patch also cleans up some message spew at shutdown, shortens
the execution path in a couple of places, and uses persistent
DM targets where required.

Documentation is updated for these changes.

8 years agodracut-init.sh: fix typo 206/head
Martin Wilck [Thu, 9 Mar 2017 19:12:17 +0000 (20:12 +0100)] 
dracut-init.sh: fix typo

8 years agowrite-ifcfg: do't write MTU twice for regular eth devices 204/head
Lukas Nykryn [Wed, 1 Mar 2017 13:43:53 +0000 (14:43 +0100)] 
write-ifcfg: do't write MTU twice for regular eth devices

If MTU is specified, we write it for every type of device in the
beginning. There is not point writing it again for Type=ethernet
devices.

8 years agoDrop dependency on bridge-utils 203/head
Daniel Molkentin [Tue, 14 Feb 2017 11:51:18 +0000 (12:51 +0100)] 
Drop dependency on bridge-utils

8 years agonet-tools are not required anymore
Daniel Molkentin [Mon, 13 Feb 2017 16:47:27 +0000 (17:47 +0100)] 
net-tools are not required anymore

Also bridge-utils was listed twice in README.testsuite.

8 years agonetwork/ifup: write override file before dhcp_do 201/head
Lukas Nykryn [Tue, 7 Feb 2017 16:09:41 +0000 (17:09 +0100)] 
network/ifup: write override file before dhcp_do

Commit cf376023e6d0d4abd9816fa954bb917fc2557713 moved writing .resolv.conf and .override
after dhcp_do, because dhcp_do was overwriting .resolv.conf. But .override does not have
such problem and on the contrary dhcp_do reads .override file if it is present. So let\'s
move it back.

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

8 years agoMerge pull request #200 from nullr0ute/modules-generic-fixes
Harald Hoyer [Tue, 7 Feb 2017 11:20:11 +0000 (12:20 +0100)] 
Merge pull request #200 from nullr0ute/modules-generic-fixes

Some fixes for ARM hardware generic host initrd generation

8 years agomodules: kernel: add more usb controller modules 200/head
Peter Robinson [Fri, 3 Feb 2017 10:29:12 +0000 (10:29 +0000)] 
modules: kernel: add more usb controller modules

There's a number of usb controllers that are common yet aren't
contained in the host directory. Include these for generic host.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
8 years agomodules: kernel: add phy and power modules to generic initrd
Peter Robinson [Mon, 4 Jul 2016 15:57:39 +0000 (16:57 +0100)] 
modules: kernel: add phy and power modules to generic initrd

The phy and power modules are needed by some of the recent ARM
devices that have appeared like CHIP and some exynos devices.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
8 years agoifup: don't ifup team master indefinitely 199/head
Lukas Nykryn [Thu, 2 Feb 2017 12:02:10 +0000 (13:02 +0100)] 
ifup: don't ifup team master indefinitely

https://bugzilla.redhat.com/show_bug.cgi?id=1416958
Thanks to martin.moore@hpe.com for the patch

8 years agoAllow booting from degraded MD RAID arrays 198/head
Daniel Molkentin [Mon, 30 Jan 2017 10:10:40 +0000 (11:10 +0100)] 
Allow booting from degraded MD RAID arrays

bnc#1017695

8 years agofips: honor $BOOT_IMAGE variable for HMAC check of the kernel
Harald Hoyer [Mon, 30 Jan 2017 08:20:55 +0000 (09:20 +0100)] 
fips: honor $BOOT_IMAGE variable for HMAC check of the kernel

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

8 years agofips: use /lib/modules/$(uname -r)/modules.fips
Harald Hoyer [Tue, 29 Nov 2016 16:05:01 +0000 (17:05 +0100)] 
fips: use /lib/modules/$(uname -r)/modules.fips

if /lib/modules/$(uname -r)/modules.fips exists, use that list instead
of the hardcoded dracut module list.

8 years agoMerge pull request #197 from danimo/update-gitignore
Harald Hoyer [Wed, 25 Jan 2017 13:55:08 +0000 (14:55 +0100)] 
Merge pull request #197 from danimo/update-gitignore

Ignore more generated files

8 years agoIgnore more generated files 197/head
Daniel Molkentin [Wed, 25 Jan 2017 12:25:21 +0000 (13:25 +0100)] 
Ignore more generated files

Also fixes ignores after systemd module split

8 years agoNEWS: update for 045
Harald Hoyer [Thu, 19 Jan 2017 12:52:33 +0000 (13:52 +0100)] 
NEWS: update for 045