From 57b88ab2a09fd231c70cf45cd2b92d89eb2ea4ea Mon Sep 17 00:00:00 2001 From: Andreas Oberritter Date: Thu, 16 Feb 2012 02:06:55 +0000 Subject: [PATCH] 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. (From meta-openembedded rev: 143367e4f584ea7054dca2a466f410a46d02e6b1) Signed-off-by: Andreas Oberritter Acked-by: Otavio Salvador Signed-off-by: Koen Kooi Signed-off-by: Patrick Ohly --- meta-openembedded/meta-oe/recipes-core/busybox/busybox_1.19.3.bbappend | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-openembedded/meta-oe/recipes-core/busybox/busybox_1.19.3.bbappend b/meta-openembedded/meta-oe/recipes-core/busybox/busybox_1.19.3.bbappend index 7e72a43..98b959f 100644 --- a/meta-openembedded/meta-oe/recipes-core/busybox/busybox_1.19.3.bbappend +++ b/meta-openembedded/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 -- 2.7.4