From 09874785c06747470915fc12befd45307ccd2bbd Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Sat, 9 Jul 2022 17:55:57 +0200 Subject: [PATCH] package/mstpd: fix install path of binaries As reported by Colin Foster at https://lore.kernel.org/buildroot/YsiEyscz0S5b9zj9@colin-ia-desktop/, the Linux kernel expects the bridge-stp binary to be installed as /sbin/bridge-stp. See https://elixir.bootlin.com/linux/v5.18/source/net/bridge/br_private.h#L53. Signed-off-by: Francois Perrad Tested-by: Colin Foster Signed-off-by: Thomas Petazzoni --- package/mstpd/mstpd.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/mstpd/mstpd.mk b/package/mstpd/mstpd.mk index 907d094242..07c41af8df 100644 --- a/package/mstpd/mstpd.mk +++ b/package/mstpd/mstpd.mk @@ -10,4 +10,8 @@ MSTPD_AUTORECONF = YES MSTPD_LICENSE = GPL-2.0, RSA Data Security (md5) MSTPD_LICENSE_FILES = LICENSE hmac_md5.c +# The Linux kernel requires mstp binaries to be installed into /sbin, +# not /usr/sbin. +MSTPD_CONF_OPTS = --sbindir=/sbin + $(eval $(autotools-package))