From 62599cd8ba64b26cc9db7a5b9c1f8cc74edaa633 Mon Sep 17 00:00:00 2001 From: kszaq Date: Wed, 6 Apr 2016 21:48:53 +0200 Subject: [PATCH] scripts/image: create SD card image wtih amlpkg This allows creating both images in one shot, saves time. --- scripts/image | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/image b/scripts/image index 31b9754345..56914defe5 100755 --- a/scripts/image +++ b/scripts/image @@ -332,7 +332,7 @@ fi tar cf $TARGET_IMG/$IMAGE_NAME.tar -C target $IMAGE_NAME # 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) if [ -z "$KERNEL_NAME" ] ; then KERNEL_NAME="KERNEL"