[oe-commits] Andreas Oberritter : busybox: create /etc/default on do_install
git at git.openembedded.org
git at git.openembedded.org
Mon Feb 20 21:57:28 UTC 2012
Module: meta-openembedded.git
Branch: master
Commit: 143367e4f584ea7054dca2a466f410a46d02e6b1
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=143367e4f584ea7054dca2a466f410a46d02e6b1
Author: Andreas Oberritter <obi at opendreambox.org>
Date: Thu Feb 16 02:06:55 2012 +0000
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 at opendreambox.org>
Acked-by: Otavio Salvador <otavio at ossystems.com.br>
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
---
.../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 7e72a43..98b959f 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
More information about the Openembedded-commits
mailing list