From c9c69c7aae5c13802342ff0fc817405d8d5ffff7 Mon Sep 17 00:00:00 2001 From: miaogongzi <69211489+mgz0227@users.noreply.github.com> Date: Tue, 31 Dec 2024 01:07:14 +0800 Subject: [PATCH] Update imagebuilder.patch --- devices/common/patches/imagebuilder.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devices/common/patches/imagebuilder.patch b/devices/common/patches/imagebuilder.patch index 37907e1..2efa4a4 100644 --- a/devices/common/patches/imagebuilder.patch +++ b/devices/common/patches/imagebuilder.patch @@ -13,7 +13,7 @@ FILE_TYPE=$(word 1,$(subst ., ,$(2))) \ FILE_FILESYSTEM="$(1)" \ DEVICE_IMG_PREFIX="$(DEVICE_IMG_PREFIX)" \ -+ IMAGE_SIZE="$$(( $(call exp_units,$(IMAGE_SIZE)) / 1024 ))" \ ++ IMAGE_SIZE="$(shell echo $$(($(call exp_units,$(IMAGE_SIZE)))))" \ DEVICE_VENDOR="$(DEVICE_VENDOR)" \ DEVICE_MODEL="$(DEVICE_MODEL)" \ DEVICE_VARIANT="$(DEVICE_VARIANT)" \ @@ -182,4 +182,4 @@ + nice $(NO_TRACE_MAKE) -C target/linux/$(BOARD)/image install TARGET_BUILD=1 IB=1 EXTRA_IMAGE_NAME="$(EXTRA_IMAGE_NAME)" \ $(if $(USER_PROFILE),PROFILE="$(USER_PROFILE)"); \ fi - \ No newline at end of file +