Skip to content

Commit

Permalink
Update imagebuilder.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
mgz0227 authored Dec 30, 2024
1 parent 554ec42 commit c9c69c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions devices/common/patches/imagebuilder.patch
Original file line number Diff line number Diff line change
Expand Up @@ -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)" \
Expand Down Expand Up @@ -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


0 comments on commit c9c69c7

Please sign in to comment.