Patchwork [meta-oe] busybox 1.19.4 bbapped: create dir before installing into it, fixes build failures on the autobuilder

login
register
mail settings
Submitter Koen Kooi
Date April 27, 2012, 12:57 p.m.
Message ID <1335531435-25806-1-git-send-email-koen@dominion.thruhere.net>
Download mbox | patch
Permalink /patch/26525/
State Accepted
Commit 83aaa60d4934a70084a846a0e6d240c09dbc66a9
Headers show

Comments

Koen Kooi - April 27, 2012, 12:57 p.m.
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
 meta-oe/recipes-core/busybox/busybox_1.19.4.bbappend |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Martin Jansa - April 27, 2012, 6:32 p.m.
On Fri, Apr 27, 2012 at 02:57:15PM +0200, Koen Kooi wrote:
> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>

Acked-by: Martin Jansa <Martin.Jansa@gmail.com>

> ---
>  meta-oe/recipes-core/busybox/busybox_1.19.4.bbappend |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/meta-oe/recipes-core/busybox/busybox_1.19.4.bbappend b/meta-oe/recipes-core/busybox/busybox_1.19.4.bbappend
> index 2c73732..786e1d5 100644
> --- a/meta-oe/recipes-core/busybox/busybox_1.19.4.bbappend
> +++ b/meta-oe/recipes-core/busybox/busybox_1.19.4.bbappend
> @@ -1,6 +1,6 @@
>  inherit systemd
>  
> -PRINC := "${@int(PRINC) + 3}"
> +PRINC := "${@int(PRINC) + 4}"
>  
>  # look for files in the layer first
>  FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> @@ -16,6 +16,7 @@ do_install_append() {
>  	install -d ${D}${sysconfdir}/default
>  	install -m 0644 ${WORKDIR}/busybox-syslog.default ${D}${sysconfdir}/default/busybox-syslog
>  
> +	install -d ${D}${systemd_unitdir}/system
>  	sed 's,@base_sbindir@,${base_sbindir},g' < ${WORKDIR}/busybox-syslog.service.in \
>  	     > ${D}${systemd_unitdir}/system/busybox-syslog.service
>  	sed 's,@base_sbindir@,${base_sbindir},g' < ${WORKDIR}/busybox-klogd.service.in \
> -- 
> 1.7.10
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Patch

diff --git a/meta-oe/recipes-core/busybox/busybox_1.19.4.bbappend b/meta-oe/recipes-core/busybox/busybox_1.19.4.bbappend
index 2c73732..786e1d5 100644
--- a/meta-oe/recipes-core/busybox/busybox_1.19.4.bbappend
+++ b/meta-oe/recipes-core/busybox/busybox_1.19.4.bbappend
@@ -1,6 +1,6 @@ 
 inherit systemd
 
-PRINC := "${@int(PRINC) + 3}"
+PRINC := "${@int(PRINC) + 4}"
 
 # look for files in the layer first
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
@@ -16,6 +16,7 @@  do_install_append() {
 	install -d ${D}${sysconfdir}/default
 	install -m 0644 ${WORKDIR}/busybox-syslog.default ${D}${sysconfdir}/default/busybox-syslog
 
+	install -d ${D}${systemd_unitdir}/system
 	sed 's,@base_sbindir@,${base_sbindir},g' < ${WORKDIR}/busybox-syslog.service.in \
 	     > ${D}${systemd_unitdir}/system/busybox-syslog.service
 	sed 's,@base_sbindir@,${base_sbindir},g' < ${WORKDIR}/busybox-klogd.service.in \