aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-core
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2012-02-16 02:06:55 +0000
committerKoen Kooi <koen@dominion.thruhere.net>2012-02-20 22:55:28 +0100
commit143367e4f584ea7054dca2a466f410a46d02e6b1 (patch)
tree345bdafb9df80c36fd6772d62c43c6d9c794d02d /meta-oe/recipes-core
parent8a52afacc7532ce3550ba541a92a83b07fed1e93 (diff)
downloadmeta-openembedded-143367e4f584ea7054dca2a466f410a46d02e6b1.tar.gz
busybox: create /etc/default on do_install
* Currently, it's blindly assumed that /etc/default exists, when busybox-syslog gets copied into it. This only works by chance and only if CONFIG_HWCLOCK=y is set. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-core')
-rw-r--r--meta-oe/recipes-core/busybox/busybox_1.19.3.bbappend1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/busybox/busybox_1.19.3.bbappend b/meta-oe/recipes-core/busybox/busybox_1.19.3.bbappend
index 7e72a43a44..98b959fdf1 100644
--- a/meta-oe/recipes-core/busybox/busybox_1.19.3.bbappend
+++ b/meta-oe/recipes-core/busybox/busybox_1.19.3.bbappend
@@ -13,6 +13,7 @@ SYSTEMD_PACKAGES = "${PN}-syslog-systemd"
SYSTEMD_SERVICE_${PN}-syslog-systemd = "busybox-syslog.service"
do_install_append() {
+ install -d ${D}${sysconfdir}/default
install -m 0644 ${WORKDIR}/busybox-syslog.default ${D}${sysconfdir}/default/busybox-syslog
install -d ${D}${base_libdir}/systemd/system