commit 78d333926d7e1d414a79345f74f3b3e409a8eb1c3957ba4e4db947dbb2fe2dc0 Author: Dominique Leuenberger Date: Mon Oct 7 11:49:58 2019 +0000 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..595ab96 --- /dev/null +++ b/_service @@ -0,0 +1,14 @@ + + + 1.0 + 1.0+git%cd.%h + git://github.com/thkukuk/microos-toolbox.git + git + enable + + + xz + *.tar + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..cb854e9 --- /dev/null +++ b/_servicedata @@ -0,0 +1,6 @@ + + + git://github.com/thkukuk/microos-toolbox.git + e038337d9db321df399d4a4ea03d1cf0cbec9635 + + \ No newline at end of file diff --git a/microos-toolbox-1.0+git20191007.e038337.tar.xz b/microos-toolbox-1.0+git20191007.e038337.tar.xz new file mode 100644 index 0000000..1545c7a --- /dev/null +++ b/microos-toolbox-1.0+git20191007.e038337.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8e37d9e79e2b5960a1b45442cbb6639a12837c8b3a8d6695038dc4e8851adc8f +size 6480 diff --git a/toolbox.changes b/toolbox.changes new file mode 100644 index 0000000..7168167 --- /dev/null +++ b/toolbox.changes @@ -0,0 +1,6 @@ +------------------------------------------------------------------- +Mon Oct 07 08:31:08 UTC 2019 - kukuk@suse.com + +- Update to version 1.0+git20191007.e038337: + * Initial version + diff --git a/toolbox.spec b/toolbox.spec new file mode 100644 index 0000000..45eeb49 --- /dev/null +++ b/toolbox.spec @@ -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