diff --git a/scripts/image_squashfs b/scripts/image_squashfs index 57cfac61c5..3a7b2c7e28 100755 --- a/scripts/image_squashfs +++ b/scripts/image_squashfs @@ -30,6 +30,8 @@ $SCRIPTS/image $SCRIPTS/build squashfs $SCRIPTS/build fakeroot +get_version + mkdir -p $TARGET_IMG rm -rf $TARGET_IMG/$DISTRONAME-$TARGET_VERSION.kernel rm -rf $TARGET_IMG/$DISTRONAME-$TARGET_VERSION.mach_kernel