From 7158403805f650e8e34de6c0ac0dcd9b565c679b Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Thu, 3 Nov 2016 23:21:07 +0100 Subject: [PATCH] package/pseudo: add a legacy symlink to emulate fakeroot In case some post-image script want to call fakeroot, add a symlink to use pseudo instead. Reported-by: Arnout Vandecappelle Signed-off-by: "Yann E. MORIN" Signed-off-by: Thomas Petazzoni --- package/pseudo/pseudo.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/pseudo/pseudo.mk b/package/pseudo/pseudo.mk index 2137a37806..e2c56fff06 100644 --- a/package/pseudo/pseudo.mk +++ b/package/pseudo/pseudo.mk @@ -20,4 +20,9 @@ HOST_PSEUDO_CONF_OPTS = \ --libdir=$(HOST_DIR)/usr/lib \ --with-sqlite=$(HOST_DIR)/usr +define HOST_PSEUDO_FAKEROOT_SYMLINK + ln -sf pseudo $(HOST_DIR)/usr/bin/fakeroot +endef +HOST_PSEUDO_POST_INSTALL_HOOKS += HOST_PSEUDO_FAKEROOT_SYMLINK + $(eval $(host-autotools-package)) -- 2.30.2