[oe] [meta-oe][PATCH] busybox: create /etc/default on do_install

Andreas Oberritter obi at opendreambox.org
Thu Feb 16 02:06:55 UTC 2012


* 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>
---
 .../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
-- 
1.7.5.4





More information about the Openembedded-devel mailing list