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