From b67f0a99a94876280c3f5413225576e9e40c2fc8 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Mon, 3 Dec 2018 22:05:07 +0100 Subject: [PATCH] fs/common.mk: allow user provided permissions to override packages permissions Reported-by: Matthew Weber Signed-off-by: "Yann E. MORIN" Cc: Matthew Weber Cc: Thomas Petazzoni Signed-off-by: Thomas Petazzoni Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- fs/common.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fs/common.mk b/fs/common.mk index 6ad4cd0b01..077ce8903e 100644 --- a/fs/common.mk +++ b/fs/common.mk @@ -57,13 +57,14 @@ rootfs-common: $(ROOTFS_COMMON_DEPENDENCIES) target-finalize ifneq ($(ROOTFS_USERS_TABLES),) cat $(ROOTFS_USERS_TABLES) >> $(ROOTFS_FULL_USERS_TABLE) endif + + $(call PRINTF,$(PACKAGES_PERMISSIONS_TABLE)) > $(ROOTFS_FULL_DEVICES_TABLE) ifneq ($(ROOTFS_DEVICE_TABLES),) - cat $(ROOTFS_DEVICE_TABLES) > $(ROOTFS_FULL_DEVICES_TABLE) + cat $(ROOTFS_DEVICE_TABLES) >> $(ROOTFS_FULL_DEVICES_TABLE) ifeq ($(BR2_ROOTFS_DEVICE_CREATION_STATIC),y) $(call PRINTF,$(PACKAGES_DEVICES_TABLE)) >> $(ROOTFS_FULL_DEVICES_TABLE) endif endif - $(call PRINTF,$(PACKAGES_PERMISSIONS_TABLE)) >> $(ROOTFS_FULL_DEVICES_TABLE) rootfs-common-show-depends: @echo $(ROOTFS_COMMON_DEPENDENCIES) -- 2.30.2