From 508023e18d36039411ca920c53aecc0d4b74e686 2018-10-26 03:07:48 From: Unknown Date: 2018-10-26 03:07:48 Subject: [PATCH] fix --- diff --git a/rpi23-gen-image.sh b/rpi23-gen-image.sh index 4d6bc8a..bfdc399 100755 --- a/rpi23-gen-image.sh +++ b/rpi23-gen-image.sh @@ -70,7 +70,9 @@ COLLABORA_KERNEL=${COLLABORA_KERNEL:=3.18.0-trunk-rpi2} if [ "$KERNEL_ARCH" = "arm64" ] ; then KERNEL_DEFCONFIG=${KERNEL_DEFCONFIG:=bcmrpi3_defconfig} KERNEL_IMAGE=${KERNEL_IMAGE:=kernel8.img} -elif [RPI_MODEL] = 0 || [RPI_MODEL = 1] || [RPI_MODEL = 1P] +fi + +if [RPI_MODEL] = 0 || [RPI_MODEL = 1] || [RPI_MODEL = 1P] #RASPBERRY PI 1, PI ZERO, PI ZERO W, AND COMPUTE MODULE DEFAULT Kernel BUILD CONFIGURATION KERNEL_DEFCONFIG=${KERNEL_DEFCONFIG:=bcmrpi_defconfig} KERNEL_IMAGE=${KERNEL_IMAGE:=kernel7.img}