From: Colin Foster <colin.foster@in-advantage.com>
To: "François Perrad" <francois.perrad@gadz.org>
Cc: buildroot <buildroot@buildroot.org>
Subject: Re: [Buildroot] mstpd install location
Date: Sat, 9 Jul 2022 12:13:06 -0700 [thread overview]
Message-ID: <YsnTQhXxL/ehR1J9@euler> (raw)
In-Reply-To: <CAB0FRsv0ABHJtw=dZ4TsmGn6X3gD2KPD0jEhhENkQnn84Gh3OA@mail.gmail.com>
On Sat, Jul 09, 2022 at 05:59:43PM +0200, François Perrad wrote:
> Le ven. 8 juil. 2022 à 21:26, Colin Foster <colin.foster@in-advantage.com>
> a écrit :
>
> > 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.
> >
> >
> For option 1, see
> https://patchwork.ozlabs.org/project/buildroot/patch/20220709155557.2907518-1-francois.perrad@gadz.org/
Golden! Thank you.
>
> François
>
>
> > Any feedback is appreciated.
> > _______________________________________________
> > buildroot mailing list
> > buildroot@buildroot.org
> > https://lists.buildroot.org/mailman/listinfo/buildroot
> >
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2022-07-09 19:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YsnTQhXxL/ehR1J9@euler \
--to=colin.foster@in-advantage.com \
--cc=buildroot@buildroot.org \
--cc=francois.perrad@gadz.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox