7158403805
In case some post-image script want to call fakeroot, add a symlink to use pseudo instead. Reported-by: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
29 lines
847 B
Makefile
29 lines
847 B
Makefile
################################################################################
|
|
#
|
|
# pseudo
|
|
#
|
|
################################################################################
|
|
|
|
PSEUDO_VERSION = 7abc9396731149df5eaf43c84fed4f3053b64de6
|
|
PSEUDO_SITE = https://git.yoctoproject.org/git/pseudo
|
|
PSEUDO_SITE_METHOD = git
|
|
|
|
# No "or later" clause.
|
|
PSEUDO_LICENSE = LGPLv2.1
|
|
PSEUDO_LICENSE_FILES = COPYING
|
|
|
|
HOST_PSEUDO_DEPENDENCIES = host-sqlite
|
|
|
|
# configure script is not generated by autoconf, so passing --libdir
|
|
# is necessary, even if the infrastructure passes --prefix already.
|
|
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))
|