Accepting request 735640 from devel:kubic

Script to start a toolbox container on a Container Host OS

OBS-URL: https://build.opensuse.org/request/show/735640
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/toolbox?expand=0&rev=1
This commit is contained in:
Dominique Leuenberger 2019-10-07 11:49:58 +00:00 committed by Git OBS Bridge
commit 78d333926d
7 changed files with 104 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

14
_service Normal file
View File

@ -0,0 +1,14 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="version">1.0</param>
<param name="versionformat">1.0+git%cd.%h</param>
<param name="url">git://github.com/thkukuk/microos-toolbox.git</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
</service>
<service name="recompress" mode="disabled">
<param name="compression">xz</param>
<param name="file">*.tar</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

6
_servicedata Normal file
View File

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

View File

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

6
toolbox.changes Normal file
View File

@ -0,0 +1,6 @@
-------------------------------------------------------------------
Mon Oct 07 08:31:08 UTC 2019 - kukuk@suse.com
- Update to version 1.0+git20191007.e038337:
* Initial version

51
toolbox.spec Normal file
View File

@ -0,0 +1,51 @@
#
# spec file for package toolbox
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: toolbox
Version: 1.0+git20191007.e038337
Release: 0
Summary: Script to start a toolbox container for system debugging
License: Apache-2.0
URL: https://github.com/thkukuk/microos-toolbox
Source: microos-toolbox-%{version}.tar.xz
Requires: podman
BuildArch: noarch
%description
On systems using transactional-update it is not really possible due to
the read-only root filesystem to install tools to analyze problems in the
currently running system, a reboot is always required. Which makes it next
to impossible to debug such problems. toolbox is a small script that launches
a container to let you bring in your favorite debugging or admin tools in
such a system. The root filesystem can be found at /media/root.
%prep
%setup -q -n microos-toolbox-%{version}
%build
%install
mkdir -p %{buildroot}%{_bindir}
install -m 755 toolbox %{buildroot}%{_bindir}/toolbox
%files
%license LICENSE
%doc README.md
%{_bindir}/toolbox
%changelog