Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.4:ARM
powerpc-utils.17788
Fix-ofpathname-Could-not-retrieve-logical-devic...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Fix-ofpathname-Could-not-retrieve-logical-device-nam.patch of Package powerpc-utils.17788
From 5a1e57363554fb609c27e18e9163956580f6632c Mon Sep 17 00:00:00 2001 From: Michal Suchanek <msuchanek@suse.de> Date: Wed, 27 May 2020 09:52:05 -0700 Subject: [PATCH] Fix ofpathname: Could not retrieve logical device name for Open Firmware path Upstream: pending - expected 1.3.8 Git-commit: 5a1e57363554fb609c27e18e9163956580f6632c With commit 73839d6bab4d ("powerpc-utils: Suppress errors reading kernel files") the return status of tr rather than ofpathname is tested. Fixes: 73839d6bab4d ("powerpc-utils: Suppress errors reading kernel files") Signed-off-by: Michal Suchanek <msuchanek@suse.de> Signed-off-by: Tyrel Datwyler <tyreld@linux.ibm.com> --- scripts/bootlist | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/bootlist b/scripts/bootlist index 1d1c210e69fc..adae778c712f 100755 --- a/scripts/bootlist +++ b/scripts/bootlist @@ -169,11 +169,11 @@ get_logical_device_name() local devname=$1 local logical_name - logical_name=`$OFPATHNAME -l $devname 2>/dev/null | tr -d '\000'` + logical_name=`$OFPATHNAME -l $devname 2>/dev/null` if [[ $? -ne 0 ]]; then echo "" else - echo $logical_name + echo $logical_name | tr -d '\000' fi } -- 2.26.2
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