summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/radvd/radvd.inc
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2020-07-20 17:16:00 +0800
committerKhem Raj <raj.khem@gmail.com>2020-07-21 16:46:36 -0700
commit5af77740a46c334978adc7f37f53ea9a318d3a33 (patch)
treee74faab1bebff839cf4eba7ba9baf7bdae42f56a /meta-networking/recipes-daemons/radvd/radvd.inc
parent1b803eb316e16bc951a0ae2a2cf197897c6154a4 (diff)
downloadmeta-openembedded-5af77740a46c334978adc7f37f53ea9a318d3a33.tar.gz
radvd: add /etc/radvd.conf
When starting radvd without any configuration the following errors would be triggered. """ root@intel-x86-64:~# systemctl status radvd ● radvd.service - Router advertisement daemon for IPv6 Loaded: loaded (/lib/systemd/system/radvd.service; enabled; vendor preset: enabled) Active: inactive (dead) Condition: start condition failed at Tue 2019-09-24 13:29:36 UTC; 3s ago └─ ConditionPathExists=/etc/radvd.conf was not met """ Normally the user should create and configrue the /etc/radvd.conf manually. However the radvd provide a example file for redhad located at "radvd/redhat/radvd.conf.empty". When installing, it would copy radvd/redhat/radvd.conf.empty to /etc/radvd.conf. Also add this empty conf here to used as an example of configuration Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-daemons/radvd/radvd.inc')
-rw-r--r--meta-networking/recipes-daemons/radvd/radvd.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-networking/recipes-daemons/radvd/radvd.inc b/meta-networking/recipes-daemons/radvd/radvd.inc
index 59a07d78d..802dbe34e 100644
--- a/meta-networking/recipes-daemons/radvd/radvd.inc
+++ b/meta-networking/recipes-daemons/radvd/radvd.inc
@@ -18,7 +18,8 @@ SRC_URI = "http://v6web.litech.org/radvd/dist/radvd-${PV}.tar.gz \
18 file://radvd.init \ 18 file://radvd.init \
19 file://radvd.service \ 19 file://radvd.service \
20 file://volatiles.03_radvd \ 20 file://volatiles.03_radvd \
21 file://radvd.default" 21 file://radvd.default \
22 file://radvd.conf"
22 23
23inherit autotools useradd pkgconfig systemd 24inherit autotools useradd pkgconfig systemd
24 25
@@ -52,6 +53,8 @@ do_install_append () {
52 for i in radvd.conf.example README; do \ 53 for i in radvd.conf.example README; do \
53 install -m 0644 ${S}/$i ${D}${docdir}/radvd; \ 54 install -m 0644 ${S}/$i ${D}${docdir}/radvd; \
54 done 55 done
56
57 install -m 0644 ${WORKDIR}/radvd.conf ${D}${sysconfdir}/radvd.conf
55} 58}
56 59
57USERADD_PACKAGES = "${PN}" 60USERADD_PACKAGES = "${PN}"