Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Factory:Rebuild
opa-fm
opa-fm-Fallback-to-custom-vendor-if-os_vendor-f...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File opa-fm-Fallback-to-custom-vendor-if-os_vendor-fails.patch of Package opa-fm
commit 59fad9979cb0a07959f1eb2b5302c5c1748481c0 Author: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com> Date: Fri Sep 30 15:34:28 2022 +0200 opa-fm Fallback to custom vendor if os_vendor fails Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com> diff --git MakeTools/funcs-ext.sh MakeTools/funcs-ext.sh index 16683d80bfa9..5cdd9021bc2d 100755 --- MakeTools/funcs-ext.sh +++ MakeTools/funcs-ext.sh @@ -716,6 +716,9 @@ function os_vendor() rhel) rval=redhat ;; + opensuse-*) + rval=SuSE + ;; sles) rval=SuSE ;; @@ -745,6 +748,9 @@ function os_vendor() if [ ${#filelist[@]} -eq 0 ] && [ -f /etc/lsb-release ]; then rval=$(cat /etc/lsb-release | egrep DISTRIB_ID | cut -d'=' -f2 | tr '[:upper:]' '[:lower:]') fi + if [ "$rval" == "" ]; then + rval="custom" + fi for file in $filelist do if [ -f $file ]
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