Re: [yocto] How do I create a recipe for laying down post-build config files?

2014-06-13 Thread Jim Rafert
Well, now that I've resolved my spelling error, the build succeeds, but my pkg_postinst_${PN} () function doesn't seem to run. I suppose I'm resigned to making .bbappend recipes to lay down my revised version of the config files. at least they can all be localized in a layer. Sometimes you

Re: [yocto] How do I create a recipe for laying down post-build config files?

2014-06-10 Thread Jens Lucius
Hi I am using a very minimal .bb for this. DESCRIPTION = Install additional files LICENSE = CLOSED SECTION = base PR = r0 SRC_URI = file://autoinstaller.sh S = ${WORKDIR} do_install () { install -d ${D}/usr/bin install -m 755 ${S}/autoinstaller.sh ${D}/usr/bin } Am 09.06.2014 23:44,

Re: [yocto] How do I create a recipe for laying down post-build config files?

2014-06-10 Thread Paul Eggleton
Hi Jim, On Monday 09 June 2014 21:44:00 Jim Rafert wrote: I'm trying to gather all my post-build tweaks into a recipe that will be built as part of an upper-level layer, so that they are installed after the meta layer is processed. Many of these could be accomplished as part of .bbappend

Re: [yocto] How do I create a recipe for laying down post-build config files?

2014-06-10 Thread Alex J Lennon
On 09/06/2014 22:44, Jim Rafert wrote: I'm trying to gather all my post-build tweaks into a recipe that will be built as part of an upper-level layer, so that they are installed after the meta layer is processed. Many of these could be accomplished as part of .bbappend files for the recipes

Re: [yocto] How do I create a recipe for laying down post-build config files?

2014-06-10 Thread Maxim Radugin
Hello Jim, I don't think this is a good idea to put all the config files for different packages in one recipe. IMHO you should use .bbappend file for each recipe you are overriding/modifying files for, otherwise you can run into situation when, you recipe gets installed before, for example, grub.

[yocto] How do I create a recipe for laying down post-build config files?

2014-06-09 Thread Jim Rafert
I'm trying to gather all my post-build tweaks into a recipe that will be built as part of an upper-level layer, so that they are installed after the meta layer is processed. Many of these could be accomplished as part of .bbappend files for the recipes that originally supply the config files,