Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:Update
dracut.10404
0591-91zipl-Don-t-use-contents-of-commented-lin...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0591-91zipl-Don-t-use-contents-of-commented-lines.patch of Package dracut.10404
From 38ccf7c8e5e19b1e7ef400ff0a77eb92531754c0 Mon Sep 17 00:00:00 2001 From: Thomas Abraham <tabraham@suse.com> Date: Wed, 19 Dec 2018 18:24:41 -0500 Subject: [PATCH] 91zipl: Don't use contents of commented lines Comment lines should be ignored. They should not be used for determining the /boot/zipl device --- modules.d/91zipl/module-setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: dracut-044/modules.d/91zipl/module-setup.sh =================================================================== --- dracut-044.orig/modules.d/91zipl/module-setup.sh +++ dracut-044/modules.d/91zipl/module-setup.sh @@ -19,7 +19,7 @@ depends() { installkernel() { local _boot_zipl - _boot_zipl=$(sed -n 's/\(.*\)\w*\/boot\/zipl.*/\1/p' /etc/fstab) + _boot_zipl=$(sed -n -e '/^[[:space:]]*#/d' -e 's/\(.*\)\w*\/boot\/zipl.*/\1/p' /etc/fstab) if [ -n "$_boot_zipl" ] ; then eval $(blkid -s TYPE -o udev ${_boot_zipl}) if [ -n "$ID_FS_TYPE" ] ; then @@ -37,7 +37,7 @@ installkernel() { cmdline() { local _boot_zipl - _boot_zipl=$(sed -n 's/\(.*\)\w*\/boot\/zipl.*/\1/p' /etc/fstab) + _boot_zipl=$(sed -n -e '/^[[:space:]]*#/d' -e 's/\(.*\)\w*\/boot\/zipl.*/\1/p' /etc/fstab) if [ -n "$_boot_zipl" ] ; then echo "rd.zipl=${_boot_zipl}" fi
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