mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
scripts/image_release: bundle MACH_KERNEL if avaible
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
82c6fba858
commit
d23f78bc30
@ -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.system $RELEASE_DIR/target/SYSTEM
|
||||||
cp $TARGET_IMG/$DISTRONAME-$TARGET_VERSION.kernel $RELEASE_DIR/target/KERNEL
|
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
|
# create md5sum's
|
||||||
( cd $RELEASE_DIR;
|
( cd $RELEASE_DIR;
|
||||||
md5sum -t target/SYSTEM > target/SYSTEM.md5;
|
md5sum -t target/SYSTEM > target/SYSTEM.md5;
|
||||||
md5sum -t target/KERNEL > target/KERNEL.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
|
# create target directory
|
||||||
|
Loading…
x
Reference in New Issue
Block a user