Files
meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/.gitignore
Andrea Galbusera e406d4f5ae android-tools: fix issue with missing files in eSDK updates
If this recipe was included in an eSDK and then eSDK incremental updates were
generated by repeatedly running the oe-publish-sdk script, after installing the
first of such updates, and any following as well, with 'devtool sdk-updates' the
eSDK gets corrupted. Indeed some of the files listed in SRC_URI (namely anything
in *.patch and *.service) get deleted by those updates, with bitbake that starts
warning with 'Unable to get checksum for android-tools* SRC_URI entry' at every
parse. Since the files are missing, such warnings turn into errors if trying to
bake android-tools.

The root cause is the somewhat unusual presence of android-tools/.gitignore,
indeed ignore everything not explicitly excepted. When oe-publish-sdk creates
the git repo it relies on to feed eSDK updates, the .gitignore gets honored,
leading to the buggy behaviour above.

This patch adds *.patch and *.service to the excepted patterns in .gitignore
Note that, although this solves the issue, it does not prevent from it popping
up again if new files get added to android-tools/ without explicitly excluding
them from .gitignore.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-13 13:19:41 +02:00

60 lines
1.4 KiB
Plaintext

*
!.gitignore
!*.indirectionsymlink
!*.[ch]
!*.mk
!*.patch
!*.service
!NOTICE
!MODULE_LICENSE_*
!/system/
!/system/core/
!/system/core/adb/
!/system/core/fastboot/
!/system/core/fs_mgr/
!/system/core/fs_mgr/include/
!/system/core/include/
!/system/core/include/android/
!/system/core/include/cutils/
!/system/core/include/log/
!/system/core/include/mincrypt/
!/system/core/include/private/
!/system/core/include/utils/
!/system/core/include/zipfile/
!/system/core/liblog/
!/system/core/liblog/tests/
!/system/core/libcutils/
!/system/core/libmincrypt/
!/system/core/libzipfile/
!/system/core/libsparse/
!/system/core/libsparse/include/
!/system/core/libsparse/include/sparse/
!/system/core/libsparse/simg_dump.py
!/system/core/mkbootimg/
!/system/extras/
!/system/extras/ext4_utils/
!/system/extras/ext4_utils/mkuserimg.sh
!/system/extras/ext4_utils/test_ext4fixup
!/system/extras/f2fs_utils/
!/hardware/
!/hardware/libhardware/
!/hardware/libhardware/include/
!/hardware/libhardware/include/hardware/
!/external/
!/external/libselinux/
!/external/libselinux/include/
!/external/libselinux/include/selinux/
!/external/libselinux/src/
!/external/f2fs-tools/
!/external/f2fs-tools/include/
!/external/f2fs-tools/lib/
!/external/f2fs-tools/mkfs/
!/build/
!/build/core/
!/build/core/version_defaults.mk
!/build/core/combo/
!/build/core/combo/include/
!/build/core/combo/include/arch/
!/build/core/combo/include/arch/linux-*/
!/build/core/combo/include/arch/linux-*/AndroidConfig.h