diff options
Diffstat (limited to 'meta-networking/recipes-daemons/radvd/radvd_2.19.bb')
-rw-r--r-- | meta-networking/recipes-daemons/radvd/radvd_2.19.bb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta-networking/recipes-daemons/radvd/radvd_2.19.bb b/meta-networking/recipes-daemons/radvd/radvd_2.19.bb index a9b5f7942..a8a116cbe 100644 --- a/meta-networking/recipes-daemons/radvd/radvd_2.19.bb +++ b/meta-networking/recipes-daemons/radvd/radvd_2.19.bb | |||
@@ -34,30 +34,30 @@ do_install:append () { | |||
34 | ${D}${sysconfdir}/default/volatiles \ | 34 | ${D}${sysconfdir}/default/volatiles \ |
35 | ${D}${docdir}/radvd | 35 | ${D}${docdir}/radvd |
36 | # Install init script and volatiles | 36 | # Install init script and volatiles |
37 | install -m 0755 ${WORKDIR}/radvd.init ${D}${sysconfdir}/init.d/radvd | 37 | install -m 0755 ${UNPACKDIR}/radvd.init ${D}${sysconfdir}/init.d/radvd |
38 | sed -i 's!/usr/sbin/!${sbindir}/!g' ${D}${sysconfdir}/init.d/radvd | 38 | sed -i 's!/usr/sbin/!${sbindir}/!g' ${D}${sysconfdir}/init.d/radvd |
39 | sed -i 's!/etc/!${sysconfdir}/!g' ${D}${sysconfdir}/init.d/radvd | 39 | sed -i 's!/etc/!${sysconfdir}/!g' ${D}${sysconfdir}/init.d/radvd |
40 | sed -i 's!/var/!${localstatedir}/!g' ${D}${sysconfdir}/init.d/radvd | 40 | sed -i 's!/var/!${localstatedir}/!g' ${D}${sysconfdir}/init.d/radvd |
41 | sed -i 's!^PATH=.*!PATH=${base_sbindir}:${base_bindir}:${sbindir}:${bindir}!' ${D}${sysconfdir}/init.d/radvd | 41 | sed -i 's!^PATH=.*!PATH=${base_sbindir}:${base_bindir}:${sbindir}:${bindir}!' ${D}${sysconfdir}/init.d/radvd |
42 | 42 | ||
43 | install -m 0644 ${WORKDIR}/volatiles.03_radvd ${D}${sysconfdir}/default/volatiles/03_radvd | 43 | install -m 0644 ${UNPACKDIR}/volatiles.03_radvd ${D}${sysconfdir}/default/volatiles/03_radvd |
44 | 44 | ||
45 | # Install systemd service files | 45 | # Install systemd service files |
46 | install -d ${D}${systemd_unitdir}/system | 46 | install -d ${D}${systemd_unitdir}/system |
47 | install -m 0644 ${WORKDIR}/radvd.service ${D}${systemd_unitdir}/system | 47 | install -m 0644 ${UNPACKDIR}/radvd.service ${D}${systemd_unitdir}/system |
48 | sed -i -e 's#@SYSCONFDIR@#${sysconfdir}#g' \ | 48 | sed -i -e 's#@SYSCONFDIR@#${sysconfdir}#g' \ |
49 | -e 's#@SBINDIR@#${sbindir}#g' \ | 49 | -e 's#@SBINDIR@#${sbindir}#g' \ |
50 | -e 's#@BASE_BINDIR@#${base_bindir}#g' ${D}${systemd_unitdir}/system/radvd.service | 50 | -e 's#@BASE_BINDIR@#${base_bindir}#g' ${D}${systemd_unitdir}/system/radvd.service |
51 | 51 | ||
52 | # Install default environment file | 52 | # Install default environment file |
53 | install -m 0644 ${WORKDIR}/radvd.default ${D}${sysconfdir}/default/radvd | 53 | install -m 0644 ${UNPACKDIR}/radvd.default ${D}${sysconfdir}/default/radvd |
54 | 54 | ||
55 | # Documentation | 55 | # Documentation |
56 | for i in radvd.conf.example README; do \ | 56 | for i in radvd.conf.example README; do \ |
57 | install -m 0644 ${S}/$i ${D}${docdir}/radvd; \ | 57 | install -m 0644 ${S}/$i ${D}${docdir}/radvd; \ |
58 | done | 58 | done |
59 | 59 | ||
60 | install -m 0644 ${WORKDIR}/radvd.conf ${D}${sysconfdir}/radvd.conf | 60 | install -m 0644 ${UNPACKDIR}/radvd.conf ${D}${sysconfdir}/radvd.conf |
61 | } | 61 | } |
62 | 62 | ||
63 | USERADD_PACKAGES = "${PN}" | 63 | USERADD_PACKAGES = "${PN}" |