mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
Merge pull request #138 from kszaq/wetek-amlpkg
scripts/image: create SD card image wtih amlpkg
This commit is contained in:
commit
8810d7cd2b
@ -332,7 +332,7 @@ fi
|
|||||||
tar cf $TARGET_IMG/$IMAGE_NAME.tar -C target $IMAGE_NAME
|
tar cf $TARGET_IMG/$IMAGE_NAME.tar -C target $IMAGE_NAME
|
||||||
|
|
||||||
# create image files if requested
|
# create image files if requested
|
||||||
if [ "$1" = "mkimage" -a -n "$BOOTLOADER" ]; then
|
if [[ ( "$1" = "amlpkg" || "$1" = "mkimage" ) && -n "$BOOTLOADER" ]]; then
|
||||||
# projects can set KERNEL_NAME (kernel.img)
|
# projects can set KERNEL_NAME (kernel.img)
|
||||||
if [ -z "$KERNEL_NAME" ] ; then
|
if [ -z "$KERNEL_NAME" ] ; then
|
||||||
KERNEL_NAME="KERNEL"
|
KERNEL_NAME="KERNEL"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user