From: Yann E. MORIN Date: Mon, 3 Dec 2018 21:05:07 +0000 (+0100) Subject: fs/common.mk: allow user provided permissions to override packages permissions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b67f0a99a94876280c3f5413225576e9e40c2fc8;p=buildroot.git 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) --- 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)