mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 07:57:43 +00:00
pciutils: install to /usr/bin rather than /usr/sbin
Somehow busybox thinks debian standards are the rule and installs lspci to /usr/bin instead of /usr/sbin where upstream says it belongs. So install pciutils binaries there as well to really win over busybox PATH-wise and overwrite the little bugger symlink. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
387bdde5df
commit
ab949f9130
@ -65,12 +65,14 @@ endef
|
|||||||
|
|
||||||
define PCIUTILS_INSTALL_TARGET_CMDS
|
define PCIUTILS_INSTALL_TARGET_CMDS
|
||||||
$(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(PCIUTILS_MAKE_OPTS) \
|
$(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(PCIUTILS_MAKE_OPTS) \
|
||||||
PREFIX=$(TARGET_DIR)/usr install install-lib install-pcilib
|
PREFIX=$(TARGET_DIR)/usr SBINDIR=$(TARGET_DIR)/usr/bin \
|
||||||
|
install install-lib install-pcilib
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define PCIUTILS_INSTALL_STAGING_CMDS
|
define PCIUTILS_INSTALL_STAGING_CMDS
|
||||||
$(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(PCIUTILS_MAKE_OPTS) \
|
$(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(PCIUTILS_MAKE_OPTS) \
|
||||||
PREFIX=$(STAGING_DIR)/usr install install-lib install-pcilib
|
PREFIX=$(STAGING_DIR)/usr SBINDIR=$(STAGING_DIR)/usr/bin \
|
||||||
|
install install-lib install-pcilib
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user