Compare commits
No commits in common. "factory" and "factory" have entirely different histories.
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
@ -39,8 +39,8 @@ for f in ${img_dir}/*.raw.xz; do
|
|||||||
-e "s@__OS_NAME__@${os_name}@g" \
|
-e "s@__OS_NAME__@${os_name}@g" \
|
||||||
< ${spec_in} \
|
< ${spec_in} \
|
||||||
> ${build_dir}/image.spec
|
> ${build_dir}/image.spec
|
||||||
|
|
||||||
cp /.build-srcdir/*.changes ${build_dir}/image.changes
|
cp /.build-changelog ${build_dir}/image.changes
|
||||||
${build_dir}/changelog2spec --target rpm --file ${build_dir}/image.changes >> ${build_dir}/image.spec
|
${build_dir}/changelog2spec --target rpm --file ${build_dir}/image.changes >> ${build_dir}/image.spec
|
||||||
|
|
||||||
# Local builds have the file already in place, that's not true on IBS
|
# Local builds have the file already in place, that's not true on IBS
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
||||||
|
|
||||||
|
- Adjust for new obs-build changelog location
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 14 09:49:57 UTC 2024 - Richard Brown <rbrown@suse.com>
|
Tue May 14 09:49:57 UTC 2024 - Richard Brown <rbrown@suse.com>
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user