[openwrt/openwrt] build/json: fix DEVICE_PACKAGES

LEDE Commits lede-commits at lists.infradead.org
Wed Jun 2 14:00:24 PDT 2021


zorun pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/29c94fe28ec6ec2f2cbd08e5af9a1b665587b3fe

commit 29c94fe28ec6ec2f2cbd08e5af9a1b665587b3fe
Author: Paul Spooren <mail at aparcar.org>
AuthorDate: Wed Jun 2 10:09:58 2021 -1000

    build/json: fix DEVICE_PACKAGES
    
    The variable was missing in the definition of DEFAULT_DEVICE_VARS which
    caused it to contain wrong values, messing up the resulting JSON files.
    
    This patch adds the variable DEVICE_PACKAGES to DEFAULT_DEVICE_VARS.
    
    Suggested-by: Baptiste Jonglez <git at bitsofnetworks.org>
    Signed-off-by: Paul Spooren <mail at aparcar.org>
---
 include/image.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/image.mk b/include/image.mk
index d93ce7f233..0d0e3eaba1 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -422,7 +422,7 @@ DEFAULT_DEVICE_VARS := \
   DEVICE_IMG_PREFIX SOC BOARD_NAME UIMAGE_MAGIC UIMAGE_NAME \
   SUPPORTED_DEVICES IMAGE_METADATA KERNEL_ENTRY KERNEL_LOADADDR \
   UBOOT_PATH IMAGE_SIZE \
-  DEVICE_COMPAT_VERSION DEVICE_COMPAT_MESSAGE \
+  DEVICE_PACKAGES DEVICE_COMPAT_VERSION DEVICE_COMPAT_MESSAGE \
   DEVICE_VENDOR DEVICE_MODEL DEVICE_VARIANT \
   DEVICE_ALT0_VENDOR DEVICE_ALT0_MODEL DEVICE_ALT0_VARIANT \
   DEVICE_ALT1_VENDOR DEVICE_ALT1_MODEL DEVICE_ALT1_VARIANT \



More information about the lede-commits mailing list