forked from pool/containment-tik-img-to-rpm
OBS-URL: https://build.opensuse.org/package/show/devel:microos:aeon/containment-tik-img-to-rpm?expand=0&rev=2
This commit is contained in:
commit
91533f2b5f
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
14
containment-tik-img-to-rpm
Normal file
14
containment-tik-img-to-rpm
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/sh -eu
|
||||||
|
pkg_dir="/usr/src/packages/"
|
||||||
|
|
||||||
|
log() {
|
||||||
|
echo "[tik-img-to-rpm] $@"
|
||||||
|
}
|
||||||
|
|
||||||
|
log "Creating RPM from any tik-osimage-*.raw.xz images produced"
|
||||||
|
|
||||||
|
log "Check for tik-osimage-*.raw.xz in KIWI output directory"
|
||||||
|
if ! ls ${pkg_dir}/KIWI/tik-osimage-*.raw.xz; then
|
||||||
|
log "No tik-osimage found" && exit 0
|
||||||
|
fi
|
||||||
|
|
4
containment-tik-img-to-rpm.changes
Normal file
4
containment-tik-img-to-rpm.changes
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 10 10:20:40 UTC 2024 - Richard Brown <rbrown@suse.com>
|
||||||
|
|
||||||
|
- Initial package
|
48
containment-tik-img-to-rpm.spec
Normal file
48
containment-tik-img-to-rpm.spec
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
#
|
||||||
|
# spec file for package containment-tik-img-to-rpm
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
# norootforbuild
|
||||||
|
|
||||||
|
Name: containment-tik-img-to-rpm
|
||||||
|
Version: 1.0
|
||||||
|
Release: 0
|
||||||
|
Summary: OBS Post check for containing tik-osimage-* images in RPM
|
||||||
|
License: MIT
|
||||||
|
Source: containment-tik-img-to-rpm
|
||||||
|
BuildRequires: filesystem
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
|
||||||
|
%description
|
||||||
|
OBS Post check for containing tik-osimage-* images in RPM
|
||||||
|
|
||||||
|
%prep
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p %{buildroot}/usr/lib/build/post-build-checks/
|
||||||
|
install -m 755 %{SOURCE0} %{buildroot}/usr/lib/build/post-build-checks/
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_prefix}/lib/build/post-build-checks
|
||||||
|
%{_prefix}/lib/build/post-build-checks/containment-tik-img-to-rpm
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
|
Loading…
Reference in New Issue
Block a user