mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-01 01:30:23 +00:00
quagga: two fixes
1. quagga should depend on iproute2, since ip from busybox is not sufficient 2. fix a typOS(should chmod, not chown) Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
This commit is contained in:
@@ -5,7 +5,7 @@ Unix platforms, particularly FreeBSD, Linux, Solaris and NetBSD. \
|
|||||||
Quagga is a fork of GNU Zebra which was developed by Kunihiro \
|
Quagga is a fork of GNU Zebra which was developed by Kunihiro \
|
||||||
Ishiguro. The Quagga tree aims to build a more involved community \
|
Ishiguro. The Quagga tree aims to build a more involved community \
|
||||||
around Quagga than the current centralised model of GNU Zebra."
|
around Quagga than the current centralised model of GNU Zebra."
|
||||||
HOMEPAGE = "http://www.quagga.net/"
|
HOMEPAGE = "http://www.nongnu.org/quagga/"
|
||||||
SECTION = "network"
|
SECTION = "network"
|
||||||
LICENSE = "GPL-2.0 & LGPL-2.0"
|
LICENSE = "GPL-2.0 & LGPL-2.0"
|
||||||
DEPENDS = "readline ncurses perl-native"
|
DEPENDS = "readline ncurses perl-native"
|
||||||
@@ -17,6 +17,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b \
|
|||||||
|
|
||||||
INC_PR = "r2"
|
INC_PR = "r2"
|
||||||
|
|
||||||
|
# the "ip" command from busybox is not sufficient (flush by protocol flushes all routes)
|
||||||
|
RDEPENDS_${PN} += "iproute2"
|
||||||
|
|
||||||
QUAGGASUBDIR = ""
|
QUAGGASUBDIR = ""
|
||||||
# ${QUAGGASUBDIR} is deal with old versions. Set to "/attic" for old
|
# ${QUAGGASUBDIR} is deal with old versions. Set to "/attic" for old
|
||||||
# versions and leave it empty for recent versions.
|
# versions and leave it empty for recent versions.
|
||||||
@@ -128,11 +131,11 @@ pkg_postinst_${PN} () {
|
|||||||
if [ "x$D" != "x" ] ; then
|
if [ "x$D" != "x" ] ; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
for f in bgpd babeld isisd ospfd ripngd zebra ripd ospf6d; do touch ${sysconfdir}/quagga/$f.conf; done
|
for f in bgpd vtysh babeld isisd ospfd ripngd zebra ripd ospf6d; do touch ${sysconfdir}/quagga/$f.conf; done
|
||||||
chown quagga:quaggavty ${sysconfdir}/quagga
|
chown quagga:quaggavty ${sysconfdir}/quagga
|
||||||
chown quagga:quagga ${sysconfdir}/quagga/*.conf
|
chown quagga:quagga ${sysconfdir}/quagga/*.conf
|
||||||
chmod 750 ${sysconfdir}/quagga
|
chmod 750 ${sysconfdir}/quagga
|
||||||
chown 640 ${sysconfdir}/quagga/*.conf
|
chmod 640 ${sysconfdir}/quagga/*.conf
|
||||||
if [ -z "$D" ] && [ -e /etc/init.d/populate-volatile.sh ] ; then
|
if [ -z "$D" ] && [ -e /etc/init.d/populate-volatile.sh ] ; then
|
||||||
${sysconfdir}/init.d/populate-volatile.sh update
|
${sysconfdir}/init.d/populate-volatile.sh update
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user