- 98dracut-systemd: Start systemd-vconsole-setup before dracut-cmdline-ask (bsc#1055834) * adds 0582-98dracut-systemd-Start-systemd-vconsole-setup-before.patch - Fixed Patch 581 to apply cleanly * Updates 0581-kernel-modules-add-nfit.patch - Mark the DASD udev rules host-only and handle backslashes in paths for hostonly files (bsc#786559) * adds 0583-99base-Allow-files-with-backslashes-in-hostonly-file.patch * adds 0584-95dasd_rules-mark-dasd-rules-host_only.patch OBS-URL: https://build.opensuse.org/request/show/645720 OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=356
26 lines
1.0 KiB
Diff
26 lines
1.0 KiB
Diff
From 7117bf627028298970d8a6a5e153e1942f3430f3 Mon Sep 17 00:00:00 2001
|
|
From: Daniel Molkentin <dmolkentin@suse.com>
|
|
Date: Fri, 19 Oct 2018 14:30:36 +0200
|
|
Subject: [PATCH 1/2] 99base: Allow files with backslashes in hostonly files
|
|
|
|
Files with blackslashes are routinely by systemd.
|
|
|
|
Reference: bsc#1090884
|
|
---
|
|
modules.d/99base/dracut-lib.sh | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: dracut-044/modules.d/99base/dracut-lib.sh
|
|
===================================================================
|
|
--- dracut-044.orig/modules.d/99base/dracut-lib.sh
|
|
+++ dracut-044/modules.d/99base/dracut-lib.sh
|
|
@@ -1291,7 +1291,7 @@ show_memstats()
|
|
remove_hostonly_files() {
|
|
rm -fr /etc/cmdline /etc/cmdline.d/*.conf "$hookdir/initqueue/finished"
|
|
if [ -f /lib/dracut/hostonly-files ]; then
|
|
- while read line || [ -n "$line" ]; do
|
|
+ while read -r line || [ -n "$line" ]; do
|
|
[ -e "$line" ] || [ -h "$line" ] || continue
|
|
rm -f "$line"
|
|
done < /lib/dracut/hostonly-files
|