Accepting request 865034 from devel:kubic

OBS-URL: https://build.opensuse.org/request/show/865034
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/toolbox?expand=0&rev=8
This commit is contained in:
Dominique Leuenberger 2021-01-22 20:49:50 +00:00 committed by Git OBS Bridge
parent caea165d6b
commit 191846dcbd
6 changed files with 29 additions and 6 deletions

View File

@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">git://github.com/thkukuk/microos-toolbox.git</param>
<param name="changesrevision">3d26283d2baa62d1351c3dbe356caf8590d202f0</param>
<param name="changesrevision">b5acdcfad5dd3f09536bd312790015f61c27f40a</param>
</service>
</servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8ea54231e7d45f9ab274a660049297ec47ea367611a794f7a7d2f92a7628f22e
size 8924

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1a359fb69a229a8e768eee2bfa5e9c084112ccb433421100d8fe453a2024b979
size 8948

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Jan 20 09:57:44 UTC 2021 - Thorsten Kukuk <kukuk@suse.com>
- Add a group tag for SLE Micro
- Mark toolboxrc as %config and add it is Source
-------------------------------------------------------------------
Tue Jan 19 13:12:13 UTC 2021 - bruno.leon@suse.com
- Update to version 1.0+git20210119.b5acdcf:
* Dynamically set REGISTRY and IMAGE (#11)
-------------------------------------------------------------------
Thu Nov 26 10:48:21 UTC 2020 - kukuk@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package toolbox
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,12 +17,14 @@
Name: toolbox
Version: 1.0+git20201126.3d26283
Version: 1.0+git20210119.b5acdcf
Release: 0
Summary: Script to start a toolbox container for system debugging
License: Apache-2.0
Group: System/Management
URL: https://github.com/thkukuk/microos-toolbox
Source: microos-toolbox-%{version}.tar.xz
Source1: toolboxrc
Requires: podman
BuildArch: noarch
@ -42,10 +44,17 @@ such a system. The root filesystem can be found at /media/root.
%install
mkdir -p %{buildroot}%{_bindir}
install -m 755 toolbox %{buildroot}%{_bindir}/toolbox
%if !0%{?is_opensuse}
mkdir -p %{buildroot}%{_sysconfdir}
install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/toolboxrc
%endif
%files
%license LICENSE
%doc README.md
%{_bindir}/toolbox
%if !0%{?is_opensuse}
%config %{_sysconfdir}/toolboxrc
%endif
%changelog

2
toolboxrc Normal file
View File

@ -0,0 +1,2 @@
REGISTRY=registry.suse.com
IMAGE=suse/toolbox