From: Yann E. MORIN Date: Sun, 14 Jan 2018 14:16:57 +0000 (+0100) Subject: fs: pass EXTRA_ENV to post-fakeroot script X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4b3d1b36a3ead6939fc48b9083754be763ada1c3;p=buildroot.git fs: pass EXTRA_ENV to post-fakeroot script Like we do for post-build and post-image scripts, pass EXTRA_ENV to post-fakeroot script. Signed-off-by: "Yann E. MORIN" Cc: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- diff --git a/fs/common.mk b/fs/common.mk index 9715eb13d9..6d579db810 100644 --- a/fs/common.mk +++ b/fs/common.mk @@ -95,7 +95,7 @@ endif echo "$$(HOST_DIR)/bin/makedevs -d $$(FULL_DEVICE_TABLE) $$(TARGET_DIR)" >> $$(FAKEROOT_SCRIPT) $$(foreach s,$$(call qstrip,$$(BR2_ROOTFS_POST_FAKEROOT_SCRIPT)),\ echo "echo '$$(TERM_BOLD)>>> Executing fakeroot script $$(s)$$(TERM_RESET)'" >> $$(FAKEROOT_SCRIPT); \ - echo $$(s) $$(TARGET_DIR) $$(BR2_ROOTFS_POST_SCRIPT_ARGS) >> $$(FAKEROOT_SCRIPT)$$(sep)) + echo $$(EXTRA_ENV) $$(s) $$(TARGET_DIR) $$(BR2_ROOTFS_POST_SCRIPT_ARGS) >> $$(FAKEROOT_SCRIPT)$$(sep)) $$(foreach hook,$$(ROOTFS_PRE_CMD_HOOKS),\ $$(call PRINTF,$$($$(hook))) >> $$(FAKEROOT_SCRIPT)$$(sep)) ifeq ($$(BR2_REPRODUCIBLE),y)