android-tools: migration and cleanup
v4 cover android-tools: migration and cleanup
From: AshishKumar Mishra <[email protected]>
Following the feedback on the initial RFC, the logic has been split into two distinct commits to improve clarity and maintainability:
1. Removal of the legacy android-tools 5.x version from meta-oe/recipes-devtools.
2. Migration of android-tools v29.x from dynamic-layers/selinux to meta-oe.
3. Removes selinux dependency
4. Fixes aarch64-yoe-linux-clang++: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated [-Wdeprecated]
- This ensures the newer version is correctly positioned in meta-oe while cleaning up the deprecated 5.x recipe.
AshishKumar Mishra (4):
android-tools: remove android-tools 5.x from meta-oe/recipes-devtools
android-tools: move android-tools v29.x from dynamic-layers/selinux to
meta-oe
android-tools: removes selinux dependency from
android-tools_29.0.6.r14.bb
android-tools: fix deprecated header warning from clang
.../android-tools-conf/android-gadget-setup | 37 --
.../android-tools/android-tools-conf_1.0.bb | 20 -
.../android-tools/android-tools/adbd.mk | 87 -----
.../android-tools/android-tools-adbd.service | 13 -
.../10-adbd-configfs.conf | 4 -
.../android-gadget-cleanup | 24 --
.../android-gadget-setup | 38 --
.../android-gadget-start | 9 -
.../android-tools-conf-configfs_1.0.bb | 38 --
.../android-tools/android-tools-conf_1.0.bb | 4 +-
.../0001-Fixes-for-yocto-build.patch | 0
.../0001-liblp-fix-building-with-GCC-14.patch | 0
...difications-to-make-it-build-in-yoct.patch | 0
...usbdevfs_urb-to-match-new-kernel-UAP.patch | 0
...-adb-Fix-build-on-big-endian-systems.patch | 0
...005-adb-Allow-adbd-to-be-run-as-root.patch | 0
.../android-tools/android-tools/adb.mk | 72 ----
.../android-tools/android-tools/adbd.mk | 250 +++++-------
...scv-Add-risc-v-Android-config-header.patch | 361 ------------------
.../0001-adb-remove-selinux-extensions.patch | 44 ---
...define-strlcpy-for-glibc-based-syste.patch | 35 --
...-Use-local-sockets-where-appropriate.patch | 70 ----
.../core/0003-adb-define-shell-command.patch | 29 --
...-adb-Fix-build-on-big-endian-systems.patch | 47 ---
.../0005-adb-add-base64-implementation.patch | 350 -----------------
.../core/0006-adb-Musl-fixes.patch | 130 -------
...sb_linux.c-fix-build-with-glibc-2.28.patch | 26 --
...008-adb-Allow-adbd-to-be-ran-as-root.patch | 23 --
...Add-dt-parameter-to-specify-DT-image.patch | 110 ------
...ux-capability.h-on-linux-systems-too.patch | 23 --
.../0011-Remove-bionic-specific-calls.patch | 64 ----
...laration-of-stlcat-strlcopy-function.patch | 50 ---
.../core/0013-adb-Support-riscv64.patch | 191 ---------
...add-u3-ss-descriptor-support-for-adb.patch | 344 -----------------
...off-most-of-sparse_file_read_normal-.patch | 60 ---
...se-Add-hole-mode-to-sparse_file_read.patch | 188 ---------
...port-for-converting-holes-to-don-t-c.patch | 114 ------
.../android-tools/core/adb_libssl_11.diff | 48 ---
.../core/b64_pton_function_decl.patch | 14 -
.../debian/Add-riscv64-support.patch | 0
.../debian/Added-missing-headers.patch | 0
.../android-tools/debian/Nonnull.patch | 0
.../android-tools/debian/Vector-cast.patch | 0
.../debian/add-missing-headers.patch | 0
.../20150704-CVE-2015-3239_dwarf_i.h.patch | 0
.../legacy_built-in_sync_functions.patch | 0
...nd-fix-strchr-conformance-to-ISO-C23.patch | 0
...unreachable-macro-to-avoid-redefinit.patch | 0
.../external/libunwind/user_pt_regs.patch | 0
.../debian/fix-attribute-issue-with-gcc.patch | 0
.../debian/fix-build-on-non-x86.patch | 0
.../fix-gettid-exception-declaration.patch | 0
.../fix-standard-namespace-errors.patch | 0
.../debian/hard-code-build-number.patch | 0
.../debian/libusb-header-path.patch | 0
.../debian/move-log-file-to-proper-dir.patch | 0
.../debian/simg_dump-python3.patch | 0
.../android-tools/debian/stdatomic.patch | 0
.../debian/stub-out-fastdeploy.patch | 0
.../system/core/Add-riscv64-support.patch | 0
.../system/core/Added-missing-headers.patch | 0
.../debian/system/core/Nonnull.patch | 0
.../debian/system/core/Vector-cast.patch | 0
.../system/core/add-missing-headers.patch | 0
...ope-write-macro-to-prevent-conflict-.patch | 0
.../core/fix-attribute-issue-with-gcc.patch | 0
.../system/core/fix-build-on-non-x86.patch | 0
.../fix-gettid-exception-declaration.patch | 0
.../core/fix-standard-namespace-errors.patch | 0
.../system/core/hard-code-build-number.patch | 0
.../system/core/libusb-header-path.patch | 0
...x-missing-fixed-width-integer-types-.patch | 0
.../core/move-log-file-to-proper-dir.patch | 0
.../system/core/simg_dump-python3.patch | 0
.../debian/system/core/stdatomic.patch | 0
.../system/core/stub-out-fastdeploy.patch | 0
.../core/throw-exception-on-unknown-os.patch | 0
.../throw-exception-on-unknown-os.patch | 0
.../android-tools/android-tools/ext4_utils.mk | 103 -----
...ext4_utils-remove-selinux-extensions.patch | 39 --
...add-o-argument-to-preserve-ownership.patch | 78 ----
...unused-parameter-from-allocate_inode.patch | 69 ----
.../android-tools/android-tools/fastboot.mk | 89 -----
.../android-tools/android-tools/gitignore | 59 ---
.../0001-Remove-bionic-specific-calls.patch | 25 --
...t-define-gettid-if-glibc-2.30-is-use.patch | 51 ---
.../android-tools/android-tools/mkbootimg.mk | 29 --
.../android-tools/android-tools/remount | 0
.../android-tools/rules_yocto.mk | 0
.../android-tools/android-tools_29.0.6.r14.bb | 5 +-
.../android-tools/android-tools_5.1.1.r37.bb | 189 ---------
91 files changed, 93 insertions(+), 3560 deletions(-)
delete mode 100644 meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf/android-gadget-setup
delete mode 100644 meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf_1.0.bb
delete mode 100644 meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/adbd.mk
delete mode 100644 meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/android-tools-adbd.service
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/10-adbd-configfs.conf
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-cleanup
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-setup
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-start
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs_1.0.bb
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/0001-Fixes-for-yocto-build.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/0001-liblp-fix-building-with-GCC-14.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/0002-android-tools-modifications-to-make-it-build-in-yoct.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/0003-Update-usage-of-usbdevfs_urb-to-match-new-kernel-UAP.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/0004-adb-Fix-build-on-big-endian-systems.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/0005-adb-Allow-adbd-to-be-run-as-root.patch (100%)
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/adb.mk
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/build/0001-Riscv-Add-risc-v-Android-config-header.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0001-adb-remove-selinux-extensions.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0001-memory.h-Always-define-strlcpy-for-glibc-based-syste.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0002-adb-Use-local-sockets-where-appropriate.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0003-adb-define-shell-command.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0004-adb-Fix-build-on-big-endian-systems.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0005-adb-add-base64-implementation.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0006-adb-Musl-fixes.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0007-adb-usb_linux.c-fix-build-with-glibc-2.28.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0008-adb-Allow-adbd-to-be-ran-as-root.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0009-mkbootimg-Add-dt-parameter-to-specify-DT-image.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0010-Use-linux-capability.h-on-linux-systems-too.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0011-Remove-bionic-specific-calls.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0012-Fix-implicit-declaration-of-stlcat-strlcopy-function.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0013-adb-Support-riscv64.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0014-add-u3-ss-descriptor-support-for-adb.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0015-libsparse-Split-off-most-of-sparse_file_read_normal-.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0016-libsparse-Add-hole-mode-to-sparse_file_read.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0017-img2simg-Add-support-for-converting-holes-to-don-t-c.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/adb_libssl_11.diff
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/b64_pton_function_decl.patch
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/Add-riscv64-support.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/Added-missing-headers.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/Nonnull.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/Vector-cast.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/add-missing-headers.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/external/libunwind/20150704-CVE-2015-3239_dwarf_i.h.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/external/libunwind/legacy_built-in_sync_functions.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/external/libunwind/libunwind-fix-strchr-conformance-to-ISO-C23.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/external/libunwind/libunwind-guard-unreachable-macro-to-avoid-redefinit.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/external/libunwind/user_pt_regs.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/fix-attribute-issue-with-gcc.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/fix-build-on-non-x86.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/fix-gettid-exception-declaration.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/fix-standard-namespace-errors.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/hard-code-build-number.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/libusb-header-path.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/move-log-file-to-proper-dir.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/simg_dump-python3.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/stdatomic.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/stub-out-fastdeploy.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/Add-riscv64-support.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/Added-missing-headers.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/Nonnull.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/Vector-cast.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/add-missing-headers.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/android-tools-scope-write-macro-to-prevent-conflict-.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/fix-attribute-issue-with-gcc.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/fix-build-on-non-x86.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/fix-gettid-exception-declaration.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/fix-standard-namespace-errors.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/hard-code-build-number.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/libusb-header-path.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/libziparchive-fix-missing-fixed-width-integer-types-.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/move-log-file-to-proper-dir.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/simg_dump-python3.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/stdatomic.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/stub-out-fastdeploy.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/throw-exception-on-unknown-os.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/throw-exception-on-unknown-os.patch (100%)
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/ext4_utils.mk
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/extras/0001-ext4_utils-remove-selinux-extensions.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/extras/0002-ext4_utils-add-o-argument-to-preserve-ownership.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/extras/0003-ext4_utils-drop-unused-parameter-from-allocate_inode.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/fastboot.mk
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/gitignore
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/libselinux/0001-Remove-bionic-specific-calls.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/libselinux/0001-libselinux-Do-not-define-gettid-if-glibc-2.30-is-use.patch
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/mkbootimg.mk
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/remount (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/rules_yocto.mk (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools_29.0.6.r14.bb (97%)
delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bbSignature · 1 line
2.43.0
PATCH v4 1/4 android-tools: remove android-tools 5.x from meta-oe/recipes-devtools
From: AshishKumar Mishra <[email protected]>
We plan to upgrade android-tools from the legacy 5.1.1 version to 29.0.6.r14 To achive this we are removing the older version from meta-oe/recipes-devtools/
--- .../10-adbd-configfs.conf | 4 - .../android-gadget-cleanup | 24 -- .../android-gadget-setup | 38 -- .../android-gadget-start | 9 - .../android-tools-conf-configfs_1.0.bb | 38 -- .../android-tools-conf/android-gadget-setup | 37 -- .../android-tools/android-tools-conf_1.0.bb | 22 -- .../android-tools/android-tools/adb.mk | 72 ---- .../android-tools/android-tools/adbd.mk | 164 -------- .../android-tools/android-tools-adbd.service | 13 - ...scv-Add-risc-v-Android-config-header.patch | 361 ------------------ .../0001-adb-remove-selinux-extensions.patch | 44 --- ...define-strlcpy-for-glibc-based-syste.patch | 35 -- ...-Use-local-sockets-where-appropriate.patch | 70 ---- .../core/0003-adb-define-shell-command.patch | 29 -- ...-adb-Fix-build-on-big-endian-systems.patch | 47 --- .../0005-adb-add-base64-implementation.patch | 350 ----------------- .../core/0006-adb-Musl-fixes.patch | 130 ------- ...sb_linux.c-fix-build-with-glibc-2.28.patch | 26 -- ...008-adb-Allow-adbd-to-be-ran-as-root.patch | 23 -- ...Add-dt-parameter-to-specify-DT-image.patch | 110 ------ ...ux-capability.h-on-linux-systems-too.patch | 23 -- .../0011-Remove-bionic-specific-calls.patch | 64 ---- ...laration-of-stlcat-strlcopy-function.patch | 50 --- .../core/0013-adb-Support-riscv64.patch | 191 --------- ...add-u3-ss-descriptor-support-for-adb.patch | 344 ----------------- ...off-most-of-sparse_file_read_normal-.patch | 60 --- ...se-Add-hole-mode-to-sparse_file_read.patch | 188 --------- ...port-for-converting-holes-to-don-t-c.patch | 114 ------ .../android-tools/core/adb_libssl_11.diff | 48 --- .../core/b64_pton_function_decl.patch | 14 - .../android-tools/android-tools/ext4_utils.mk | 103 ----- ...ext4_utils-remove-selinux-extensions.patch | 39 -- ...add-o-argument-to-preserve-ownership.patch | 78 ---- ...unused-parameter-from-allocate_inode.patch | 69 ---- .../android-tools/android-tools/fastboot.mk | 89 ----- .../android-tools/android-tools/gitignore | 59 --- .../0001-Remove-bionic-specific-calls.patch | 25 -- ...t-define-gettid-if-glibc-2.30-is-use.patch | 51 --- .../android-tools/android-tools/mkbootimg.mk | 29 -- .../android-tools/android-tools_5.1.1.r37.bb | 189 --------- 41 files changed, 3473 deletions(-) delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/10-adbd-configfs.conf delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-cleanup delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-setup delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-start delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs_1.0.bb delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools-conf/android-gadget-setup delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools-conf_1.0.bb delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/adb.mk delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/adbd.mk delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/android-tools-adbd.service delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/build/0001-Riscv-Add-risc-v-Android-config-header.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0001-adb-remove-selinux-extensions.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0001-memory.h-Always-define-strlcpy-for-glibc-based-syste.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0002-adb-Use-local-sockets-where-appropriate.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0003-adb-define-shell-command.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0004-adb-Fix-build-on-big-endian-systems.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0005-adb-add-base64-implementation.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0006-adb-Musl-fixes.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0007-adb-usb_linux.c-fix-build-with-glibc-2.28.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0008-adb-Allow-adbd-to-be-ran-as-root.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0009-mkbootimg-Add-dt-parameter-to-specify-DT-image.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0010-Use-linux-capability.h-on-linux-systems-too.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0011-Remove-bionic-specific-calls.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0012-Fix-implicit-declaration-of-stlcat-strlcopy-function.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0013-adb-Support-riscv64.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0014-add-u3-ss-descriptor-support-for-adb.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0015-libsparse-Split-off-most-of-sparse_file_read_normal-.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0016-libsparse-Add-hole-mode-to-sparse_file_read.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/0017-img2simg-Add-support-for-converting-holes-to-don-t-c.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/adb_libssl_11.diff delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/core/b64_pton_function_decl.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/ext4_utils.mk delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/extras/0001-ext4_utils-remove-selinux-extensions.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/extras/0002-ext4_utils-add-o-argument-to-preserve-ownership.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/extras/0003-ext4_utils-drop-unused-parameter-from-allocate_inode.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/fastboot.mk delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/gitignore delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/libselinux/0001-Remove-bionic-specific-calls.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/libselinux/0001-libselinux-Do-not-define-gettid-if-glibc-2.30-is-use.patch delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/mkbootimg.mk delete mode 100644 meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb
meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/10-adbd-configfs.conf deleted +0 -4
@@ -1,4 +0,0 @@ -[Service] -ExecStartPre=/usr/bin/android-gadget-setup -ExecStartPost=/usr/bin/android-gadget-start -ExecStopPost=/usr/bin/android-gadget-cleanup
meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-cleanup deleted +0 -24
@@ -1,24 +0,0 @@ -#!/bin/sh - -[ -d /sys/kernel/config/usb_gadget ] || exit 0 - -cd /sys/kernel/config/usb_gadget - -cd adb - -echo -n "" > UDC || true - -killall adbd || true - -umount /dev/usb-ffs/adb - -rm configs/c.1/ffs.usb0 - -rmdir configs/c.1/strings/0x409 -rmdir configs/c.1 - -rmdir functions/ffs.usb0 -rmdir strings/0x409 - -cd .. -rmdir adb
meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-setup deleted +0 -38
@@ -1,38 +0,0 @@ -#!/bin/sh - -set -e - -conf="Conf 1" -manufacturer=RPB -model="Android device" -product=0xd002 -serial=0123456789ABCDEF -vendor=0x18d1 - -if [ -r /etc/android-gadget-setup.machine ] ; then - . /etc/android-gadget-setup.machine -fi - -[ -d /sys/kernel/config/usb_gadget ] || modprobe libcomposite - -cd /sys/kernel/config/usb_gadget - -[ -d adb ] && /usr/bin/android-gadget-cleanup || true - -mkdir adb -cd adb - -mkdir configs/c.1 -mkdir functions/ffs.usb0 -mkdir strings/0x409 -mkdir configs/c.1/strings/0x409 -echo -n "$vendor" > idVendor -echo -n "$product" > idProduct -echo "$serial" > strings/0x409/serialnumber -echo "$manufacturer" > strings/0x409/manufacturer -echo "$model" > strings/0x409/product -echo "$conf" > configs/c.1/strings/0x409/configuration -ln -s functions/ffs.usb0 configs/c.1 - -mkdir -p /dev/usb-ffs/adb -mount -t functionfs usb0 /dev/usb-ffs/adb
meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/android-gadget-start deleted +0 -9
@@ -1,9 +0,0 @@ -#!/bin/sh - -set -e - -sleep 10 - -ls /sys/class/udc/ | head -n 1 | xargs echo -n > /sys/kernel/config/usb_gadget/adb/UDC - -echo "Setting UDC $(ls /sys/class/udc/ | head -n 1) for USB ADB Gadget usage"
meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs_1.0.bb deleted +0 -38
@@ -1,38 +0,0 @@ -DESCRIPTION = "Different utilities from Android - corressponding configuration files for using ConfigFS" -SECTION = "console/utils" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" - -S = "${UNPACKDIR}" - -SRC_URI = " \ - file://android-gadget-setup \ - file://android-gadget-start \ - file://android-gadget-cleanup \ - file://10-adbd-configfs.conf \ -" - -PACKAGE_ARCH = "${MACHINE_ARCH}" - -do_install() { - install -d ${D}${bindir} - install -m 0755 ${UNPACKDIR}/android-gadget-setup ${D}${bindir} - install -m 0755 ${UNPACKDIR}/android-gadget-start ${D}${bindir} - install -m 0755 ${UNPACKDIR}/android-gadget-cleanup ${D}${bindir} - - if [ -r ${UNPACKDIR}/android-gadget-setup.machine ] ; then - install -d ${D}${sysconfdir} - install -m 0644 ${UNPACKDIR}/android-gadget-setup.machine ${D}${sysconfdir} - fi - - install -d ${D}${systemd_unitdir}/system/android-tools-adbd.service.d - install -m 0644 ${UNPACKDIR}/10-adbd-configfs.conf ${D}${systemd_unitdir}/system/android-tools-adbd.service.d -} - -FILES:${PN} += " \ - ${systemd_unitdir}/system/ \ -" - -PROVIDES += "android-tools-conf" -RPROVIDES:${PN} = "android-tools-conf" -BBCLASSEXTEND = "native"
meta-oe/recipes-devtools/android-tools/android-tools-conf/android-gadget-setup deleted +0 -37
@@ -1,37 +0,0 @@ -#!/bin/sh - -[ ! -e /dev/pts ] && mkdir -p /dev/pts -[ ! -e /dev/pts/0 ] && mount devpts /dev/pts -t devpts - -# TODO enable the lines below once we have support for getprop -# retrieve the product info from Android -# manufacturer=$(getprop ro.product.manufacturer Android) -# model=$(getprop ro.product.model Android) -# serial=$(getprop ro.serialno 0123456789ABCDEF) - -#below are now needed in order to use FunctionFS for ADB, tested to work with 3.4+ kernels -if grep -q functionfs /proc/filesystems; then - mkdir -p /dev/usb-ffs/adb - mount -t functionfs adb /dev/usb-ffs/adb - #android-gadget-setup doesn't provide below 2 and without them it won't work, so we provide them here. - echo adb > /sys/class/android_usb/android0/f_ffs/aliases - echo ffs > /sys/class/android_usb/android0/functions -fi - -manufacturer="$(cat /system/build.prop | grep -o 'ro.product.manufacturer=.*' | cut -d'=' -f 2)" -model="$(cat /system/build.prop | grep -o 'ro.product.model=.*' | cut -d'=' -f 2)" -# get the device serial number from /proc/cmdline directly(since we have no getprop on -# GNU/Linux) -serial="$(cat /proc/cmdline | sed 's/.*androidboot.serialno=//' | sed 's/ .*//')" - -echo $serial > /sys/class/android_usb/android0/iSerial -echo $manufacturer > /sys/class/android_usb/android0/iManufacturer -echo $model > /sys/class/android_usb/android0/iProduct - -echo "0" > /sys/class/android_usb/android0/enable -echo "18d1" > /sys/class/android_usb/android0/idVendor -echo "D002" > /sys/class/android_usb/android0/idProduct -echo "adb" > /sys/class/android_usb/android0/functions -echo "1" > /sys/class/android_usb/android0/enable - -sleep 4
meta-oe/recipes-devtools/android-tools/android-tools-conf_1.0.bb deleted +0 -22
@@ -1,22 +0,0 @@ -DESCRIPTION = "Different utilities from Android - corressponding configuration files" -SECTION = "console/utils" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" - -SRC_URI = "file://android-gadget-setup" - -S = "${UNPACKDIR}" - -PACKAGE_ARCH = "${MACHINE_ARCH}" - -do_install() { - install -d ${D}${bindir} - install -m 0755 ${UNPACKDIR}/android-gadget-setup ${D}${bindir} -} - -python () { - pn = d.getVar('PN') - profprov = d.getVar("PREFERRED_PROVIDER_" + pn) - if profprov and pn != profprov: - raise bb.parse.SkipRecipe("PREFERRED_PROVIDER_%s set to %s, not %s" % (pn, profprov, pn)) -}
meta-oe/recipes-devtools/android-tools/android-tools/adb.mk deleted +0 -72
72 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/adbd.mk deleted +0 -164
164 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/android-tools-adbd.service deleted +0 -13
@@ -1,13 +0,0 @@ -[Unit] -Description=Android Debug Bridge -ConditionPathExists=/etc/usb-debugging-enabled -Before=android-system.service - -[Service] -Type=simple -Restart=on-failure -ExecStartPre=-/usr/bin/android-gadget-setup adb -ExecStart=/usr/bin/adbd - -[Install] -WantedBy=basic.target
meta-oe/recipes-devtools/android-tools/android-tools/build/0001-Riscv-Add-risc-v-Android-config-header.patch deleted +0 -361
361 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/core/0001-adb-remove-selinux-extensions.patch deleted +0 -44
44 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/core/0001-memory.h-Always-define-strlcpy-for-glibc-based-syste.patch deleted +0 -35
@@ -1,35 +0,0 @@ -From db3a3714be07c8ab51b9ae7b035e4afe9f39c645 Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Wed, 7 Sep 2022 13:20:22 -0700 -Subject: [PATCH] memory.h: Always define strlcpy for glibc based systems - -android-config.h file includes on compiler cmdline sets HAVE_STRLCPY -unconditionally, since bionic supports it, its no big deal on android -and also no problem when using musl since implementation exists for musl -too, but glibc does not provide this. So either we include libbsd or use -the implementation provided by android-tools here. We are currently -using the in tree implementation for systems which do not provide it - -Upstream-Status: Pending - -Signed-off-by: Khem Raj <[email protected]> ---- - include/cutils/memory.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/include/cutils/memory.h b/include/cutils/memory.h -index e725cdd032..9e99353c58 100644 ---- a/include/cutils/memory.h -+++ b/include/cutils/memory.h -@@ -30,7 +30,7 @@ void android_memset16(uint16_t* dst, uint16_t value, size_t size); - /* size is given in bytes and must be multiple of 4 */ - void android_memset32(uint32_t* dst, uint32_t value, size_t size); - --#if !HAVE_STRLCPY -+#if !HAVE_STRLCPY || defined(__GLIBC__) - /* Declaration of strlcpy() for platforms that don't already have it. */ - size_t strlcpy(char *dst, const char *src, size_t size); - #endif --- -2.37.3 -
meta-oe/recipes-devtools/android-tools/android-tools/core/0002-adb-Use-local-sockets-where-appropriate.patch deleted +0 -70
70 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/core/0003-adb-define-shell-command.patch deleted +0 -29
@@ -1,29 +0,0 @@ -From 4421c2e19946dcd651fd8ac022b96627fc526149 Mon Sep 17 00:00:00 2001 -From: Fathi Boudra <[email protected]> -Date: Wed, 7 Sep 2016 12:58:47 +0300 -Subject: [PATCH] adb: define shell command - -we intend to run on Linux system so the shell is always /bin/sh, -for the host or the target. - -Upstream-Status: Inappropriate ---- - adb/services.c | 4 ---- - 1 file changed, 4 deletions(-) - -diff --git a/adb/services.c b/adb/services.c -index 21b08dc201..d44b0c5068 100644 ---- a/adb/services.c -+++ b/adb/services.c -@@ -299,11 +299,7 @@ static int create_subproc_raw(const char *cmd, const char *arg0, const char *arg - } - #endif /* !ABD_HOST */ - --#if ADB_HOST - #define SHELL_COMMAND "/bin/sh" --#else --#define SHELL_COMMAND "/system/bin/sh" --#endif - - #if !ADB_HOST - static void subproc_waiter_service(int fd, void *cookie)
meta-oe/recipes-devtools/android-tools/android-tools/core/0004-adb-Fix-build-on-big-endian-systems.patch deleted +0 -47
47 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/core/0005-adb-add-base64-implementation.patch deleted +0 -350
350 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/core/0006-adb-Musl-fixes.patch deleted +0 -130
130 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/core/0007-adb-usb_linux.c-fix-build-with-glibc-2.28.patch deleted +0 -26
@@ -1,26 +0,0 @@ -From de393bba41c8feff932c77d6c30233945f380d42 Mon Sep 17 00:00:00 2001 -From: Martin Jansa <[email protected]> -Date: Sat, 11 Aug 2018 13:23:37 +0000 -Subject: [PATCH] adb: usb_linux.c: fix build with glibc-2.28 - -* include sysmacros for major, minor - -Signed-off-by: Martin Jansa <[email protected]> ---- -Upstream-Status: Pending - - adb/usb_linux.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/adb/usb_linux.c b/adb/usb_linux.c -index f16bdd0361..c8a7732441 100644 ---- a/adb/usb_linux.c -+++ b/adb/usb_linux.c -@@ -22,6 +22,7 @@ - #include <sys/ioctl.h> - #include <sys/types.h> - #include <sys/time.h> -+#include <sys/sysmacros.h> - #include <dirent.h> - #include <fcntl.h> - #include <errno.h>
meta-oe/recipes-devtools/android-tools/android-tools/core/0008-adb-Allow-adbd-to-be-ran-as-root.patch deleted +0 -23
@@ -1,23 +0,0 @@ -From 3a788e9168c9b9eac66c4fa479413f4a95c61be4 Mon Sep 17 00:00:00 2001 -From: Florent Revest <[email protected]> -Date: Mon, 30 Oct 2017 21:05:46 +0100 -Subject: [PATCH] adb: Allow adbd to be ran as root - ---- -Upstream-Status: Pending - - adb/adb.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/adb/adb.c b/adb/adb.c -index 027edd9359..e0f7ecde45 100644 ---- a/adb/adb.c -+++ b/adb/adb.c -@@ -1271,6 +1271,7 @@ static int should_drop_privileges() { - int secure = 0; - char value[PROPERTY_VALUE_MAX]; - -+ return 0; - /* run adbd in secure mode if ro.secure is set and - ** we are not in the emulator - */
meta-oe/recipes-devtools/android-tools/android-tools/core/0009-mkbootimg-Add-dt-parameter-to-specify-DT-image.patch deleted +0 -110
110 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/core/0010-Use-linux-capability.h-on-linux-systems-too.patch deleted +0 -23
@@ -1,23 +0,0 @@ -From ef743c9c3c7452ae904a5c343ee2b759ab3a87cb Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Lo=C3=AFc=20Minier?= <[email protected]> -Date: Wed, 7 Sep 2016 12:58:47 +0300 -Subject: [PATCH] Use linux/capability.h on linux systems too - -Upstream-Status: Inappropriate ---- - include/private/android_filesystem_config.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/include/private/android_filesystem_config.h b/include/private/android_filesystem_config.h -index 2f528b95c8..3e0b00928e 100644 ---- a/include/private/android_filesystem_config.h -+++ b/include/private/android_filesystem_config.h -@@ -27,7 +27,7 @@ - #include <sys/types.h> - #include <stdint.h> - --#ifdef HAVE_ANDROID_OS -+#if defined(HAVE_ANDROID_OS) || defined(__linux__) - #include <linux/capability.h> - #else - #include "android_filesystem_capability.h"
meta-oe/recipes-devtools/android-tools/android-tools/core/0011-Remove-bionic-specific-calls.patch deleted +0 -64
64 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/core/0012-Fix-implicit-declaration-of-stlcat-strlcopy-function.patch deleted +0 -50
50 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/core/0013-adb-Support-riscv64.patch deleted +0 -191
191 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/core/0014-add-u3-ss-descriptor-support-for-adb.patch deleted +0 -344
344 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/core/0015-libsparse-Split-off-most-of-sparse_file_read_normal-.patch deleted +0 -60
60 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/core/0016-libsparse-Add-hole-mode-to-sparse_file_read.patch deleted +0 -188
188 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/core/0017-img2simg-Add-support-for-converting-holes-to-don-t-c.patch deleted +0 -114
114 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/core/adb_libssl_11.diff deleted +0 -48
48 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/core/b64_pton_function_decl.patch deleted +0 -14
@@ -1,14 +0,0 @@ -Add protoype declaration for b64_pton - -Upstream-Status: Pending -Signed-off-by: Khem Raj <[email protected]> ---- a/adb/adb_auth_client.c -+++ b/adb/adb_auth_client.c -@@ -29,6 +29,7 @@ - - #define TRACE_TAG TRACE_AUTH - -+extern int b64_pton(const char* src, uint8_t* target, size_t targsize); - - struct adb_public_key { - struct listnode node;
meta-oe/recipes-devtools/android-tools/android-tools/ext4_utils.mk deleted +0 -103
103 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/extras/0001-ext4_utils-remove-selinux-extensions.patch deleted +0 -39
@@ -1,39 +0,0 @@ -From 354604da9d152f1931e91991d3f34197fc8fc759 Mon Sep 17 00:00:00 2001 -From: Sergio Schvezov <[email protected]> -Date: Tue, 2 Oct 2018 16:36:54 +0000 -Subject: [PATCH] ext4_utils: remove selinux extensions - -* drop useless includes of Android SELINUX extensions -* avoids having to clone another module -* this should be sent upstream - -Upstream-Status: Inappropriate ---- - ext4_utils/make_ext4fs.c | 1 - - ext4_utils/make_ext4fs_main.c | 1 - - 2 files changed, 2 deletions(-) - -diff --git a/ext4_utils/make_ext4fs.c b/ext4_utils/make_ext4fs.c -index 2f89ae8a0..732afbed7 100644 ---- a/ext4_utils/make_ext4fs.c -+++ b/ext4_utils/make_ext4fs.c -@@ -62,7 +62,6 @@ - - #include <selinux/selinux.h> - #include <selinux/label.h> --#include <selinux/android.h> - - #define O_BINARY 0 - -diff --git a/ext4_utils/make_ext4fs_main.c b/ext4_utils/make_ext4fs_main.c -index a6c5f6160..f8e7b9da9 100644 ---- a/ext4_utils/make_ext4fs_main.c -+++ b/ext4_utils/make_ext4fs_main.c -@@ -32,7 +32,6 @@ - #ifndef USE_MINGW - #include <selinux/selinux.h> - #include <selinux/label.h> --#include <selinux/android.h> - #else - struct selabel_handle; - #endif
meta-oe/recipes-devtools/android-tools/android-tools/extras/0002-ext4_utils-add-o-argument-to-preserve-ownership.patch deleted +0 -78
78 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/extras/0003-ext4_utils-drop-unused-parameter-from-allocate_inode.patch deleted +0 -69
38 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/fastboot.mk deleted +0 -89
89 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/gitignore deleted +0 -59
59 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/libselinux/0001-Remove-bionic-specific-calls.patch deleted +0 -25
Lines of this file are not shown. View the raw message.
meta-oe/recipes-devtools/android-tools/android-tools/libselinux/0001-libselinux-Do-not-define-gettid-if-glibc-2.30-is-use.patch deleted +0 -51
51 lines not on this page · raw message
meta-oe/recipes-devtools/android-tools/android-tools/mkbootimg.mk deleted +0 -29
Lines of this file are not shown. View the raw message.
meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb deleted +0 -189
189 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.43.0
Part of the diff is not shown here. View the raw message.
Re: [meta-oe][PATCH v4 1/4] android-tools: remove android-tools 5.x from meta-oe/recipes-devtools
Quoted 5 lines · AshishKumar Mishra
From: AshishKumar Mishra <[email protected]>
We plan to upgrade android-tools from the legacy 5.1.1 version to 29.0.6.r14 To achive this we are removing the older version from meta-oe/recipes-devtools/
Quoted 8 lines
Signed-off-by AshishKumar Mishra <[email protected]>Signed-off-by Khem Raj <[email protected]>--- .../10-adbd-configfs.conf | 4 - .../android-gadget-cleanup | 24 -- .../android-gadget-setup | 38 -- .../android-gadget-start | 9 - .../android-tools-conf-configfs_1.0.bb | 38 --
Thanks, this broke android-tools-adb for anybody using upstream ConfigFS approach instead of the Google's /sys/class/android_usb/ (not available upstream). I'll send a partial revert, but please test your changes on the upstream Linux kernels before sending them out.
Quoted 7 lines
.../android-tools-conf/android-gadget-setup | 37 -- .../android-tools/android-tools-conf_1.0.bb | 22 -- .../android-tools/android-tools/adb.mk | 72 ---- .../android-tools/android-tools/adbd.mk | 164 -------- .../android-tools/android-tools-adbd.service | 13 - ...scv-Add-risc-v-Android-config-header.patch | 361 ------------------
Signature · 2 lines
With best wishes Dmitry
Re: [meta-oe][PATCH v4 1/4] android-tools: remove android-tools 5.x from meta-oe/recipes-devtools
Hi Dmitry,
Sorry for the breakage, and thanks for catching it and helping with the partial revert to fix the regression.
This was an oversight on my end.
I had verified that the build compiled fine for an RPI4 target with core-image-minimal (qemuarm with GCC and CLANG) , but since that was only a compile-time check and I didn’t flash it on real hardware running a mainline kernel, the missing ConfigFS scripts slipped through.
I want to avoid missing this kind of issue on future upgrades.
- Could you share the testing or sanity-checking workflow you usually follow for userspace/kernel integrations like this?
- Are there specific QEMU configs, runtime checks, or review habits you rely on to make sure upstream compatibility doesn’t break?
I’d like to adapt my own workflow so I can catch this kind of runtime regression earlier.
Thanks again for the guidance.
Ashish
PATCH v4 2/4 android-tools: move android-tools v29.x from dynamic-layers/selinux to meta-oe
In reply to AshishKumar MishraFrom: AshishKumar Mishra <[email protected]>
Relocate the recipe from dynamic-layers/selinux/ to the main meta-oe/recipes-devtools/ directory.
The android-tools recipe (version 29.0.6.r14) was previously restricted to the selinux dynamic-layer.
Investigation shows that version 29.0.6.r14 does not have a hard dependency on libselinux for core tool functionality.
(adb, fastboot, and sparse image tools).
- Basic runable test was done for binaries in android-tools-native
- Checked for selinux absense by looking for selinx using $ ldd binary-name
Changes:
- Relocate recipe from dynamic-layers/selinux/ to recipes-devtools/
---
.../android-tools/android-tools-conf/android-gadget-setup | 0
.../android-tools/android-tools-conf_1.0.bb | 0
.../android-tools/android-tools/0001-Fixes-for-yocto-build.patch | 0
.../android-tools/0001-liblp-fix-building-with-GCC-14.patch | 0
...002-android-tools-modifications-to-make-it-build-in-yoct.patch | 0
...003-Update-usage-of-usbdevfs_urb-to-match-new-kernel-UAP.patch | 0
.../android-tools/0004-adb-Fix-build-on-big-endian-systems.patch | 0
.../android-tools/0005-adb-Allow-adbd-to-be-run-as-root.patch | 0
.../android-tools/android-tools/adbd.mk | 0
.../android-tools/android-tools/android-tools-adbd.service | 0
.../android-tools/android-tools/debian/Add-riscv64-support.patch | 0
.../android-tools/debian/Added-missing-headers.patch | 0
.../android-tools/android-tools/debian/Nonnull.patch | 0
.../android-tools/android-tools/debian/Vector-cast.patch | 0
.../android-tools/android-tools/debian/add-missing-headers.patch | 0
.../external/libunwind/20150704-CVE-2015-3239_dwarf_i.h.patch | 0
.../external/libunwind/legacy_built-in_sync_functions.patch | 0
.../libunwind/libunwind-fix-strchr-conformance-to-ISO-C23.patch | 0
.../libunwind-guard-unreachable-macro-to-avoid-redefinit.patch | 0
.../android-tools/debian/external/libunwind/user_pt_regs.patch | 0
.../android-tools/debian/fix-attribute-issue-with-gcc.patch | 0
.../android-tools/android-tools/debian/fix-build-on-non-x86.patch | 0
.../android-tools/debian/fix-gettid-exception-declaration.patch | 0
.../android-tools/debian/fix-standard-namespace-errors.patch | 0
.../android-tools/debian/hard-code-build-number.patch | 0
.../android-tools/android-tools/debian/libusb-header-path.patch | 0
.../android-tools/debian/move-log-file-to-proper-dir.patch | 0
.../android-tools/android-tools/debian/simg_dump-python3.patch | 0
.../android-tools/android-tools/debian/stdatomic.patch | 0
.../android-tools/android-tools/debian/stub-out-fastdeploy.patch | 0
.../android-tools/debian/system/core/Add-riscv64-support.patch | 0
.../android-tools/debian/system/core/Added-missing-headers.patch | 0
.../android-tools/android-tools/debian/system/core/Nonnull.patch | 0
.../android-tools/debian/system/core/Vector-cast.patch | 0
.../android-tools/debian/system/core/add-missing-headers.patch | 0
.../android-tools-scope-write-macro-to-prevent-conflict-.patch | 0
.../debian/system/core/fix-attribute-issue-with-gcc.patch | 0
.../android-tools/debian/system/core/fix-build-on-non-x86.patch | 0
.../debian/system/core/fix-gettid-exception-declaration.patch | 0
.../debian/system/core/fix-standard-namespace-errors.patch | 0
.../android-tools/debian/system/core/hard-code-build-number.patch | 0
.../android-tools/debian/system/core/libusb-header-path.patch | 0
.../libziparchive-fix-missing-fixed-width-integer-types-.patch | 0
.../debian/system/core/move-log-file-to-proper-dir.patch | 0
.../android-tools/debian/system/core/simg_dump-python3.patch | 0
.../android-tools/debian/system/core/stdatomic.patch | 0
.../android-tools/debian/system/core/stub-out-fastdeploy.patch | 0
.../debian/system/core/throw-exception-on-unknown-os.patch | 0
.../android-tools/debian/throw-exception-on-unknown-os.patch | 0
.../android-tools/android-tools/remount | 0
.../android-tools/android-tools/rules_yocto.mk | 0
.../android-tools/android-tools_29.0.6.r14.bb | 0
52 files changed, 0 insertions(+), 0 deletions(-)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools-conf/android-gadget-setup (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools-conf_1.0.bb (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/0001-Fixes-for-yocto-build.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/0001-liblp-fix-building-with-GCC-14.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/0002-android-tools-modifications-to-make-it-build-in-yoct.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/0003-Update-usage-of-usbdevfs_urb-to-match-new-kernel-UAP.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/0004-adb-Fix-build-on-big-endian-systems.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/0005-adb-Allow-adbd-to-be-run-as-root.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/adbd.mk (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/android-tools-adbd.service (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/Add-riscv64-support.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/Added-missing-headers.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/Nonnull.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/Vector-cast.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/add-missing-headers.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/external/libunwind/20150704-CVE-2015-3239_dwarf_i.h.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/external/libunwind/legacy_built-in_sync_functions.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/external/libunwind/libunwind-fix-strchr-conformance-to-ISO-C23.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/external/libunwind/libunwind-guard-unreachable-macro-to-avoid-redefinit.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/external/libunwind/user_pt_regs.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/fix-attribute-issue-with-gcc.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/fix-build-on-non-x86.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/fix-gettid-exception-declaration.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/fix-standard-namespace-errors.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/hard-code-build-number.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/libusb-header-path.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/move-log-file-to-proper-dir.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/simg_dump-python3.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/stdatomic.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/stub-out-fastdeploy.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/Add-riscv64-support.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/Added-missing-headers.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/Nonnull.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/Vector-cast.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/add-missing-headers.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/android-tools-scope-write-macro-to-prevent-conflict-.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/fix-attribute-issue-with-gcc.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/fix-build-on-non-x86.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/fix-gettid-exception-declaration.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/fix-standard-namespace-errors.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/hard-code-build-number.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/libusb-header-path.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/libziparchive-fix-missing-fixed-width-integer-types-.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/move-log-file-to-proper-dir.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/simg_dump-python3.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/stdatomic.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/stub-out-fastdeploy.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/system/core/throw-exception-on-unknown-os.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/debian/throw-exception-on-unknown-os.patch (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/remount (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools/rules_yocto.mk (100%)
rename meta-oe/{dynamic-layers/selinux/recipes-devtool => recipes-devtools}/android-tools/android-tools_29.0.6.r14.bb (100%)meta-oe/recipes-devtools/android-tools/android-tools-conf/android-gadget-setup renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf/android-gadget-setup +0 -0
meta-oe/recipes-devtools/android-tools/android-tools-conf_1.0.bb renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf_1.0.bb +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/0001-Fixes-for-yocto-build.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/0001-Fixes-for-yocto-build.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/0001-liblp-fix-building-with-GCC-14.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/0001-liblp-fix-building-with-GCC-14.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/0002-android-tools-modifications-to-make-it-build-in-yoct.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/0002-android-tools-modifications-to-make-it-build-in-yoct.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/0003-Update-usage-of-usbdevfs_urb-to-match-new-kernel-UAP.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/0003-Update-usage-of-usbdevfs_urb-to-match-new-kernel-UAP.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/0004-adb-Fix-build-on-big-endian-systems.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/0004-adb-Fix-build-on-big-endian-systems.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/0005-adb-Allow-adbd-to-be-run-as-root.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/0005-adb-Allow-adbd-to-be-run-as-root.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/adbd.mk renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/adbd.mk +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/android-tools-adbd.service renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/android-tools-adbd.service +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/Add-riscv64-support.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/Add-riscv64-support.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/Added-missing-headers.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/Added-missing-headers.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/Nonnull.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/Nonnull.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/Vector-cast.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/Vector-cast.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/add-missing-headers.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/add-missing-headers.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/external/libunwind/20150704-CVE-2015-3239_dwarf_i.h.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/external/libunwind/20150704-CVE-2015-3239_dwarf_i.h.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/external/libunwind/legacy_built-in_sync_functions.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/external/libunwind/legacy_built-in_sync_functions.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/external/libunwind/libunwind-fix-strchr-conformance-to-ISO-C23.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/external/libunwind/libunwind-fix-strchr-conformance-to-ISO-C23.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/external/libunwind/libunwind-guard-unreachable-macro-to-avoid-redefinit.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/external/libunwind/libunwind-guard-unreachable-macro-to-avoid-redefinit.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/external/libunwind/user_pt_regs.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/external/libunwind/user_pt_regs.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/fix-attribute-issue-with-gcc.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/fix-attribute-issue-with-gcc.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/fix-build-on-non-x86.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/fix-build-on-non-x86.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/fix-gettid-exception-declaration.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/fix-gettid-exception-declaration.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/fix-standard-namespace-errors.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/fix-standard-namespace-errors.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/hard-code-build-number.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/hard-code-build-number.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/libusb-header-path.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/libusb-header-path.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/move-log-file-to-proper-dir.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/move-log-file-to-proper-dir.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/simg_dump-python3.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/simg_dump-python3.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/stdatomic.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/stdatomic.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/stub-out-fastdeploy.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/stub-out-fastdeploy.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/Add-riscv64-support.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/Add-riscv64-support.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/Added-missing-headers.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/Added-missing-headers.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/Nonnull.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/Nonnull.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/Vector-cast.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/Vector-cast.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/add-missing-headers.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/add-missing-headers.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/android-tools-scope-write-macro-to-prevent-conflict-.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/android-tools-scope-write-macro-to-prevent-conflict-.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/fix-attribute-issue-with-gcc.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/fix-attribute-issue-with-gcc.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/fix-build-on-non-x86.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/fix-build-on-non-x86.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/fix-gettid-exception-declaration.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/fix-gettid-exception-declaration.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/fix-standard-namespace-errors.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/fix-standard-namespace-errors.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/hard-code-build-number.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/hard-code-build-number.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/libusb-header-path.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/libusb-header-path.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/libziparchive-fix-missing-fixed-width-integer-types-.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/libziparchive-fix-missing-fixed-width-integer-types-.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/move-log-file-to-proper-dir.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/move-log-file-to-proper-dir.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/simg_dump-python3.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/simg_dump-python3.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/stdatomic.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/stdatomic.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/stub-out-fastdeploy.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/stub-out-fastdeploy.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/system/core/throw-exception-on-unknown-os.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/throw-exception-on-unknown-os.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/debian/throw-exception-on-unknown-os.patch renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/throw-exception-on-unknown-os.patch +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/remount renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/remount +0 -0
meta-oe/recipes-devtools/android-tools/android-tools/rules_yocto.mk renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/rules_yocto.mk +0 -0
meta-oe/recipes-devtools/android-tools/android-tools_29.0.6.r14.bb renamed from meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools_29.0.6.r14.bb +0 -0
Signature · 1 line
2.43.0
PATCH v4 3/4 android-tools: removes selinux dependency from android-tools_29.0.6.r14.bb
In reply to AshishKumar MishraFrom: AshishKumar Mishra <[email protected]>
--- .../android-tools/android-tools_29.0.6.r14.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
meta-oe/recipes-devtools/android-tools/android-tools_29.0.6.r14.bb +4 -1
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = " \ file://${COMMON_LICENSE_DIR}/BSD-2-Clause;md5=cb641bc04cda31daea161b1bc15da69f \ file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9 \ " -DEPENDS = "libbsd libpcre zlib libcap libusb squashfs-tools 7zip libselinux googletest" +DEPENDS = "libbsd libpcre zlib libcap libusb squashfs-tools 7zip googletest" SRCREV_core = "abfd66fafcbb691d7860df059f1df1c9b1ef29da"
@@ -191,3 +191,6 @@ FILES:${PN}-fstools = "\ FILES:${PN} += "${libdir}/android ${libdir}/android/*" BBCLASSEXTEND = "native" + +PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}" +PACKAGECONFIG[selinux] = ",,libselinux"
Signature · 1 line
2.43.0
PATCH v4 4/4 android-tools: fix deprecated header warning from clang
In reply to AshishKumar MishraFrom: AshishKumar Mishra <[email protected]>
Remove .h header files from the SOURCES compilation list inside adbd.mk to resolve a Clang warning regarding treating 'c-header' input as 'c++-header'
Moved the header files into a separate HEADERS variable to act purely as a GNU Make dependency trigger, keeping them off the direct compiler execution string.
--- .../android-tools/android-tools/adbd.mk | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-)
meta-oe/recipes-devtools/android-tools/android-tools/adbd.mk +9 -6
@@ -5,16 +5,12 @@ SOURCES = \ adb/adbconnection/adbconnection_server.cpp \ adb/daemon/auth.cpp \ adb/daemon/file_sync_service.cpp \ - adb/daemon/file_sync_service.h \ adb/daemon/framebuffer_service.cpp \ - adb/daemon/framebuffer_service.h \ adb/daemon/jdwp_service.cpp \ adb/daemon/main.cpp \ adb/daemon/restart_service.cpp \ - adb/daemon/restart_service.h \ adb/daemon/services.cpp \ adb/daemon/shell_service.cpp \ - adb/daemon/shell_service.h \ adb/daemon/usb_ffs.cpp \ adb/daemon/usb_legacy.cpp \ adb/daemon/usb.cpp \
@@ -41,7 +37,14 @@ SOURCES = \ diagnose_usb/diagnose_usb.cpp \ libasyncio/AsyncIO.cpp \ +HEADERS = \ + adb/daemon/file_sync_service.h \ + adb/daemon/framebuffer_service.h \ + adb/daemon/restart_service.h \ + adb/daemon/shell_service.h + SOURCES := $(foreach source, $(SOURCES), system/core/$(source)) +HEADERS := $(foreach header, $(HEADERS), system/core/$(header)) SOURCES += \ frameworks/native/libs/adbd_auth/adbd_auth.cpp
@@ -79,9 +82,9 @@ ifneq ($(filter armel mipsel,$(DEB_HOST_ARCH)),) LDFLAGS += -latomic endif -build: $(SOURCES) +build: $(SOURCES) $(HEADERS) mkdir --parents debian/out/system/core - $(CXX) $^ -o debian/out/system/core/adbd $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) + $(CXX) $(SOURCES) -o debian/out/system/core/adbd $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) clean: $(RM) debian/out/system/core/adbd
Signature · 1 line
2.43.0
Hi Khem / Gyorgy / Team ,
Good Evening
Just a follow up if team can merge this patch , i see it in master-next branch for 3-4 days now Do we follow any specific wait days after which the master-next moves to master Trying to understand the process better
Thanks ,
Ashish
I am traveling so merging is a bit slow . Hopefully this will have no issues and will be in master soon. Thanks for contributing to make meta-oe better
Quoted 25 lines · AshishKumar Mishra via lists.openembedded.org
Hi Khem / Gyorgy / Team ,
Good Evening
Just a follow up if team can merge this patch , i see it in master-next branch for 3-4 days now
Do we follow any specific wait days after which the master-next moves to master
Trying to understand the process betterThanks ,
Ashish-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#127274):
https://lists.openembedded.org/g/openembedded-devel/message/127274
Mute This Topic: https://lists.openembedded.org/mt/119463944/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-