From 10bc79c612dd945af236f23e11b4df79b3c76257 Mon Sep 17 00:00:00 2001 From: Angelo Compagnucci Date: Tue, 4 Feb 2020 14:14:41 +0100 Subject: [PATCH] package/grep: install to /bin to fix busybox aliasing When the grep package is selected, it should be installed at the same exact location where busybox installs it too, this way the grep/egrep/fgrep executables will end up overwriting the busybox provided ones. Signed-off-by: Angelo Compagnucci Signed-off-by: Peter Korsgaard --- package/grep/grep.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/grep/grep.mk b/package/grep/grep.mk index 96685b0276..eefdfe6a74 100644 --- a/package/grep/grep.mk +++ b/package/grep/grep.mk @@ -10,6 +10,8 @@ GREP_SOURCE = grep-$(GREP_VERSION).tar.xz GREP_LICENSE = GPL-3.0+ GREP_LICENSE_FILES = COPYING GREP_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) +# install into /bin like busybox grep +GREP_CONF_OPTS = --exec-prefix=/ # link with iconv if enabled ifeq ($(BR2_PACKAGE_LIBICONV),y) -- 2.30.2