Richard Brown 2024-05-14 09:34:22 +00:00 committed by Git OBS Bridge
parent bce5522d79
commit 2b680543f4

View File

@ -14,25 +14,6 @@ log() {
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"
if ! ls ${img_dir}/tik-osimage-*.raw.xz; then
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" \
< ${spec_in} \
> ${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
if [ ! -f ${top_dir}/SOURCES/${image} ]; then