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"
|
||||
|
||||
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
|
||||
json_f=${img_dir}/${base_f}.cdx.json
|
||||
log "[${base_f}] Parsing ${json_f} to populate variables for RPM .spec"
|
||||
|
@ -28,6 +28,8 @@ BuildRequires: filesystem
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires: jq
|
||||
Requires: gawk
|
||||
Requires: coreutils
|
||||
|
||||
|
||||
%description
|
||||
|
Loading…
x
Reference in New Issue
Block a user