1
0

Accepting request 1189393 from devel:microos:aeon

- Package uncompressed images, to be used with systemd-repart

OBS-URL: https://build.opensuse.org/request/show/1189393
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/containment-tik-img-to-rpm?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2024-07-25 13:39:15 +00:00 committed by Git OBS Bridge
commit 82057d84c9
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jul 2 14:02:02 UTC 2024 - Richard Brown <rbrown@suse.com>
- Package uncompressed images, to be used with systemd-repart
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jun 20 15:13:08 UTC 2024 - Richard Brown <rbrown@suse.com> Thu Jun 20 15:13:08 UTC 2024 - Richard Brown <rbrown@suse.com>

View File

@ -15,18 +15,19 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
This package contains the __OS_NAME__ image for tik. This package contains the __OS_NAME__ image for tik.
%prep %prep
xz -k -d %{SOURCE0}
%build %build
%install %install
install -d -m 644 $RPM_BUILD_ROOT%{_prefix}/lib/tik/img install -d -m 644 $RPM_BUILD_ROOT%{_prefix}/lib/tik/img
install -p -D -m 644 %{SOURCE0} $RPM_BUILD_ROOT%{_prefix}/lib/tik/img/%{name}.%{version}.raw.xz install -p -D -m 644 %{_sourcedir}/%(basename %{SOURCE0} .xz) $RPM_BUILD_ROOT%{_prefix}/lib/tik/img/%{name}.%{version}.raw
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-, root, root) %defattr(-, root, root)
%{_prefix}/lib/tik/img/%{name}.%{version}.raw.xz %{_prefix}/lib/tik/img/%{name}.%{version}.raw
%changelog %changelog