diff options
author | Andreas Oberritter <obi@opendreambox.org> | 2012-02-16 02:06:55 +0000 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-02-20 22:55:28 +0100 |
commit | 143367e4f584ea7054dca2a466f410a46d02e6b1 (patch) | |
tree | 345bdafb9df80c36fd6772d62c43c6d9c794d02d | |
parent | 8a52afacc7532ce3550ba541a92a83b07fed1e93 (diff) | |
download | meta-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>
-rw-r--r-- | meta-oe/recipes-core/busybox/busybox_1.19.3.bbappend | 1 |
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 7e72a43a4..98b959fdf 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" | |||
13 | SYSTEMD_SERVICE_${PN}-syslog-systemd = "busybox-syslog.service" | 13 | SYSTEMD_SERVICE_${PN}-syslog-systemd = "busybox-syslog.service" |
14 | 14 | ||
15 | do_install_append() { | 15 | do_install_append() { |
16 | install -d ${D}${sysconfdir}/default | ||
16 | install -m 0644 ${WORKDIR}/busybox-syslog.default ${D}${sysconfdir}/default/busybox-syslog | 17 | install -m 0644 ${WORKDIR}/busybox-syslog.default ${D}${sysconfdir}/default/busybox-syslog |
17 | 18 | ||
18 | install -d ${D}${base_libdir}/systemd/system | 19 | install -d ${D}${base_libdir}/systemd/system |