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=7
This commit is contained in:
parent
33a71e2ddf
commit
01b8e2d466
@ -22,7 +22,7 @@ fi
|
|||||||
log "tik-osimage-* found: Creating RPM from any tik-osimage-*.raw.xz images"
|
log "tik-osimage-* found: Creating RPM from any tik-osimage-*.raw.xz images"
|
||||||
|
|
||||||
for f in ${img_dir}/*.raw.xz; do
|
for f in ${img_dir}/*.raw.xz; do
|
||||||
base_f=basename ${f} .raw.xz
|
base_f=$(echo ${f} | awk -F '.raw.xz' '{print $1}' | awk -F "${img_dir}/" '{print $2}')
|
||||||
image=${base_f}.raw.xz
|
image=${base_f}.raw.xz
|
||||||
json_f=${img_dir}/${base_f}.cdx.json
|
json_f=${img_dir}/${base_f}.cdx.json
|
||||||
log "[${base_f}] Parsing ${json_f} to populate variables for RPM .spec"
|
log "[${base_f}] Parsing ${json_f} to populate variables for RPM .spec"
|
||||||
|
@ -27,7 +27,9 @@ Source1: image.spec.in
|
|||||||
BuildRequires: filesystem
|
BuildRequires: filesystem
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Requires: jq
|
Requires: jq
|
||||||
|
Requires: gawk
|
||||||
|
Requires: coreutils
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
Loading…
x
Reference in New Issue
Block a user