Sync from SUSE:SLFO:Main agama-auto revision 253034d7f097675b5d6d12a11eb9bb83

This commit is contained in:
Adrian Schröter 2024-10-01 08:27:52 +02:00
commit f90f3d09c1
6 changed files with 152 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

21
_service Normal file
View File

@ -0,0 +1,21 @@
<services>
<service name="obs_scm" mode="manual">
<param name="url">https://github.com/openSUSE/agama.git</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="scm">git</param>
<param name="revision">master</param>
<param name="subdir">autoinstallation</param>
<param name="without-version">enable</param>
<param name="extract">package/agama-auto.changes</param>
<param name="extract">package/agama-auto.spec</param>
</service>
<service mode="buildtime" name="tar">
<param name="obsinfo">agama.obsinfo</param>
<param name="filename">agama</param>
</service>
<service mode="buildtime" name="set_version">
<param name="basename">agama</param>
</service>
</services>

41
agama-auto.changes Normal file
View File

@ -0,0 +1,41 @@
-------------------------------------------------------------------
Fri Sep 20 11:27:29 UTC 2024 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>
- Change the license to GPL-2.0-or-later (gh#openSUSE/agama#1621).
-------------------------------------------------------------------
Thu Aug 15 08:35:31 UTC 2024 - Josef Reidinger <jreidinger@suse.com>
- change agama-auto systemd service depedencies to reflect changes
in agama CLI communication and ensure that it runs when
agama-auto runs
(gh#openSUSE/agama#1539)
-------------------------------------------------------------------
Wed Jul 3 15:24:48 UTC 2024 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>
- Bring back the service scriptlets but using the right service
name (gh#openSUSE/agama#1433).
-------------------------------------------------------------------
Wed Jul 3 08:04:57 UTC 2024 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>
- Add the %changelog section to the spec file
(gh#openSUSE/agama#1431).
-------------------------------------------------------------------
Wed Jul 3 07:14:39 UTC 2024 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>
- Remove scriptlets section from the spec file
(gh#openSUSE/agama#1430).
-------------------------------------------------------------------
Thu Jun 27 13:58:17 UTC 2024 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>
- Version 9
-------------------------------------------------------------------
Fri May 24 08:15:21 UTC 2024 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>
- Initial package containing the agama-auto systemd service
(gh#openSUSE/agama#1252).

60
agama-auto.spec Normal file
View File

@ -0,0 +1,60 @@
#
# spec file for package agama-auto
#
# Copyright (c) 2024 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: agama-auto
# This will be set by osc services, that will run after this.
Version: 0
Release: 0
Summary: Agama auto-installation service
License: GPL-2.0-or-later
URL: https://github.com/opensuse/agama
Source0: agama.tar
BuildArch: noarch
Requires: agama-cli
%description
Agama is a service-based Linux installer. This package contains the
auto-installation service.
%prep
%autosetup -a0 -n agama
%install
install -D -d -m 0755 %{buildroot}%{_bindir}
install -m 0755 %{_builddir}/agama/bin/agama-auto %{buildroot}%{_bindir}/agama-auto
install -D -m 0644 %{_builddir}/agama/systemd/agama-auto.service %{buildroot}%{_unitdir}/agama-auto.service
%pre
%service_add_pre agama-auto.service
%post
%service_add_post agama-auto.service
%preun
%service_del_preun agama-auto.service
%postun
%service_del_preun agama-auto.service
%files
%doc README.md
%license LICENSE
%{_bindir}/agama-auto
%{_unitdir}/agama-auto.service
%changelog

BIN
agama.obscpio (Stored with Git LFS) Normal file

Binary file not shown.

4
agama.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: agama
version: 10+0
mtime: 1727035068
commit: 861bdbc9fd6e6f5ef9445be8a88d7042e20b3c3c