Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:FrontRunner
dracut.15766
0583-99base-Allow-files-with-backslashes-in-hos...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0583-99base-Allow-files-with-backslashes-in-hostonly-file.patch of Package dracut.15766
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
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor