On Wed, 6 Jul 2016, Gary Thomas wrote:

,,, snip ...

> I do something like this in my machine layer, in a .u-boot-fw-utils_%.bbappend
> file:
>
> ====================================================================
> FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>
> SRC_URI += "file://fw_env.config"
>
> do_install_append() {
>    install -d ${D}${sysconfdir}
>    install -m 0644 ${WORKDIR}/fw_env.config ${D}${sysconfdir}/fw_env.config
> }
>
> PACKAGE_ARCH = "${MACHINE_ARCH}"
>
> ====================================================================
>
> Yes, this "installs" the same file twice, but it does what you
> need, it installs the desired file in the correct place. And, yes,
> it's too bad that this "info" is kept in two completely different
> recipes.

  that is, pretty much, line for line what i came up with as well. as
you suggest, it just seems ... sloppy.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to