[Buildroot] [PATCH 3/3] package/frr: new package

vadim4j at gmail.com vadim4j at gmail.com
Tue Feb 25 01:28:52 UTC 2020


On Mon, Feb 24, 2020 at 11:07:06PM +0100, Thomas Petazzoni wrote:
> On Mon, 24 Feb 2020 23:36:54 +0200
> vadim4j at gmail.com wrote:
> 
> > > Huh? That's not what I'm asking here. I'm just asking that you look at
> > > the definition of each of those options, and if any of them has some
> > > "depends on" dependency, you need to replicate them into the frr
> > > package Config.in file.  
> > Hmmm, you mean to add here "depends on" from selected packages ?
> 
> Yes, like we do in all other Buildroot packages.
> 
> See also section "17.2.3. Choosing depends on or select" in
> https://buildroot.org/downloads/manual/manual.html.
> 
> > > > > So it's the frrinit.sh script that requires bash ?    
> > > > Yes, this is runtime dependency.  
> > > 
> > > And using this script is important?  
> > Well, it runs daemons on system init to handle routing
> > protocols.
> 
> OK, but is it complicated? Can it be replaced by some simpler
> Buildroot-compliant init script?
> 
So, I looked closer and actually frr init script does not need
start-stop-daemon tool, it is enough to just call /usr/sbin/frrinit.sh
{start|stop}. So I can pick S01syslogd as template but w/o using
start-stop-daemon and directly call frrinit.sh, because frr handles
starting/stopping of its daemons by itself.



More information about the buildroot mailing list