mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
scripts/image: remove 'mach_kernel' support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
04cd4c1164
commit
f19dbb0c99
@ -185,7 +185,6 @@ IMAGE_NAME="$DISTRONAME-$TARGET_VERSION"
|
||||
# make target dir
|
||||
mkdir -p $TARGET_IMG
|
||||
rm -rf $TARGET_IMG/$IMAGE_NAME.kernel
|
||||
rm -rf $TARGET_IMG/$IMAGE_NAME.mach_kernel
|
||||
|
||||
# copy kernel to target dir
|
||||
if [ "$BOOTLOADER" = "u-boot" ]; then
|
||||
@ -258,21 +257,12 @@ IMAGE_NAME="$DISTRONAME-$TARGET_VERSION"
|
||||
|
||||
mkdir -p $RELEASE_DIR/target
|
||||
cp $TARGET_IMG/$IMAGE_NAME.system $RELEASE_DIR/target/SYSTEM
|
||||
|
||||
if [ -f $TARGET_IMG/$IMAGE_NAME.mach_kernel ]; then
|
||||
cp $TARGET_IMG/$IMAGE_NAME.mach_kernel $RELEASE_DIR/target/MACH_KERNEL
|
||||
else
|
||||
cp $TARGET_IMG/$IMAGE_NAME.kernel $RELEASE_DIR/target/KERNEL
|
||||
fi
|
||||
cp $TARGET_IMG/$IMAGE_NAME.kernel $RELEASE_DIR/target/KERNEL
|
||||
|
||||
# create md5sum's
|
||||
( cd $RELEASE_DIR;
|
||||
md5sum -t target/SYSTEM > target/SYSTEM.md5;
|
||||
if [ -f target/MACH_KERNEL ]; then
|
||||
md5sum -t target/MACH_KERNEL > target/MACH_KERNEL.md5;
|
||||
else
|
||||
md5sum -t target/KERNEL > target/KERNEL.md5;
|
||||
fi
|
||||
md5sum -t target/KERNEL > target/KERNEL.md5;
|
||||
)
|
||||
|
||||
# create target directory
|
||||
|
Loading…
x
Reference in New Issue
Block a user