From: Gyorgy Sarvari <skandigraun@gmail.com>
To: emailaddress.ashish@gmail.com, openembedded-devel@lists.openembedded.org
Subject: Re: [oe] [RFC] : android-tools: move from dynamic-layers/selinux to meta-oe
Date: Fri, 27 Mar 2026 12:00:36 +0100 [thread overview]
Message-ID: <56860348-9de9-42c2-8a81-45cecb5c4c07@gmail.com> (raw)
In-Reply-To: <nvKR.1774599445194524365.rAwa@lists.openembedded.org>
Personally I think you should just break this into two patches (one
patch to delete the old, one to move the other - due to the size, it
will be easier to skim through), and then send as a final patch and wait
to see what happens.
On 3/27/26 09:17, Ashish Mishra via lists.openembedded.org wrote:
> Hello Community Members,
>
> I would like to propose a change to move android-tools from dynamic-
> layer/selinux directly to meta-oe/recipes-devtools
>
>
> *1) Problem*
> Currently android-tools has two recipe at different layers
> meta-oe/recipes-devtools/android-tools/android-tools_29.0.6.r14.bb
> meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.b
>
> This is code duplication and most of common user have to use older 5.1
> series
>
> *2) Proposed Change
> *We started this approach as an suggestion from Gyorgy
> Re: [meta-oe][PATCH v2] image_types_sparse: switch ext* conversion to
> ext2simg_android <https://lists.openembedded.org/g/openembedded-devel/
> message/125525>
> We implemented the changes and verified locally
>
> ~/upstream-yocto/build/tmp/work/x86_64-linux/android-tools-
> native/29.0.6.r14/image/home/ashish/upstream-yocto/build/tmp/work/
> x86_64-linux/android-tools-native/29.0.6.r14/recipe-sysroot-native/usr/
> bin : ls
> adb fastboot img2simg simg2img
> ~/upstream-yocto/build/tmp/work/x86_64-linux/android-tools-
> native/29.0.6.r14/image/home/ashish/upstream-yocto/build/tmp/work/
> x86_64-linux/android-tools-native/29.0.6.r14/recipe-sysroot-native/usr/
> bin : ./fastboot --version
> fastboot version -debian
> Installed as /home/ashish/upstream-yocto/build/tmp/work/x86_64-linux/
> android-tools-native/29.0.6.r14/image/home/ashish/upstream-yocto/build/
> tmp/work/x86_64-linux/android-tools-native/29.0.6.r14/recipe-sysroot-
> native/usr/bin/fastboot
> ~/upstream-yocto/build/tmp/work/x86_64-linux/android-tools-
> native/29.0.6.r14/image/home/ashish/upstream-yocto/build/tmp/work/
> x86_64-linux/android-tools-native/29.0.6.r14/recipe-sysroot-native/usr/
> bin : ./img2simg --version
> Usage: img2simg <raw_image_file> <sparse_image_file> [<block_size>]
> ~/upstream-yocto/build/tmp/work/x86_64-linux/android-tools-
> native/29.0.6.r14/image/home/ashish/upstream-yocto/build/tmp/work/
> x86_64-linux/android-tools-native/29.0.6.r14/recipe-sysroot-native/usr/
> bin : ./simg2img --version
> Usage: simg2img <sparse_image_files> <raw_image_file>
> ~/upstream-yocto/build/tmp/work/x86_64-linux/android-tools-
> native/29.0.6.r14/image/home/ashish/upstream-yocto/build/tmp/work/
> x86_64-linux/android-to[0/1728]ve/29.0.6.r14/recipe-sysroot-native/usr/
> bin : ./adb --version
> ./adb: error while loading shared libraries: libbase.so.0: cannot open
> shared object file: No such file or directory
> ~/upstream-yocto/build/tmp/work/x86_64-linux/android-tools-
> native/29.0.6.r14/image/home/ashish/upstream-yocto/build/tmp/work/
> x86_64-linux/android-tools-native/29.0.6.r14/recipe-sysroot-native/usr/
> bin : ls
> adb fastboot img2simg simg2img
> ~/upstream-yocto/build/tmp/work/x86_64-linux/android-tools-
> native/29.0.6.r14/image/home/ashish/upstream-yocto/build/tmp/work/
> x86_64-linux/android-tools-native/29.0.6.r14/recipe-sysroot-native/usr/
> bin : ldd adb | grep selinux
> ~/upstream-yocto/build/tmp/work/x86_64-linux/android-tools-
> native/29.0.6.r14/image/home/ashish/upstream-yocto/build/tmp/work/
> x86_64-linux/android-tools-native/29.0.6.r14/recipe-sysroot-native/usr/
> bin : ldd fastboot | grep selinux
> ~/upstream-yocto/build/tmp/work/x86_64-linux/android-tools-
> native/29.0.6.r14/image/home/ashish/upstream-yocto/build/tmp/work/
> x86_64-linux/android-tools-native/29.0.6.r14/recipe-sysroot-native/usr/
> bin : ldd img2simg | grep selinux
> ~/upstream-yocto/build/tmp/work/x86_64-linux/android-tools-
> native/29.0.6.r14/image/home/ashish/upstream-yocto/build/tmp/work/
> x86_64-linux/android-tools-native/29.0.6.r14/recipe-sysroot-native/usr/
> bin : ldd simg2img | grep selinux
> ~/upstream-yocto/build/tmp/work/x86_64-linux/android-tools-
> native/29.0.6.r14/image/home/ashish/upstream-yocto/build/tmp/work/
> x86_64-linux/android-tools-native/29.0.6.r14/recipe-sysroot-native/usr/bin :
>
>
> Attached along is the patch for review
>
>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#125779): https://lists.openembedded.org/g/openembedded-devel/message/125779
> Mute This Topic: https://lists.openembedded.org/mt/118531349/6084445
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [skandigraun@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
prev parent reply other threads:[~2026-03-27 11:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-27 8:17 [RFC] : android-tools: move from dynamic-layers/selinux to meta-oe Ashish Mishra
2026-03-27 11:00 ` Gyorgy Sarvari [this message]
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=56860348-9de9-42c2-8a81-45cecb5c4c07@gmail.com \
--to=skandigraun@gmail.com \
--cc=emailaddress.ashish@gmail.com \
--cc=openembedded-devel@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox