All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ashish Mishra" <emailaddress.ashish@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe][PATCH v2] image_types_sparse: switch ext* conversion to ext2simg_android
Date: Thu, 26 Mar 2026 02:15:30 -0700	[thread overview]
Message-ID: <17335.1774516530230049372@lists.openembedded.org> (raw)
In-Reply-To: <561924.1774347640737667744@lists.openembedded.org>

[-- Attachment #1: Type: text/plain, Size: 4125 bytes --]

Hi Gyorgy / Maintainers / Members,

I tried getting the android-tools in meta-oe and was able to get complete functionality tweaked accordingly
1) Should i send an RFC to move android-tools out from dynamic-layer to meta-oe seprately now?
2) I did below quick check locally :
a) Checked by running the native-binary on host
b) Also checked if selinux is linked to these binary using LDD , below are the log
- Is there any other check you want me to do before sharing the patch (or android-tools RFC as per suggestion )

If upstream accepts RFC to move android-tools from dynamic to meta-oe/recipes-devtool , i can rework the e2fsprogfs using PACKAGECONFIG
So effectively we will have:
meta-oe/recipes-devtools/e2fsprogs-ext4sparse/
meta-oe/recipes-devtools/android-tools/android-tools_29.0.6.r14.bb
meta-oe/classes/image_types_sparse.bbclass

Please feel
Thanks,
Ashish

Summary :-

* Able to compile the higher version of / *android-tools-native/29.0.6.r14* ** without selinux dependency
* Cross checked using ldd is selinux dependency in final binary

Logs :-

~/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 :

[-- Attachment #2: Type: text/html, Size: 7653 bytes --]

  reply	other threads:[~2026-03-26  9:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-23  9:15 [meta-oe][PATCH v2] image_types_sparse: switch ext* conversion to ext2simg_android Ashish Kumar Mishra
2026-03-23 18:03 ` [oe] " Gyorgy Sarvari
     [not found] ` <189F8A77E50C1281.1003@lists.openembedded.org>
2026-03-23 19:09   ` Gyorgy Sarvari
2026-03-24  5:40 ` Gyorgy Sarvari
2026-03-24  6:10   ` Ashish Mishra
2026-03-24 10:20     ` Ashish Mishra
2026-03-26  9:15       ` Ashish Mishra [this message]
2026-03-27  8:19         ` Ashish Mishra

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=17335.1774516530230049372@lists.openembedded.org \
    --to=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 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.