diff options
| -rw-r--r-- | meta-networking/recipes-protocols/quagga/quagga.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta-networking/recipes-protocols/quagga/quagga.inc b/meta-networking/recipes-protocols/quagga/quagga.inc index 2673a89769..310bc7eef0 100644 --- a/meta-networking/recipes-protocols/quagga/quagga.inc +++ b/meta-networking/recipes-protocols/quagga/quagga.inc | |||
| @@ -116,9 +116,9 @@ do_install () { | |||
| 116 | done | 116 | done |
| 117 | 117 | ||
| 118 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | 118 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
| 119 | install -d ${D}${sysconfdir}/tmpfiles.d | 119 | install -d ${D}${nonarch_libdir}/tmpfiles.d |
| 120 | echo "d /run/quagga 0755 quagga quagga -" \ | 120 | echo "d /run/quagga 0755 quagga quagga -" \ |
| 121 | > ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf | 121 | > ${D}${nonarch_libdir}/tmpfiles.d/${BPN}.conf |
| 122 | fi | 122 | fi |
| 123 | 123 | ||
| 124 | # Remove sysinit script if sysvinit is not in DISTRO_FEATURES | 124 | # Remove sysinit script if sysvinit is not in DISTRO_FEATURES |
| @@ -166,6 +166,8 @@ FILES_${PN}-ospfclient = "${sbindir}/ospfclient ${libdir}/libospfapiclient.so.* | |||
| 166 | FILES_${PN}-watchquagga = "${sbindir}/watchquagga ${sysconfdir}/default/watchquagga \ | 166 | FILES_${PN}-watchquagga = "${sbindir}/watchquagga ${sysconfdir}/default/watchquagga \ |
| 167 | ${sysconfdir}/init.d/watchquagga" | 167 | ${sysconfdir}/init.d/watchquagga" |
| 168 | 168 | ||
| 169 | FILES_${PN} += "${nonarch_libdir}/tmpfiles.d/*.conf" | ||
| 170 | |||
| 169 | # Indicate that the default files are configuration files | 171 | # Indicate that the default files are configuration files |
| 170 | CONFFILES_${PN} = "${sysconfdir}/default/quagga \ | 172 | CONFFILES_${PN} = "${sysconfdir}/default/quagga \ |
| 171 | ${sysconfdir}/quagga/bgpd.conf \ | 173 | ${sysconfdir}/quagga/bgpd.conf \ |
