- fix extraction of preinstall images
authorMichael Schroeder <mls@suse.de>
Tue, 26 Jun 2012 13:49:46 +0000 (15:49 +0200)
committerMichael Schroeder <mls@suse.de>
Tue, 26 Jun 2012 13:49:46 +0000 (15:49 +0200)
build

diff --git a/build b/build
index 0a5c03c..30b7b83 100755 (executable)
--- a/build
+++ b/build
@@ -1731,7 +1731,7 @@ for SPECFILE in "${SPECFILES[@]}" ; do
                elif test "$BUILDTYPE" = arch ; then
                    mkdir -p ARCHPKGS
                    find . -type f | while read i; do mv "$i" ARCHPKGS/; done
-               else
+               elif test "$BUILDTYPE" = kiwi ; then
                    mkdir -p KIWI
                    find . -type f | while read i; do mv "$i" KIWI/; done
                fi
@@ -2315,6 +2315,9 @@ if test -n "$RUNNING_IN_VM" -a -n "$VM_SWAP"; then
        arch)
            computeblocklists $args $TOPDIR/ARCHPKGS/* $TOPDIR/OTHER/* > "$VM_SWAP"
            ;;
+       preinstallimage)
+           computeblocklists $args $TOPDIR/OTHER/* > "$VM_SWAP"
+           ;;
     esac || cleanup_and_exit 1
 fi