[oe] [meta-networking][PATCH 3/8] quagga: add from OE-Classic, update and tidy-up

Paul Eggleton paul.eggleton at linux.intel.com
Mon Nov 19 18:00:50 UTC 2012


On Monday 19 November 2012 18:55:33 Koen Kooi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Op 19-11-12 18:11, Paul Eggleton schreef:
> > * Update to 0.99.21 * Fix SRC_URI to point to a working download
> > location * Make LICENSE more accurate * Add LIC_FILES_CHKSUM * Add old
> > gentoo patch to fix libcap linking errors * Put binaries in sbindir * Use
> > useradd.bbclass to create user/groups * Add LSB headers to init script
> > (borrowed from debian) * Tidy up packaging and directory references * Add
> > SUMMARY
> > 
> > Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com> ---
> 
> dd94a
> 
> > --- /dev/null +++
> > b/meta-networking/recipes-protocols/quagga/files/watchquagga.init @@ -0,0
> > +1,64 @@ +#!/bin/sh +# +### BEGIN INIT INFO +# Provides: watchquagga +#
> > Required-Start: $local_fs $network $remote_fs $syslog +# Required-Stop:
> > $local_fs $network $remote_fs $syslog +# Default-Start:  2 3 4 5 +#
> > Default-Stop: 0 1 6 +# Short-Description: start and stop the Quagga
> > watchdog +### END INIT INFO + +PATH=/bin:/usr/bin:/sbin:/usr/sbin + +#
> > Load configuration +test -f /etc/default/watchquagga && .
> > /etc/default/watchquagga
> 
> hardcoded $sysconfdir
> 
> > + +# Check that there are daemons to be monitored. +[ -z "$watch_daemons"
> > ] && exit 0 + +pidfile="/var/run/quagga/watchquagga.pid"
> 
> hardcoded $localstatedir
> 
> > + +case "$1" in +    start) +	echo -n "Starting quagga watchdog daemon:
> > watchquagga" +	start-stop-daemon --start \ +		--pidfile $pidfile \ +
> > --exec /usr/sbin/watchquagga \
> 
> hardcoded $sbindir
> 
> [..]
> 
> etc.

Sure I can fix these, but you're aware there are a ton of these in meta-oe...?

Cheers,
Paul

--

Paul Eggleton
Intel Open Source Technology Centre




More information about the Openembedded-devel mailing list