Merge branch 'master' of git://github.com/OpenELEC/OpenELEC.tv into openelec-next

This commit is contained in:
Stephan Raue 2011-05-21 23:48:54 +02:00
commit 2eda537e9c
2 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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