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 <francois.perrad@gadz.org>
Tested-by: Colin Foster <colin.foster@in-advantage.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 09874785c0)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Francois Perrad
2022-07-09 17:55:57 +02:00
committed by Peter Korsgaard
parent 5e55b592fd
commit c6701cf543

View File

@@ -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))