From: Gary Thomas <gary@mlbassoc.com>
To: yocto@yoctoproject.org
Subject: Re: using do_install_append?
Date: Thu, 22 Oct 2015 12:54:20 -0600 [thread overview]
Message-ID: <562930DC.8020102@mlbassoc.com> (raw)
In-Reply-To: <167A17EDB344B047B2D335D8E4C5A2FAA4DE5180@EX2010-CO-02.AERO.BALL.com>
On 2015-10-22 12:26, Smith, Daniel W wrote:
> Hello,
>
> This seems like it should be an easy task, but perhaps I’m missing something very basic so it is not working.
>
> I have working recipe that installs the fluxbox window manager. However I want to customize the default runtime configuration files located in /usr/share/fluxbox. To do this I
> created fluxbox_1.3.5.bbappend in order to replace the default configuration files with my own.
>
> This file contains the following:
>
> FILESEXTRAPATHS_prepend_poky := "${THISDIR}/files:"
Have you tried leaving off the _poky qualifier? e.g.
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
>
> SRC_URI = "file://apps \
>
> file://init \
>
> file://keys \
>
> file://menu \
>
> file://overlay \
>
> file://windowmenu "
>
> #
>
> # Install the customized Fluxbox configuration files.
>
> #
>
> do_install_append() {
>
> install -m 0644 ${WORKDIR}/apps ${D}{datadir}/fluxbox/apps
>
> install -m 0644 ${WORKDIR}/init ${D}{datadir}/fluxbox/init
>
> install -m 0644 ${WORKDIR}/keys ${D}{datadir}/fluxbox/keys
>
> install -m 0644 ${WORKDIR}/menu ${D}{datadir}/fluxbox/menu
>
> install -m 0644 ${WORKDIR}/windowmenu ${D}{datadir}/fluxbox/windowmenu
>
> }
>
> However now when I bitbake fluxbox it fails to configure:
>
> ERROR: Function failed: fluxbox: LIC_FILES_CHKSUM points to an invalid file: /export/home/dwsmith/poky-fido-13.0.0/build/tmp/work/ppc7400-poky-linux/fluxbox/1.3.5-r0/git/COPYING
>
> ERROR: Logfile of failure stored in: /export/home/dwsmith/poky-fido-13.0.0/build/tmp/work/ppc7400-poky-linux/fluxbox/1.3.5-r0/temp/log.do_configure.32643
>
> Log data follows:
>
> | DEBUG: Executing python function sysroot_cleansstate
>
> | DEBUG: Python function sysroot_cleansstate finished
>
> | DEBUG: SITE files ['endian-big', 'bit-32', 'powerpc-common', 'common-linux', 'common-glibc', 'powerpc32-linux', 'powerpc-linux', 'common']
>
> | DEBUG: Executing shell function autotools_preconfigure
>
> | DEBUG: Shell function autotools_preconfigure finished
>
> | DEBUG: Executing python function autotools_copy_aclocals
>
> | DEBUG: Python function autotools_copy_aclocals finished
>
> | DEBUG: Executing shell function do_configure
>
> | NOTE: nothing to configure
>
> | DEBUG: Shell function do_configure finished
>
> | DEBUG: Executing python function do_qa_configure
>
> | NOTE: Checking autotools environment for common misconfiguration
>
> | DEBUG: Python function do_qa_configure finished
>
> | ERROR: Function failed: fluxbox: LIC_FILES_CHKSUM points to an invalid file: /export/home/dwsmith/poky-fido-13.0.0/build/tmp/work/ppc7400-poky-linux/fluxbox/1.3.5-r0/git/COPYING
>
> ERROR: Task 5 (/export/home/dwsmith/poky-fido-13.0.0/meta-lightwm-master/recipes-fluxbox/fluxbox/fluxbox_1.3.5.bb, do_configure) failed with exit code '1'
>
> NOTE: Tasks Summary: Attempted 793 tasks of which 792 didn't need to be rerun and 1 failed.
>
> Why would adding a do_install_append cause the config to now fail? What am I missing? I can remove fluxbox_1.3.5.bbappend and it works fine, so there is obviously something I’m
> not doing right.
>
> Thanks for nay help you can provide.
>
> -Daniel Smith
>
>
>
> This message and any enclosures are intended only for the addressee. Please
> notify the sender by email if you are not the intended recipient. If you are
> not the intended recipient, you may not use, copy, disclose, or distribute this
> message or its contents or enclosures to any other person and any such actions
> may be unlawful. Ball reserves the right to monitor and review all messages
> and enclosures sent to or from this email address.
>
>
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
next prev parent reply other threads:[~2015-10-22 18:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-22 18:26 using do_install_append? Smith, Daniel W
2015-10-22 18:54 ` Gary Thomas [this message]
2015-10-22 19:06 ` Gary Thomas
2015-10-22 19:18 ` Smith, Daniel W
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=562930DC.8020102@mlbassoc.com \
--to=gary@mlbassoc.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.