Hi Devendra and Khem,

I'd like to ask about the 'recent' commit you integrated in the
android-tools recipe a few months ago:
http://git.openembedded.org/meta-openembedded/commit/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb?id=4271cc28279b79140fc6bbde32c9110aec8d1d86

Basically, you are adding a postprocess rootfs command to the $PN-adbd
package to include the '/var/usb-debugging-enabled' file in your
rootfs image or not using the 'ROOTFS_POSTPROCESS_COMMAND_${PN}-adbd
+=' line.
I wonder if this is a new feature or perhaps an error, as I'm trying
to implement it in dunfell and it does not work as expected. Should
this work also in dunfell? Are the rootfs postprocess commands
executed inside the recipe?

Well, what I'm trying to do is to include a configuration file for the
dropbear recipe based on the IMAGE_BASENAME so I can include different
files depending on the image at recipe level. It works fine if I move
everything to the image recipe:

meta-qtec-distro/recipes-core/dropbear $ cat dropbear_%.bbappend
dropbear () {
    touch ${IMAGE_ROOTFS}${sysconfdir}/file1
}

dropbear2 () {
    touch ${IMAGE_ROOTFS}${sysconfdir}/file2
}

PACKAGES =+ "${PN}-conf"

ROOTFS_POSTPROCESS_COMMAND_${PN}-conf +=
"${@bb.utils.contains("IMAGE_BASENAME", "poky-qtec-image-netboot",
"dropbear;", "dropbear2;", d)}"

Any ideas?
Thanks in advance!

Daniel
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158344): 
https://lists.openembedded.org/g/openembedded-core/message/158344
Mute This Topic: https://lists.openembedded.org/mt/87096196/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to