forked from pool/containment-tik-img-to-rpm
This commit is contained in:
parent
667659b960
commit
821c35af20
@ -14,25 +14,6 @@ log() {
|
|||||||
echo "[tik-img-to-rpm] $@"
|
echo "[tik-img-to-rpm] $@"
|
||||||
}
|
}
|
||||||
|
|
||||||
log "DEBUG: ls /usr/src/packages"
|
|
||||||
ls /usr/src/packages
|
|
||||||
|
|
||||||
log "DEBUG: ls /usr/src/packages/KIWI"
|
|
||||||
ls /usr/src/packages/KIWI
|
|
||||||
|
|
||||||
log "DEBUG: ls /usr/src/packages/SOURCES"
|
|
||||||
ls /usr/src/packages/SOURCES
|
|
||||||
|
|
||||||
log "DEBUG: ls /usr/src"
|
|
||||||
ls /usr/src
|
|
||||||
|
|
||||||
log "DEBUG: ls /usr/lib/build"
|
|
||||||
ls /usr/lib/build
|
|
||||||
|
|
||||||
log "DEBUG: ls /.build-srcdir"
|
|
||||||
ls /.build-srcdir
|
|
||||||
|
|
||||||
|
|
||||||
log "Check for tik-osimage-*.raw.xz in KIWI output directory"
|
log "Check for tik-osimage-*.raw.xz in KIWI output directory"
|
||||||
if ! ls ${img_dir}/tik-osimage-*.raw.xz; then
|
if ! ls ${img_dir}/tik-osimage-*.raw.xz; then
|
||||||
log "No tik-osimage found" && exit 0
|
log "No tik-osimage found" && exit 0
|
||||||
@ -58,8 +39,11 @@ 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
|
||||||
|
|
||||||
|
log "DEBUG: cat /.build-srcdir/*.changes"
|
||||||
|
cat /.build-srcdir/*.changes
|
||||||
|
|
||||||
touch ${build_dir}/image.changes
|
cp /.build-srcdir/*.changes ${build_dir}/image.changes
|
||||||
|
|
||||||
# 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
|
||||||
if [ ! -f ${top_dir}/SOURCES/${image} ]; then
|
if [ ! -f ${top_dir}/SOURCES/${image} ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user