forked from pool/afterburn
Accepting request 928643 from home:firstyear:branches:devel:kubic:ignition
- Add cargo_audit service - Resolve incomplete use of services for getting source tars. - Update to version 5.0.0: * cargo: Afterburn release 5.0.0 * providers: add Azure Stack Hub (azurestack) * providers: move azure into microsoft module * build(deps): bump anyhow from 1.0.39 to 1.0.40 * ci: adapt to new buildroot image * build(deps): bump serde from 1.0.124 to 1.0.125 * build(deps): bump anyhow from 1.0.38 to 1.0.39 * cargo: accept mockito 0.29 * build(deps): bump mockito from 0.29.0 to 0.30.0 * cli: stop wrapping command-line parse errors * Switch from error-chain to anyhow OBS-URL: https://build.opensuse.org/request/show/928643 OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/afterburn?expand=0&rev=13
This commit is contained in:
parent
9d33e97cde
commit
917c7c8ec9
3
_service
3
_service
@ -19,4 +19,7 @@
|
||||
<param name="srcdir">afterburn</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service name="cargo_audit" mode="disabled">
|
||||
<param name="srcdir">afterburn</param>
|
||||
</service>
|
||||
</services>
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ce3f6f7d19660741aa6ee561078a03ea7f204c7aff41dcfd4544065d1d07d06a
|
||||
size 18509916
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c2f0292775a49725e4969e0879d26ad230f802d751489d1828ecf350fc70721d
|
||||
size 87682
|
3
afterburn-5.0.0.tar.xz
Normal file
3
afterburn-5.0.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8baa430b671af8ca39cfad18285f0825b1f158fedd1bec97510303b5a2206186
|
||||
size 68744
|
@ -1,3 +1,25 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 2 03:43:28 UTC 2021 - William Brown <william.brown@suse.com>
|
||||
|
||||
- Add cargo_audit service
|
||||
- Resolve incomplete use of services for getting source tars.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 02 03:25:04 UTC 2021 - slunkad@suse.de
|
||||
|
||||
- Update to version 5.0.0:
|
||||
* cargo: Afterburn release 5.0.0
|
||||
* providers: add Azure Stack Hub (azurestack)
|
||||
* providers: move azure into microsoft module
|
||||
* build(deps): bump anyhow from 1.0.39 to 1.0.40
|
||||
* ci: adapt to new buildroot image
|
||||
* build(deps): bump serde from 1.0.124 to 1.0.125
|
||||
* build(deps): bump anyhow from 1.0.38 to 1.0.39
|
||||
* cargo: accept mockito 0.29
|
||||
* build(deps): bump mockito from 0.29.0 to 0.30.0
|
||||
* cli: stop wrapping command-line parse errors
|
||||
* Switch from error-chain to anyhow
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 13 18:39:31 UTC 2021 - Robert Schweikert <rjschwei@suse.com>
|
||||
|
||||
|
@ -26,8 +26,8 @@ Release: 0
|
||||
Summary: A cloud provider agent
|
||||
License: Apache-2.0
|
||||
URL: https://coreos.github.io/afterburn/
|
||||
Source0: https://github.com/coreos/afterburn/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source1: https://github.com/coreos/afterburn/releases/download/v%{version}/afterburn-%{version}-vendor.tar.gz
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
Source1: vendor.tar.xz
|
||||
Source2: cargo_config
|
||||
Patch1: fix-authorized-keys-location.patch
|
||||
Patch2: set-default-user.patch
|
||||
@ -73,28 +73,28 @@ install -D -d -m 0755 %{buildroot}%{_unitdir}
|
||||
install -D -d -m 0755 %{buildroot}%{_sysconfdir}/cmdline.d
|
||||
|
||||
install -m 0755 %{_builddir}/%{name}-%{version}/target/release/%{name} %{buildroot}%{_bindir}/%{name}
|
||||
install -m 0644 %{_builddir}/%{name}-%{version}/systemd/%{name}.service %{buildroot}%{_unitdir}/%{name}.service
|
||||
install -m 0644 %{_builddir}/%{name}-%{version}/systemd/%{name}-checkin.service %{buildroot}%{_unitdir}/%{name}-checkin.service
|
||||
install -m 0644 %{_builddir}/%{name}-%{version}/systemd/%{name}.service %{buildroot}%{_unitdir}/%{name}.service
|
||||
install -m 0644 %{_builddir}/%{name}-%{version}/systemd/%{name}-checkin.service %{buildroot}%{_unitdir}/%{name}-checkin.service
|
||||
install -m 0644 %{_builddir}/%{name}-%{version}/systemd/%{name}-firstboot-checkin.service %{buildroot}%{_unitdir}/%{name}-firstboot-checkin.service
|
||||
install -m 0644 %{_builddir}/%{name}-%{version}/systemd/%{name}-sshkeys.target %{buildroot}%{_unitdir}/%{name}-sshkeys.target
|
||||
sed -e 's,@DEFAULT_INSTANCE@,'suse',' < systemd/%{name}-sshkeys@.service.in > systemd/%{name}-sshkeys@.service.tmp
|
||||
mv systemd/%{name}-sshkeys@.service.tmp systemd/%{name}-sshkeys@.service
|
||||
install -m 0644 %{_builddir}/%{name}-%{version}/systemd/%{name}-sshkeys@.service %{buildroot}%{_unitdir}/%{name}-sshkeys@.service
|
||||
install -m 0644 %{_builddir}/%{name}-%{version}/systemd/%{name}-sshkeys@.service %{buildroot}%{_unitdir}/%{name}-sshkeys@.service
|
||||
mkdir -p %{buildroot}%{dracutmodulesdir}
|
||||
cp -a dracut/* %{buildroot}%{dracutmodulesdir}
|
||||
rm %{buildroot}%{dracutmodulesdir}/30afterburn/afterburn-network-kargs.service
|
||||
|
||||
%pre
|
||||
%service_add_pre %{name}.service %{name}-checkin.service %{name}-firstboot-checkin.service %{name}-sshkeys@.service
|
||||
%service_add_pre %{name}.service %{name}-checkin.service %{name}-firstboot-checkin.service %{name}-sshkeys@.service
|
||||
|
||||
%post
|
||||
%service_add_post %{name}.service %{name}-checkin.service %{name}-firstboot-checkin.service %{name}-sshkeys@.service
|
||||
%service_add_post %{name}.service %{name}-checkin.service %{name}-firstboot-checkin.service %{name}-sshkeys@.service
|
||||
|
||||
%preun
|
||||
%service_del_preun %{name}.service %{name}-checkin.service %{name}-firstboot-checkin.service %{name}-sshkeys@.service
|
||||
%service_del_preun %{name}.service %{name}-checkin.service %{name}-firstboot-checkin.service %{name}-sshkeys@.service
|
||||
|
||||
%postun
|
||||
%service_del_postun %{name}.service %{name}-checkin.service %{name}-firstboot-checkin.service %{name}-sshkeys@.service
|
||||
%service_del_postun %{name}.service %{name}-checkin.service %{name}-firstboot-checkin.service %{name}-sshkeys@.service
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
|
3
vendor.tar.xz
Normal file
3
vendor.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1a5c0e3ce7f3e3c608a1d35a20e1ee17894a4d6e8d8f4004451ccfca7c7728c1
|
||||
size 10577380
|
Loading…
Reference in New Issue
Block a user