Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package afterburn for openSUSE:Factory checked in at 2021-06-11 22:30:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/afterburn (Old) and /work/SRC/openSUSE:Factory/.afterburn.new.32437 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "afterburn" Fri Jun 11 22:30:38 2021 rev:3 rq:899507 version:5.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/afterburn/afterburn.changes 2021-05-21 21:50:12.094187362 +0200 +++ /work/SRC/openSUSE:Factory/.afterburn.new.32437/afterburn.changes 2021-06-11 22:31:09.866181194 +0200 @@ -1,0 +2,5 @@ +Fri Jun 11 14:02:00 UTC 2021 - Sayali Lunkad <[email protected]> + +- Add dracut modules for afterburn + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ afterburn.spec ++++++ --- /var/tmp/diff_new_pack.79MKjM/_old 2021-06-11 22:31:10.442182193 +0200 +++ /var/tmp/diff_new_pack.79MKjM/_new 2021-06-11 22:31:10.446182200 +0200 @@ -1,3 +1,4 @@ +# # spec file for package afterburn # # Copyright (c) 2021 SUSE LLC @@ -14,7 +15,11 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %global rustflags -Clink-arg=-Wl,-z,relro,-z,now + +%global dracutmodulesdir %(pkg-config --variable=dracutmodulesdir dracut || echo '/usr/lib/dracut/modules.d') + Name: afterburn Version: 5.0.0 Release: 0 @@ -28,12 +33,22 @@ ExcludeArch: %ix86 s390x ppc64le armhfp armv7hl BuildRequires: cargo -BuildRequires: pkgconfig(openssl) BuildRequires: rust >= 1.44.0 +BuildRequires: pkgconfig(openssl) %description Afterburn is a one-shot agent for cloud-like platforms which interacts with provider-specific metadata endpoints. +%package dracut +Summary: Dracut modules for afterburn +BuildRequires: pkgconfig(dracut) +Requires: %{name}%{?_isa} = %{?epoch:}%{version}-%{release} +Requires: dracut + +%description dracut +Dracut module that enables afterburn and corresponding services +to run in the initramfs on boot. + %prep %autosetup -p1 -a1 mkdir .cargo @@ -56,6 +71,8 @@ sed -e 's,@DEFAULT_INSTANCE@,'core',' < systemd/%{name}[email protected] > systemd/%{name}[email protected] mv systemd/%{name}[email protected] systemd/%{name}[email protected] install -m 0644 %{_builddir}/%{name}-%{version}/systemd/%{name}[email protected] %{buildroot}%{_unitdir}/%{name}[email protected] +mkdir -p %{buildroot}%{dracutmodulesdir} +cp -a dracut/* %{buildroot}%{dracutmodulesdir} %pre %service_add_pre %{name}.service %{name}-checkin.service %{name}-firstboot-checkin.service %{name}[email protected] @@ -78,4 +95,7 @@ %{_unitdir}/afterburn-firstboot-checkin.service %{_unitdir}/[email protected] +%files dracut +%{dracutmodulesdir}/30afterburn/ + %changelog
