Skip to contentSkip to conversation

mstpd: Change hard coded /sbin to $base_sbindir

PATCH New Ryan Eatmon 1 participant 1 message Aug 15, 2023

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 mstpd: Change hard coded /sbin to $base_sbindir

Bring this recipe into compliance with the latest standards. Change hardcoded /sbin path to $base_sbindir.

---
v2: Remove FILES setting as the default is fine once we fix /sbin.

 meta-arago-extras/recipes-support/mstpctl/mstpd_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-extras/recipes-support/mstpctl/mstpd_git.bb +1 -1
index a410f584..6b07889f 100644
@@ -17,7 +17,7 @@ RDEPENDS:${PN} = "python3-core"
 
 inherit autotools
 
-EXTRA_OECONF = "--sbindir=/sbin"
+EXTRA_OECONF = "--sbindir=${base_sbindir}"
 
 do_configure:prepend() {
 	 sed -i -e "s,#!.*python.*,#!${USRBINPATH}/env python3," ${S}/utils/ifquery
Signature · 1 line
2.17.1