322
347
for imgtype in $imagetype ; do
323
348
echo "running kiwi --prepare for $imgtype..."
324
349
# Do not use $BUILD_USER here, since we always need root permissions
326
351
echo "running kiwi --create for $imgtype..."
327
352
mkdir -p $BUILD_ROOT/$TOPDIR/KIWI-$imgtype
329
354
rm -rf "/$TOPDIR/KIWI.bundle"
331
356
mv "$BUILD_ROOT/$TOPDIR/KIWI.bundle/"* "$BUILD_ROOT/$TOPDIR/KIWI/" || cleanup_and_exit 1
332
357
rmdir "$BUILD_ROOT/$TOPDIR/KIWI.bundle"