Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] mstpd install location
@ 2022-07-08 19:26 Colin Foster
  2022-07-09 15:59 ` François Perrad
  0 siblings, 1 reply; 3+ messages in thread
From: Colin Foster @ 2022-07-08 19:26 UTC (permalink / raw)
  To: buildroot

Hello,

I'm finally getting mstpd to start working in buildroot. I noticed two
blockers:

mstpd was running "pidof -c" while busybox doesn't support the -c
option. As a result, mstpd would fail entirely. I'm working with mstpd
to either remove the -c option if it isn't necessary, or detect
capabilities.

Also, the bridge-stp script gets called by the kernel, and needs to be
in /sbin. However, the install directory is /usr/sbin. I'm confused,
since Makefile.in seems to use $(DESTDIR)/sbin.

It seems there are two options:
1. Change the install directory of mstpd to /sbin, or
2. Add a post-install hook to soft link /sbin files to
/usr/sbin/{mstpd,mstpctl,bridge-stp}

I'm not familiar with autotools-package, so I'm not sure why option 1
isn't already happening. If option 1 couldn't, or shouldn't happen, I
can certainly look into implementing option 2.


Any feedback is appreciated.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-07-09 19:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-08 19:26 [Buildroot] mstpd install location Colin Foster
2022-07-09 15:59 ` François Perrad
2022-07-09 19:13   ` Colin Foster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox