From d23f78bc30f8de2b9c5418ce024646d4b4014b01 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sat, 21 May 2011 23:41:48 +0200 Subject: [PATCH] scripts/image_release: bundle MACH_KERNEL if avaible Signed-off-by: Stephan Raue --- scripts/image_release | 7 +++++++ 1 file changed, 7 insertions(+) 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