diff --git a/scripts/image_release b/scripts/image_release index 7549a5a60f..9b0accaa8b 100755 --- a/scripts/image_release +++ b/scripts/image_release @@ -46,10 +46,17 @@ RELEASE_DIR="target/$DISTRONAME-$TARGET_VERSION" cp $TARGET_IMG/$DISTRONAME-$TARGET_VERSION.system $RELEASE_DIR/target/SYSTEM cp $TARGET_IMG/$DISTRONAME-$TARGET_VERSION.kernel $RELEASE_DIR/target/KERNEL + if [ -f $TARGET_IMG/$DISTRONAME-$TARGET_VERSION.mach_kernel ]; then + cp $TARGET_IMG/$DISTRONAME-$TARGET_VERSION.mach_kernel $RELEASE_DIR/target/MACH_KERNEL + fi + # create md5sum's ( cd $RELEASE_DIR; md5sum -t target/SYSTEM > target/SYSTEM.md5; md5sum -t target/KERNEL > target/KERNEL.md5; + if [ -f target/MACH_KERNEL ]; then + md5sum -t target/MACH_KERNEL > target/MACH_KERNEL.md5; + fi ) # create target directory