From 7944879ceb61f97f826f5750ad0d736c80799385 Mon Sep 17 00:00:00 2001 From: jreidinger <> Date: Aug 06 2022 20:16:10 +0000 Subject: Update yast-in-container to version 4.5.10 / rev 1 via SR 993331 https://build.opensuse.org/request/show/993331 by user jreidinger + dimstar_suse Add new package to run yast in containers bugowner: yast-maintainers@suse.de --- diff --git a/.files b/.files new file mode 100644 index 0000000..45f2a10 Binary files /dev/null and b/.files differ diff --git a/.meta b/.meta new file mode 100644 index 0000000..6334bf2 --- /dev/null +++ b/.meta @@ -0,0 +1,5 @@ + + Scripts for running YaST in a container + + + diff --git a/.rev b/.rev new file mode 100644 index 0000000..71995b3 --- /dev/null +++ b/.rev @@ -0,0 +1,12 @@ + + + d0f9f578f809deed01d8c8898cc2fb1e + 4.5.10 + + dimstar_suse + Add new package to run yast in containers + +bugowner: yast-maintainers@suse.de + 993331 + + diff --git a/yast-in-container-4.5.10.tar.bz2 b/yast-in-container-4.5.10.tar.bz2 new file mode 120000 index 0000000..a476445 --- /dev/null +++ b/yast-in-container-4.5.10.tar.bz2 @@ -0,0 +1 @@ +/ipfs/bafkreigfptmws7wywvfpvfa7ijpeunymhamvjhnkl2wd7wupsl5sp4husa \ No newline at end of file diff --git a/yast-in-container.changes b/yast-in-container.changes new file mode 100644 index 0000000..c64fbff --- /dev/null +++ b/yast-in-container.changes @@ -0,0 +1,72 @@ +------------------------------------------------------------------- +Fri Aug 5 04:54:23 UTC 2022 - Josef Reidinger + +- Add more explicit warning till more official and stable place + for containers are created +- 4.5.10 + +------------------------------------------------------------------- +Wed Aug 3 13:29:49 UTC 2022 - Josef Reidinger + +- add support for opensuse tumbleweed and ALP +- 4.5.9 + +------------------------------------------------------------------- +Mon Jul 25 15:31:45 UTC 2022 - Ancor Gonzalez Sosa + +- Set `LIBSTORAGE_ROOTPREFIX` to improve libstorage-ng probing + (bsc#1199840). +- 4.5.8 + +------------------------------------------------------------------- +Wed Jul 20 10:02:16 UTC 2022 - Ladislav Slezák + +- Set `LIBSTORAGE_LOCKFILE_ROOT` to the target root system +- 4.5.7 + +------------------------------------------------------------------- +Tue Jul 19 10:07:48 UTC 2022 - Ladislav Slezák + +- Enable mount propagation between the container and the host +- 4.5.6 + +------------------------------------------------------------------- +Fri Jun 17 13:51:27 UTC 2022 - Ladislav Slezák + +- Use the SLE BCI based container images +- 4.5.5 + +------------------------------------------------------------------- +Thu Jun 9 13:06:24 UTC 2022 - Ladislav Slezák + +- Properly package symlinks +- 4.5.4 + +------------------------------------------------------------------- +Wed Jun 8 14:56:33 UTC 2022 - Ladislav Slezák + +- Added visual feedback when downloading the container image + in background +- Updated documentation +- 4.5.3 + +------------------------------------------------------------------- +Tue Jun 7 08:30:54 UTC 2022 - Ladislav Slezák + +- Added "yast2_web_container" script which runs YaST inside + a container with web (HTTPS) access +- Added *.desktop file to start containerized YaST from desktop +- 4.5.2 + +------------------------------------------------------------------- +Mon May 30 16:50:16 UTC 2022 - Ladislav Slezák + +- Print the executed podman/docker command for easier + testing or debugging +- 4.5.1 + +------------------------------------------------------------------- +Fri May 27 08:39:16 UTC 2022 - Ladislav Slezák + +- Initial version (bsc#1199840) +- 4.5.0 diff --git a/yast-in-container.spec b/yast-in-container.spec new file mode 100644 index 0000000..65d10de --- /dev/null +++ b/yast-in-container.spec @@ -0,0 +1,96 @@ +# +# spec file for package yast-in-container +# +# Copyright (c) 2022 SUSE LLC +# +# 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: yast-in-container +Version: 4.5.10 +Release: 0 +Summary: Experimental package for running YaST in a container +License: GPL-2.0-only +Group: System/YaST +URL: https://github.com/yast/yast-in-container +# the container images are only built for x86_64 +ExclusiveArch: x86_64 +Source0: %{name}-%{version}.tar.bz2 + +# recommend Podman for running the containers, optionally Docker might be used +Recommends: podman + +%description +This package contains scripts which can run YaST in a container for managing +the host system. + +* WARNING: This an experimental package, do not use in a production system! +* There is a high risk of breaking the system or data loss! + +%prep + +%setup -q + +%build + +%install + +# install main scripts +mkdir -p %{buildroot}/%{_sbindir} +install -m 755 src/scripts/yast2_container %{buildroot}/%{_sbindir} +ln -s yast2_container %{buildroot}/%{_sbindir}/yast_container +ln -s yast2_container %{buildroot}/%{_sbindir}/yast2_web_container + +# install desktop file +mkdir -p %{buildroot}/%{_datadir}/applications +install -m 644 desktop/org.opensuse.YaST-in-container.desktop %{buildroot}/%{_datadir}/applications + +# install icons +mkdir -p %{buildroot}/%{_datadir}/icons/hicolor/scalable/apps +install -m 644 src/icons/hicolor/scalable/apps/* %{buildroot}/%{_datadir}/icons/hicolor/scalable/apps + +# install license and documentation +mkdir -p %{buildroot}/%{_docdir}/%{name} +install -m 644 COPYING %{buildroot}/%{_docdir}/%{name} +install -m 644 README.md %{buildroot}/%{_docdir}/%{name} + +# /sbin compatibility symlinks +%if !0%{?usrmerged} +mkdir -p %{buildroot}/sbin +ln -s ../%{_sbindir}/yast_container %{buildroot}/sbin +ln -s ../%{_sbindir}/yast2_container %{buildroot}/sbin +ln -s ../%{_sbindir}/yast2_web_container %{buildroot}/sbin +%endif + +%files + +# the main scripts +%{_sbindir}/yast*_container + +# /sbin compatibility symlinks +%if !0%{?usrmerged} +/sbin/yast*_container +%endif + +# desktop file +%{_datadir}/applications/*.desktop + +# icons +%{_datadir}/icons/hicolor + +# license and documentation +%doc %dir %{_docdir}/%{name} +%license %{_docdir}/%{name}/COPYING +%doc %{_docdir}/%{name}/README.md + +%changelog