From 1773a2a14216f3bbae7264600471f700c400552a Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sat, 10 May 2014 15:39:46 +0200 Subject: [PATCH] fs: use our own mkpasswd when creating users Export PATH=$(BR_PATH) so that our own mkpasswd is found before any existing host-system one. Reported-by: Romain Naour Signed-off-by: "Yann E. MORIN" Cc: Samuel Martin Tested-by: Romain Naour Signed-off-by: Peter Korsgaard --- fs/common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/common.mk b/fs/common.mk index 831365ef11..47199c7538 100644 --- a/fs/common.mk +++ b/fs/common.mk @@ -83,7 +83,7 @@ ifneq ($$(ROOTFS_USERS_TABLES),) cat $$(ROOTFS_USERS_TABLES) >> $(USERS_TABLE) endif printf '$(subst $(sep),\n,$(PACKAGES_USERS))' >> $(USERS_TABLE) - $(TOPDIR)/support/scripts/mkusers $(USERS_TABLE) $(TARGET_DIR) >> $(FAKEROOT_SCRIPT) + PATH=$(BR_PATH) $(TOPDIR)/support/scripts/mkusers $(USERS_TABLE) $(TARGET_DIR) >> $(FAKEROOT_SCRIPT) echo "$$(ROOTFS_$(2)_CMD)" >> $$(FAKEROOT_SCRIPT) chmod a+x $$(FAKEROOT_SCRIPT) $$(HOST_DIR)/usr/bin/fakeroot -- $$(FAKEROOT_SCRIPT) -- 2.30.2