image.bbclass: Removed wildcard rm as it broke building multiple rootfs image types.
authorLeon Woestenberg <leon.woestenberg@gmail.com>
Sat, 24 Mar 2007 10:54:11 +0000 (10:54 +0000)
committerLeon Woestenberg <leon.woestenberg@gmail.com>
Sat, 24 Mar 2007 10:54:11 +0000 (10:54 +0000)
classes/image.bbclass

index 5055b5b..4f87091 100644 (file)
@@ -93,7 +93,7 @@ fakeroot do_rootfs () {
                fi
 
                cd ${DEPLOY_DIR_IMAGE}/
-               rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.*
+               rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.$type
                ln -s ${IMAGE_NAME}.rootfs.$type ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.$type
        done