Revert "package/pseudo: wrap the real pseudo with a wrapper"

This reverts commit a1d602a74d.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Peter Korsgaard 2016-11-27 20:33:29 +01:00
parent 9b2f9b137c
commit ca41a78c2d
2 changed files with 0 additions and 18 deletions

View File

@ -1,12 +0,0 @@
#!/bin/sh
export PSEUDO_PREFIX="$(dirname "${0%/*}")"
export PSEUDO_OPTS="-t0"
if [ -n "${TARGET_DIR}" ]; then
export PSEUDO_PASSWD="${TARGET_DIR}"
fi
if [ -n "${BASE_DIR}" ]; then
export PSEUDO_LOCALSTATEDIR="${BASE_DIR}/build/.pseudodb"
fi
exec "${0%-wrapper}" "${@}"

View File

@ -26,12 +26,6 @@ HOST_PSEUDO_CONF_OPTS = \
--libdir=$(HOST_DIR)/usr/lib \
--with-sqlite=$(HOST_DIR)/usr
define HOST_PSEUDO_INSTALL_WRAPPER
$(INSTALL) -D -m 0755 $(HOST_PSEUDO_PKGDIR)/pseudo-wrapper \
$(HOST_DIR)/usr/bin/pseudo-wrapper
endef
HOST_PSEUDO_POST_INSTALL_HOOKS += HOST_PSEUDO_INSTALL_WRAPPER
define HOST_PSEUDO_FAKEROOT_SYMLINK
ln -sf pseudo $(HOST_DIR)/usr/bin/fakeroot
endef