Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jfkw:go-cgo-pie-boo1221095
containerized-data-importer
cdi_containers_meta
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cdi_containers_meta of Package containerized-data-importer
#!/bin/bash -xe TAGPREFIX=_TAGPREFIX_ LABELPREFIX=_LABELPREFIX_ REGISTRY=_REGISTRY_ PKG_VERSION=_PKG_VERSION_ PKG_RELEASE=_PKG_RELEASE_ DISTRO=_DISTRO_ # Set HOME=/root as a workaround for # https://github.com/openSUSE/obs-build/issues/901 _distro=$(HOME=/root rpm --eval '%{?sle_version}:%{?is_opensuse}%{!?is_opensuse:0}') [ "${DISTRO}" == "${_distro}" ] || exit 1 if [ -n "${pkg}" ]; then if rpm -q ${pkg}; then PKG_VERSION=$(rpm -q --queryformat=%{version} ${pkg}) PKG_RELEASE=$(rpm -q --queryformat=%{release} ${pkg}) else _pkg=$(find ./repos -name "${pkg}*.rpm") PKG_VERSION=$(rpm -qp --queryformat=%{version} ${_pkg}) PKG_RELEASE=$(rpm -qp --queryformat=%{release} ${_pkg}) fi fi case "${DISTRO}" in *:0) SUPPORT_LEVEL=l3 if [[ "$(uname -m)" != x86_64 ]]; then SUPPORT_LEVEL=techpreview fi ;; *:1) SUPPORT_LEVEL=unsupported ;; esac
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