]> git.ipfire.org Git - thirdparty/dracut.git/log
thirdparty/dracut.git
7 years agospec: use if-undefined instead of empty if-defined block 344/head
Yu Watanabe [Tue, 9 Jan 2018 08:46:16 +0000 (17:46 +0900)] 
spec: use if-undefined instead of empty if-defined block

Follow-up for 68cbbae33adc65452ee234940f668151f65cc043.

7 years agoMerge pull request #338 from danimo/fshelp
Harald Hoyer [Mon, 8 Jan 2018 14:05:28 +0000 (15:05 +0100)] 
Merge pull request #338 from danimo/fshelp

dracut-emergency: optionally print fs help

7 years agodracut-emergency: optionally print fs help 338/head
Mark Fasheh [Fri, 24 Jun 2016 22:11:17 +0000 (15:11 -0700)] 
dracut-emergency: optionally print fs help

Allow filesystem modules to install a fs-specific text file with
instructions on what to do when mount fails. This is printed when we go into
an emergency shell.

Signed-off-by: Mark Fasheh <mfasheh@suse.de>
7 years agoMerge pull request #339 from danimo/fix_include_parsing
Harald Hoyer [Mon, 8 Jan 2018 12:31:55 +0000 (13:31 +0100)] 
Merge pull request #339 from danimo/fix_include_parsing

Fix parsing of "-i" and "--include"

7 years agoFix parsing of "-i" and "--include" 339/head
Fabian Vogt [Mon, 21 Sep 2015 13:15:07 +0000 (15:15 +0200)] 
Fix parsing of "-i" and "--include"

- dracut replaced every instance of "-i" in the cmdline,
  even if it was part of a kernel image name, e.g. "vmlinuz-i"
- Fixes boo#908452

Signed-off-by: Fabian Vogt <fvogt@suse.com>
Adjusted to not support "dracut -ifoo bar", as this breaks expected
upstream behavior.

7 years agoRevert "mdraid: call mdadm with "--wait-clean" instead of "-W""
Harald Hoyer [Fri, 5 Jan 2018 10:02:12 +0000 (11:02 +0100)] 
Revert "mdraid: call mdadm with "--wait-clean" instead of "-W""

This reverts commit bc4ce61efce3e2d8b2be4f4e3e5fdef6ca08409f.

Read wrong man page section. Got confused by
https://github.com/dracutdevs/dracut/issues/342

7 years agodracut.spec: add lunmask dracut module
Harald Hoyer [Fri, 5 Jan 2018 09:42:22 +0000 (10:42 +0100)] 
dracut.spec: add lunmask dracut module

7 years agodracut.spec: remove systemd-bootchart
Harald Hoyer [Fri, 5 Jan 2018 09:39:44 +0000 (10:39 +0100)] 
dracut.spec: remove systemd-bootchart

7 years agoMerge pull request #343 from lnykryn/boot_image_once_more
Harald Hoyer [Tue, 2 Jan 2018 14:01:15 +0000 (15:01 +0100)] 
Merge pull request #343 from lnykryn/boot_image_once_more

01fips: Properly creating path to .hmac of kernel based on BOOT_IMAGE

7 years agomdraid: call mdadm with "--wait-clean" instead of "-W"
Harald Hoyer [Tue, 2 Jan 2018 13:58:14 +0000 (14:58 +0100)] 
mdraid: call mdadm with "--wait-clean" instead of "-W"

seems like -W changed meanings over the years :-/

7 years ago01fips: Properly fix creating path to .hmac of kernel based on BOOT_IMAGE 343/head
Lukas Nykryn [Tue, 26 Dec 2017 11:18:47 +0000 (12:18 +0100)] 
01fips: Properly fix creating path to .hmac of kernel based on BOOT_IMAGE

8f5c5 broke the case where BOOT_IMAGE is not set at all.
This code should handle following:
1) BOOT_IMAGE not set
2) BOOT_IMAGE set to something unrelated (s390)
3) BOOT_IMAGE=vmlinuz-4.14.7-300.fc27.x86_64
4) BOOT_IMAGE=/vmlinuz-4.14.7-300.fc27.x86_64
5) BOOT_IMAGE=/boot/vmlinuz-4.14.7-300.fc27.x86_64
6) BOOT_IMAGE=subdir/vmlinuz-4.14.7-300.fc27.x86_64
7) BOOT_IMAGE=/subdir/vmlinuz-4.14.7-300.fc27.x86_64
8) BOOT_IMAGE=/boot/subdir/vmlinuz-4.14.7-300.fc27.x86_64

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

7 years agoMerge pull request #321 from danimo/multipath-fixes
Harald Hoyer [Tue, 19 Dec 2017 14:43:58 +0000 (15:43 +0100)] 
Merge pull request #321 from danimo/multipath-fixes

SUSE fixes for 90multipath

7 years agoMerge pull request #318 from danimo/fcoe-fixes
Harald Hoyer [Tue, 19 Dec 2017 14:43:13 +0000 (15:43 +0100)] 
Merge pull request #318 from danimo/fcoe-fixes

All FCOE-related SUSE patches, rebased on top of master

7 years agoMerge pull request #340 from danimo/mkinitrd_suse_A
Harald Hoyer [Tue, 19 Dec 2017 14:41:33 +0000 (15:41 +0100)] 
Merge pull request #340 from danimo/mkinitrd_suse_A

mkinitrd-suse.sh: Implement functionality of -A option

7 years agoMerge pull request #331 from fcami/master-fsfreeze
Harald Hoyer [Tue, 19 Dec 2017 14:35:18 +0000 (15:35 +0100)] 
Merge pull request #331 from fcami/master-fsfreeze

call fsfreeze(8) on /boot to flush initramfs data & metadata to media

7 years agocall fsfreeze(8) on /boot to flush initramfs data & metadata to media 331/head
François Cami [Sat, 16 Dec 2017 22:21:07 +0000 (23:21 +0100)] 
call fsfreeze(8) on /boot to flush initramfs data & metadata to media

7 years agoMerge pull request #337 from danimo/lunmask
Harald Hoyer [Tue, 19 Dec 2017 13:39:07 +0000 (14:39 +0100)] 
Merge pull request #337 from danimo/lunmask

95lunmask: Add module to handle LUN masking

7 years agoMerge pull request #336 from danimo/add_drivers
Harald Hoyer [Tue, 19 Dec 2017 13:36:45 +0000 (14:36 +0100)] 
Merge pull request #336 from danimo/add_drivers

Fix possible hang in dracut

7 years agomkinitrd-suse.sh: Implement functionality of -A option 340/head
Fabian Vogt [Fri, 3 Feb 2017 15:02:33 +0000 (16:02 +0100)] 
mkinitrd-suse.sh: Implement functionality of -A option

- Without this patch, -A sets host_only=0,
    but host_only wasn't used
- Translates into --no-host-only now

7 years ago95lunmask: Add module to handle LUN masking 337/head
Hannes Reinecke [Wed, 11 Nov 2015 11:20:33 +0000 (12:20 +0100)] 
95lunmask: Add module to handle LUN masking

Using the module option 'scsi_mod.scan=manual'
this implements LUN masking by selectively enable only those
devices required for booting.

References: bsc#954600,FATE#319786

Signed-off-by: Hannes Reinecke <hare@suse.de>
7 years agoFix possible hang in dracut 336/head
Fabian Vogt [Wed, 23 Sep 2015 10:12:08 +0000 (12:12 +0200)] 
Fix possible hang in dracut

- Caused by add_drivers+=" " in dracut.conf (bsc#923116)

Signed-off-by: Fabian Vogt <fvogt@suse.com>
7 years ago95fcoe: use interface names instead of MAC addresses 318/head
Hannes Reinecke [Wed, 24 Aug 2016 13:14:31 +0000 (15:14 +0200)] 
95fcoe: use interface names instead of MAC addresses

Now that we are using persistent network names we can switch
to using the interface names when specifying the fcoe configuration.
With that we can print the fcoe configuration only once.

Signed-off-by: Hannes Reinecke <hare@suse.com>
7 years ago95fcoe: add timeout initqueue entries
Hannes Reinecke [Wed, 13 Sep 2017 07:42:01 +0000 (09:42 +0200)] 
95fcoe: add timeout initqueue entries

Occasionally the FCoE connection might be reset after fipvlan was
called, causing the FCoE connection to be dropped and boot to fail.
For these cases we should be adding a timeout entry for the
initqueue to have a failsave mechanism to re-run fipvlan in
these cases.

References: bsc#1052840

Signed-off-by: Hannes Reinecke <hare@suse.com>
7 years ago95fcoe: Switch back to using fipvlan for bnx2fc
Hannes Reinecke [Thu, 17 Aug 2017 08:54:22 +0000 (10:54 +0200)] 
95fcoe: Switch back to using fipvlan for bnx2fc

bnx2fc doesn't _actually_ need fcoemon, so fipvlan is sufficient
to start the FCoE connection.
And, in fact, fcoemon is started for every interface, causing
subsequent invocations to fail with

fcoemon[1157]: error 98 address already in use

and fcoemon tearing down the connection.

References: bsc#1052840

Signed-off-by: Hannes Reinecke <hare@suse.com>
7 years ago95fcoe: fixup fcoe-genrules.sh for VN2VN mode
Hannes Reinecke [Wed, 26 Apr 2017 14:38:11 +0000 (16:38 +0200)] 
95fcoe: fixup fcoe-genrules.sh for VN2VN mode

The 'mode' argument was never referenced in the printf format, causing
invalid rules to be written.

References: bsc#1036323

Signed-off-by: Hannes Reinecke <hare@suse.com>
7 years ago95fcoe: Add shutdown script
Hannes Reinecke [Thu, 25 Aug 2016 07:36:06 +0000 (09:36 +0200)] 
95fcoe: Add shutdown script

We should be disabling the FCoE connection (which triggers sending
a LOGO internally) to logout from the target; this resets the target
and will avoid hitting a busy condition during reboots.

References: bsc#994860

Signed-off-by: Hannes Reinecke <hare@suse.com>
7 years ago95fcoe: always set AUTO_VLAN for fcoemon
Hannes Reinecke [Wed, 24 Aug 2016 10:26:04 +0000 (12:26 +0200)] 
95fcoe: always set AUTO_VLAN for fcoemon

fcoemon is well capable of figuring out whether a vlan should
be used, so there's no need to disable the AUTO_VLAN feature.

References: bsc#995019

Signed-off-by: Hannes Reinecke <hare@suse.com>
7 years agoMerge pull request #335 from lnykryn/BOOT_IMAGE-to-HMAC
Harald Hoyer [Mon, 18 Dec 2017 14:26:31 +0000 (15:26 +0100)] 
Merge pull request #335 from lnykryn/BOOT_IMAGE-to-HMAC

01fips: Fix creating path to .hmac of kernel based on BOOT_IMAGE

7 years ago01fips: Fix creating path to .hmac of kernel based on BOOT_IMAGE 335/head
Lukas Nykryn [Mon, 18 Dec 2017 13:48:59 +0000 (14:48 +0100)] 
01fips: Fix creating path to .hmac of kernel based on BOOT_IMAGE

Old code did not work for two most common use-cases.
On most machines BOOT_IMAGE is set to something like
/vmlinuz-4.11.3-202.fc25.x86_64. So if we just add prefix "/boot/."
it won't work. Also on machines without /boot on separate partition
BOOT_IMAGE already has the /boot/ prefix (/boot/vmlinuz-3.10.0-799.el7.x86_64).
So let's strip it in such case.

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

7 years agoMerge pull request #334 from FloGa/master
Harald Hoyer [Mon, 18 Dec 2017 10:29:17 +0000 (11:29 +0100)] 
Merge pull request #334 from FloGa/master

Use pattern matching function

7 years agoUse pattern matching function 334/head
Florian Gamböck [Mon, 18 Dec 2017 10:04:05 +0000 (11:04 +0100)] 
Use pattern matching function

The needle argument in this specific case is a pattern, which cannot be
matched by the "literal" string matcher strstr.

This can result in fsck calls like:

    e2fsck -a -y /dev/sda1

Which will then exit with an error like:

    e2fsck: Only one of the options -p/-a, -n or -y may be specified.

Hence, it is necessary to use the strglobin function to correctly match
the pattern.

7 years agoMerge pull request #325 from danimo/dasd_cio_free
Harald Hoyer [Mon, 18 Dec 2017 09:01:33 +0000 (10:01 +0100)] 
Merge pull request #325 from danimo/dasd_cio_free

95dasd_mod: do not set module parameters if dasd_cio_free is not present

7 years agoMerge pull request #328 from danimo/nfs_bonddevices
Harald Hoyer [Mon, 18 Dec 2017 08:44:24 +0000 (09:44 +0100)] 
Merge pull request #328 from danimo/nfs_bonddevices

Do not pass ifname for bonding devices (bsc#995812)

7 years agoMerge pull request #324 from danimo/mdraid-no-delete-part
Harald Hoyer [Mon, 18 Dec 2017 08:43:57 +0000 (09:43 +0100)] 
Merge pull request #324 from danimo/mdraid-no-delete-part

90dmraid: do not delete partitions

7 years agoMerge pull request #330 from danimo/task_max_emergency
Harald Hoyer [Mon, 18 Dec 2017 08:14:21 +0000 (09:14 +0100)] 
Merge pull request #330 from danimo/task_max_emergency

Set TaskMax=inifinite for the emergency shell

7 years agoMerge pull request #327 from danimo/nfs_host_robustness
Harald Hoyer [Mon, 18 Dec 2017 08:13:29 +0000 (09:13 +0100)] 
Merge pull request #327 from danimo/nfs_host_robustness

Rebustness fixes for NFS hostnames

7 years agoMerge pull request #326 from danimo/no_efi_fcoe_default
Harald Hoyer [Mon, 18 Dec 2017 08:11:54 +0000 (09:11 +0100)] 
Merge pull request #326 from danimo/no_efi_fcoe_default

fcoe-uefi: Add check for usage

7 years agoMerge pull request #323 from danimo/dm-fixes
Harald Hoyer [Mon, 18 Dec 2017 08:06:54 +0000 (09:06 +0100)] 
Merge pull request #323 from danimo/dm-fixes

Two SUSE fixes for 90dm

7 years agoMerge pull request #322 from danimo/font_maps
Harald Hoyer [Mon, 18 Dec 2017 08:05:49 +0000 (09:05 +0100)] 
Merge pull request #322 from danimo/font_maps

10i18n: Add correct fontmaps

7 years agoMerge pull request #320 from danimo/ifname-bond
Harald Hoyer [Mon, 18 Dec 2017 08:02:39 +0000 (09:02 +0100)] 
Merge pull request #320 from danimo/ifname-bond

Do not pass ifname for bonding devices (bsc#995812)

7 years agoMerge pull request #319 from danimo/modules-load.d-hostonly
Harald Hoyer [Mon, 18 Dec 2017 08:01:21 +0000 (09:01 +0100)] 
Merge pull request #319 from danimo/modules-load.d-hostonly

Fix loading of modules in modules-load.d

7 years agoSet TaskMax=inifinite for the emergency shell 330/head
Daniel Molkentin [Fri, 20 Jan 2017 09:57:40 +0000 (10:57 +0100)] 
Set TaskMax=inifinite for the emergency shell

Certain rescue/recovery operations, e.g. xfs_repair need
that liberty (bsc#1019938).

7 years agoDo not pass ifname for bonding devices (bsc#995812) 328/head
Daniel Molkentin [Thu, 2 Mar 2017 15:52:45 +0000 (16:52 +0100)] 
Do not pass ifname for bonding devices (bsc#995812)

Patch-By: Thomas Renninger <trenn@suse.de>
7 years agoNFS: Support host being a DNS ALIAS 327/head
Fabian Vogt [Fri, 3 Feb 2017 15:02:33 +0000 (16:02 +0100)] 
NFS: Support host being a DNS ALIAS

The "host" command may also print something else than
"asdf.local.lan has address 1.2.3.4", like:
"rootserver.local.net is an alias for rainbow.local.net.".
So "head -n1" is not enough.

Fixes boo#955592

7 years ago95nfs: Fix mount if IPv4 address is used in /etc/fstab
Thomas Renninger [Wed, 4 May 2016 11:33:43 +0000 (13:33 +0200)] 
95nfs: Fix mount if IPv4 address is used in /etc/fstab

Signed-off-by: Thomas Renninger <trenn@suse.com>
7 years agofcoe-uefi: Add check for usage 326/head
Fabian Vogt [Tue, 27 Sep 2016 10:41:17 +0000 (12:41 +0200)] 
fcoe-uefi: Add check for usage

References: boo#965477

fcoe-uefi gets included by default on EFI systems,
as it does not do the same check that fcoe does,
therefore needlessly pulling in network modules.
This patch copies the check from fcoe to fcoe-uefi.

7 years ago95dasd_mod: do not set module parameters if dasd_cio_free is not present 325/head
Hannes Reinecke [Thu, 26 Jun 2014 08:53:01 +0000 (10:53 +0200)] 
95dasd_mod: do not set module parameters if dasd_cio_free is not present

We're now parsing the 'rd.dasd' parameter from 95dasd_rules, so
setting the 'dasd_mod' module parameter should be dropped here.

Signed-off-by: Hannes Reinecke <hare@suse.de>
7 years ago90dmraid: do not delete partitions 324/head
Hannes Reinecke [Tue, 27 Sep 2016 14:38:36 +0000 (16:38 +0200)] 
90dmraid: do not delete partitions

There is no point trying to delete partitions; dmraid works
happily even with them. On the contrary trying to delete partitions
can even be harmful when eg dmraid should _not_ be started.

References: bsc#998860

Signed-off-by: Hannes Reinecke <hare@suse.com>
7 years ago90dm: fixup dependency cycle between MD and DM shutdown 323/head
Hannes Reinecke [Thu, 25 Aug 2016 07:49:14 +0000 (09:49 +0200)] 
90dm: fixup dependency cycle between MD and DM shutdown

DM devices might be located on top of MD devices, so we need to
call the DM shutdown script before MD shutdown. The exception
here are multipath devices, which are below MD devices.
So skip removing multipath devices here to avoid spurious errors.

References: bsc#994860

Signed-off-by: Hannes Reinecke <hare@suse.com>
7 years ago90dm: Fixup shutdown script
Hannes Reinecke [Thu, 25 Aug 2016 07:28:30 +0000 (09:28 +0200)] 
90dm: Fixup shutdown script

When calling the shutdown script we need to take care of traversing
the device-mapper tables, otherwise we might end up trying to remove
a device-mapper device which still has another one stacked on top
and the removal will fail.

References: bsc#994860

Signed-off-by: Hannes Reinecke <hare@suse.com>
7 years ago10i18n: Add correct fontmaps 322/head
Fabian Vogt [Wed, 4 May 2016 11:08:19 +0000 (13:08 +0200)] 
10i18n: Add correct fontmaps

References: bsc#943312, bsc#932981

Signed-off-by: Fabian Vogt <fvogt@suse.com>
7 years ago90multipath: start before local-fs-pre.target 321/head
Martin Wilck [Thu, 3 Nov 2016 19:37:01 +0000 (20:37 +0100)] 
90multipath: start before local-fs-pre.target

local-fs-pre.target serves as a separator between the code for
detecting block devices and systemd's fsck/mount logic. This
patch ensures that multipathd is started before local-fs-pre.target
in the initrd. By adding a "Wants=" line for local-fs-pre.target,
it makes sure that this target is started at all.

References: bsc#1006118
Signed-off-by: Martin Wilck <mwilck@suse.de>
===================================================================

7 years ago90multipath: parse kernel commandline option 'multipath=off'
Hannes Reinecke [Wed, 28 Sep 2016 13:29:52 +0000 (15:29 +0200)] 
90multipath: parse kernel commandline option 'multipath=off'

SLES11 provided a kernel commandline option 'multipath=off',
so dracut should be parsing the option, too.

References: bsc#1001691

Signed-off-by: Hannes Reinecke <hare@suse.com>
7 years ago90multipath: add shutdown script
Hannes Reinecke [Thu, 25 Aug 2016 07:33:26 +0000 (09:33 +0200)] 
90multipath: add shutdown script

As the device-mapper module is removing all device-mapper tables
during shutdown we need to make sure to disable queuing on the
multipath devices; otherwise there might still be I/O pending
and the removal will fail.

References: bsc#994860

Signed-off-by: Hannes Reinecke <hare@suse.com>
7 years ago90multipath: Start daemon after udev settle
Hannes Reinecke [Wed, 24 Aug 2016 07:05:01 +0000 (09:05 +0200)] 
90multipath: Start daemon after udev settle

We need to wait until udev has processed all events, otherwise we'll
risk of misdetecting devices. This might cause a temporary interruption
during which multipath removes a device-mapper device, which then
causes a booting failure.

References: bsc#986734

Signed-off-by: Hannes Reinecke <hare@suse.com>
7 years ago90multipath: do not fail startup on missing configuration
Hannes Reinecke [Tue, 27 Sep 2016 10:40:22 +0000 (12:40 +0200)] 
90multipath: do not fail startup on missing configuration

References: bsc#930019

If rootfs is on multipath, but platform does not have an /etc/multipath.conf
file which is not urgently needed, they system will not boot, due to:

multipathd is not started and rootfs and swap are not found:
systemctl status multipathd.service
* multipathd.service - Device-Mapper Multipath Device Controller
   Loaded: loaded (/usr/lib/systemd/system/multipathd.service; disabled; vendor preset: enabled)
   Active: inactive (dead)
Condition: start condition failed at Thu 2015-05-07 11:49:11 CEST; 7min ago
           ConditionPathExists=/etc/multipath.conf was not met

and exit to dracut shell.

7 years agoDo not pass ifname for bonding devices (bsc#995812) 320/head
Daniel Molkentin [Thu, 2 Mar 2017 15:52:45 +0000 (16:52 +0100)] 
Do not pass ifname for bonding devices (bsc#995812)

Patch-By: Thomas Renninger <trenn@suse.de>
7 years agoFix loading of modules in modules-load.d 319/head
Fabian Vogt [Fri, 3 Feb 2017 15:02:34 +0000 (16:02 +0100)] 
Fix loading of modules in modules-load.d

With hostonly enabled, only modules that are currently
loaded are included in the initrd. Modules which are
explicitly listed in modules-load.d do not need to
be filtered that way. Fix for boo#962224.

7 years ago95fcoe: Allow to specify the FCoE mode via the fcoe= parameter
Hannes Reinecke [Wed, 24 Aug 2016 06:32:04 +0000 (08:32 +0200)] 
95fcoe: Allow to specify the FCoE mode via the fcoe= parameter

FCoE can run in Fabric (ie FCF) or VN2VN mode, so we should allowing
to set this parameter from the commandline, too.

Signed-off-by: Hannes Reinecke <hare@suse.com>
7 years ago95fcoe: silence lldpad warnings
Daniel Molkentin [Fri, 15 Dec 2017 17:29:01 +0000 (18:29 +0100)] 
95fcoe: silence lldpad warnings

When lldpad is not running, any calls to 'dcbtool' will be printing
out a warning. As it perfectly legit to have FCoE running without
DCB we should not be printing out the error.

Signed-off-by: Hannes Reinecke <hare@suse.com>
7 years ago95fcoe: Do not overwrite FCoE configuration
Hannes Reinecke [Tue, 16 Aug 2016 11:26:07 +0000 (13:26 +0200)] 
95fcoe: Do not overwrite FCoE configuration

If the installation already has a FCoE configuration we should
not attempt to overwrite it but rather use the pre-defined
configuration.

References: bsc#993861

Signed-off-by: Hannes Reinecke <hare@suse.com>
7 years ago95fcoe: Reorder initialisation for bnx2x
Johannes Thumshirn [Tue, 27 Sep 2016 10:41:22 +0000 (12:41 +0200)] 
95fcoe: Reorder initialisation for bnx2x

Check first if we're running off an bnx2x device and start FCoE on it
via fipvlan, then go the normal/Intel way of starting DCB.

Also the SUSE version of fcoemon needs the yes parameter for the
--syslog option

References: bsc#982588

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.com>
7 years agoMerge pull request #316 from danimo/btrfs-crc32-accel
Harald Hoyer [Thu, 14 Dec 2017 14:38:12 +0000 (15:38 +0100)] 
Merge pull request #316 from danimo/btrfs-crc32-accel

Include crc32c-intel module when using btrfs

7 years agoMerge pull request #315 from danimo/emergency-task-limit
Harald Hoyer [Thu, 14 Dec 2017 14:37:40 +0000 (15:37 +0100)] 
Merge pull request #315 from danimo/emergency-task-limit

Fix task limit in emergency.service (the same change as in dracut-emergency.service) (bsc#1019938)

7 years agoMerge pull request #314 from danimo/simplify-amd-ucode
Harald Hoyer [Thu, 14 Dec 2017 14:36:54 +0000 (15:36 +0100)] 
Merge pull request #314 from danimo/simplify-amd-ucode

Simplify microcode lookup for for AMD CPUs

7 years agoInclude crc32c-intel module when using btrfs 316/head
Daniel Molkentin [Mon, 23 Oct 2017 11:36:18 +0000 (13:36 +0200)] 
Include crc32c-intel module when using btrfs

Reference: bsc#1011554

7 years agoFix task limit in emergency.service (the same change as in dracut-emergency.service... 315/head
Lidong Zhong [Tue, 5 Sep 2017 14:40:14 +0000 (16:40 +0200)] 
Fix task limit in emergency.service (the same change as in dracut-emergency.service) (bsc#1019938)

7 years agoSimplify microcode lookup for for AMD CPUs 314/head
Daniel Molkentin [Thu, 14 Dec 2017 11:24:53 +0000 (12:24 +0100)] 
Simplify microcode lookup for for AMD CPUs

Suggested by Tom Lendacky <thomas.lendacky@amd.com>

7 years agoMerge pull request #313 from danimo/amd-family0x17
Harald Hoyer [Wed, 13 Dec 2017 07:51:12 +0000 (08:51 +0100)] 
Merge pull request #313 from danimo/amd-family0x17

Support Microcode Updates for AMD CPU Family 0x17

7 years agoSupport Microcode Updates for AMD CPU Family 0x17 313/head
Daniel Molkentin [Tue, 12 Dec 2017 16:48:36 +0000 (17:48 +0100)] 
Support Microcode Updates for AMD CPU Family 0x17

Original-Patch-By: Tom Lendacky <thomas.lendacky@amd.com>
7 years agoMerge pull request #312 from jnbr/network
Harald Hoyer [Tue, 12 Dec 2017 09:22:41 +0000 (10:22 +0100)] 
Merge pull request #312 from jnbr/network

40network: install grep

7 years ago40network: install grep 312/head
johannes [Mon, 11 Dec 2017 16:52:03 +0000 (17:52 +0100)] 
40network: install grep

since version 046 40network/net-lib.sh uses grep but the module does not install grep

7 years agoMerge pull request #310 from danimo/remove-systemd-bootchart
Harald Hoyer [Wed, 6 Dec 2017 13:58:36 +0000 (14:58 +0100)] 
Merge pull request #310 from danimo/remove-systemd-bootchart

Remove 00systemd-bootchart

7 years agoMerge pull request #311 from dracut-mailing-devs/1512379451-17727-1-git-send-email...
Harald Hoyer [Wed, 6 Dec 2017 13:49:42 +0000 (14:49 +0100)] 
Merge pull request #311 from dracut-mailing-devs/1512379451-17727-1-git-send-email-piliu@redhat.com

dracut.sh: for_each_host_xx() function should indicate the empty case

7 years agoRemove 00systemd-bootchart 310/head
Daniel Molkentin [Mon, 4 Dec 2017 14:55:12 +0000 (15:55 +0100)] 
Remove 00systemd-bootchart

This was removed from systemd almost two years ago in
c550f7a9b89d017215af084288bc44f736f774fe, so dracut should drop support
as well.

Reference: bsc#1067279

7 years agodracut.sh: for_each_host_xx() function should indicate the empty case 311/head
Pingfan Liu [Mon, 4 Dec 2017 09:24:11 +0000 (17:24 +0800)] 
dracut.sh: for_each_host_xx() function should indicate the empty case

The caller of "for_each_host_xx func" needs to tell three cases:
func success/ fail / not be called.
E.g, in kdump case, host_devs can be empty, and we want to know it.

Signed-off-by: Pingfan Liu <piliu@redhat.com>
7 years agoAdd fuse/ntfs-3g run-time dependencies for -live subpackage
Robert Scheck [Fri, 1 Dec 2017 13:18:18 +0000 (14:18 +0100)] 
Add fuse/ntfs-3g run-time dependencies for -live subpackage

7 years agoMerge pull request #309 from danimo/multipath_bin_error
Harald Hoyer [Fri, 1 Dec 2017 08:13:53 +0000 (09:13 +0100)] 
Merge pull request #309 from danimo/multipath_bin_error

Fix warning about multipath if not needed

7 years agoFix warning about multipath if not needed 309/head
Fabian Vogt [Tue, 23 Aug 2016 10:56:21 +0000 (12:56 +0200)] 
Fix warning about multipath if not needed

Although no device uses multipath, the module checks
for presence of the multipath binary first, printing a
warning if not present. This patch fixes the wrong ordering.

7 years agodracut-install: remove double "//" in path names
Harald Hoyer [Thu, 30 Nov 2017 14:07:48 +0000 (15:07 +0100)] 
dracut-install: remove double "//" in path names

makes relative symlinks shorter

7 years agoMerge pull request #300 from danimo/pick_all_matching_keymaps
Harald Hoyer [Mon, 6 Nov 2017 08:56:13 +0000 (09:56 +0100)] 
Merge pull request #300 from danimo/pick_all_matching_keymaps

10i18n: Load all keymaps for a given locale

7 years agoMerge pull request #303 from FGrose/bootmsg
Harald Hoyer [Mon, 6 Nov 2017 08:55:54 +0000 (09:55 +0100)] 
Merge pull request #303 from FGrose/bootmsg

dmsquash-live-root: Replace incompatible shell syntax.

7 years agodmsquash-live-root: Replace incompatible shell syntax. 303/head
Frederick Grose [Sun, 5 Nov 2017 06:18:44 +0000 (01:18 -0500)] 
dmsquash-live-root: Replace incompatible shell syntax.

Fix issue #279  supercede PR #299
Fix bug https://issues.openmandriva.org/show_bug.cgi?id=2219
Replace Bashisms in the boot message for a missing overlay.
Verify presence of plymouth before calling it.
(Rework of commit f1b65e92af5e3f9df79f99e55d5aa936c9bca940.)

7 years agoRevert "lsinitrd.sh: dismiss "cat" error messages"
Harald Hoyer [Fri, 3 Nov 2017 08:16:45 +0000 (09:16 +0100)] 
Revert "lsinitrd.sh: dismiss "cat" error messages"

This reverts commit e190224345f3a8b2f9e85d84bc879dd96bf265da.

7 years agoMerge pull request #302 from keszybz/yet-another-timeout-fix
Harald Hoyer [Fri, 3 Nov 2017 08:15:02 +0000 (09:15 +0100)] 
Merge pull request #302 from keszybz/yet-another-timeout-fix

dmsquash-generator.sh: properly escape backslash in path

7 years agodmsquash-generator.sh: properly escape backslash in path 302/head
Zbigniew Jędrzejewski-Szmek [Thu, 2 Nov 2017 16:04:49 +0000 (17:04 +0100)] 
dmsquash-generator.sh: properly escape backslash in path

We need an actual bashslash in the filename on disk.

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

7 years ago10i18n: Load all keymaps for a given locale 300/head
Daniel Molkentin [Thu, 26 Oct 2017 12:59:34 +0000 (14:59 +0200)] 
10i18n: Load all keymaps for a given locale

Previously, dracut would only copy the first one found. However,
with legacy maps for some locales around, there is a chance we
pick the wrong one. Pick all matching keymaps instead

Reference: boo#1065058

7 years agoMerge pull request #298 from derekhiggins/master
Harald Hoyer [Fri, 27 Oct 2017 07:10:22 +0000 (09:10 +0200)] 
Merge pull request #298 from derekhiggins/master

Skip iscsi attachment if no info

7 years agoSkip iscsi attachment if no info 298/head
Derek Higgins [Thu, 26 Oct 2017 14:29:42 +0000 (15:29 +0100)] 
Skip iscsi attachment if no info

If no iscsi session information can be retrieved from the firmware
then skip the iscsi attachment and allow the boot process to continue.
Ensure the timeout scripts don't hit their timeout waiting for
/tmp/iscsistarted-firmware to be created.
This will allow a common image to be used for servers with both a
local and iscsi root with rd.iscsi.firmware set.

7 years agodracut.sh: after doing the lazy resolve always install dependencies
Harald Hoyer [Thu, 26 Oct 2017 07:31:27 +0000 (09:31 +0200)] 
dracut.sh: after doing the lazy resolve always install dependencies

Exit the lazy resolving mode after doing the lazy resolve, because there
won't be any lazy resolving anymore after this step.

Fixes https://github.com/dracutdevs/dracut/issues/152
Obsoletes https://github.com/dracutdevs/dracut/pull/225

7 years agolsinitrd.sh: dismiss "cat" error messages
Harald Hoyer [Thu, 26 Oct 2017 07:08:28 +0000 (09:08 +0200)] 
lsinitrd.sh: dismiss "cat" error messages

nobody wants to see "cat: broken pipe"

7 years agomake qemu and qemu-net a default module in non-hostonly mode
Harald Hoyer [Wed, 25 Oct 2017 10:53:47 +0000 (12:53 +0200)] 
make qemu and qemu-net a default module in non-hostonly mode

7 years agoMerge pull request #296 from dracut-mailing-devs/20170303132146.4968-1-crrodriguez...
Harald Hoyer [Mon, 23 Oct 2017 08:23:42 +0000 (10:23 +0200)] 
Merge pull request #296 from dracut-mailing-devs/20170303132146.4968-1-crrodriguez@opensuse.org

systemd 233 requires sha256, hmac and algif_hash modules

7 years agoMerge pull request #294 from nullr0ute/arm-fixes
Harald Hoyer [Thu, 12 Oct 2017 11:32:00 +0000 (13:32 +0200)] 
Merge pull request #294 from nullr0ute/arm-fixes

Add rpmsg, hwspinlock and usb/misc for ARM

7 years agoAdd rpmsg, hwspinlock and usb/misc for ARM 294/head
Peter Robinson [Thu, 12 Oct 2017 11:17:41 +0000 (12:17 +0100)] 
Add rpmsg, hwspinlock and usb/misc for ARM

Some of the more complex devices now need rpmsg and hwspinlock in the early boot
process to start, and these to the initrd, and pull in usb/misc because
apparently non standard usb hubs are a thing.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
7 years agoMerge pull request #223 from bmr-cymru/bmr-ignore-activation-skip
Harald Hoyer [Thu, 12 Oct 2017 09:23:38 +0000 (11:23 +0200)] 
Merge pull request #223 from bmr-cymru/bmr-ignore-activation-skip

lvm_scan.sh: use -K when calling lvchange

7 years agodracut.sh: quote sync file argument
Harald Hoyer [Wed, 11 Oct 2017 13:28:20 +0000 (15:28 +0200)] 
dracut.sh: quote sync file argument

7 years agoMerge pull request #293 from dracut-mailing-devs/1502088233-10139-1-git-send-email...
Harald Hoyer [Wed, 11 Oct 2017 13:10:26 +0000 (15:10 +0200)] 
Merge pull request #293 from dracut-mailing-devs/1502088233-10139-1-git-send-email-ankit@linux.vnet.ibm.com

Sync initramfs after creation

7 years agodracut-install: char* -> const char*
Harald Hoyer [Tue, 10 Oct 2017 11:39:17 +0000 (13:39 +0200)] 
dracut-install: char* -> const char*

7 years agoMerge pull request #284 from sm00th/kmoddir
Harald Hoyer [Tue, 10 Oct 2017 11:29:41 +0000 (13:29 +0200)] 
Merge pull request #284 from sm00th/kmoddir

dracut-install: fix relative paths in --kerneldir