Bug#1050300: mkbootimg package missing gki module

2024-01-11 Thread Arnaud Ferraris

Hi,

Having faced this issue, I had a look at this module: it turns out it's 
only needed for a certain kind of image signature, which is marked as 
"DEPRECATED" when running `mkbootimg --help`.


Therefore, I believe the best fix would be to get rid of this feature 
entirely instead of trying to properly package this python module.


I've opened a merge request on salsa[1], feel free to let me know if 
you'd prefer a patch posted to this thread instead.


Regards,
Arnaud

[1] 
https://salsa.debian.org/android-tools-team/android-platform-tools/-/merge_requests/8




Bug#1050300: mkbootimg package missing gki module

2023-11-22 Thread Emmanuel Bourg
Setting the severity to grave will trigger the autoremoval of the whole 
set of Kotlin packages. Even if android-platform-tools has issues it 
remains useful beyond the direct Android scope. For this reason I've 
changed the severity to important.




Bug#1050300: mkbootimg package missing gki module

2023-08-22 Thread William Breathitt Gray
Package: mkbootimg
Version: 1:34.0.4-1
Severity: grave
Justification: renders package unusable
X-Debbugs-Cc: william.g...@linaro.org

Dear Maintainer,

When attempting to run /usr/bin/mkbootimg, the following is observed:

root@linaro-developer:~# /usr/bin/mkbootimg --help
Traceback (most recent call last):
  File "/usr/bin/mkbootimg", line 31, in 
from gki.generate_gki_certificate import generate_gki_certificate
ModuleNotFoundError: No module named 'gki'

This appears to be the result of the gki module missing from the
mkbootimg package: https://packages.debian.org/sid/all/mkbootimg/filelist

This bug can be resolved by installing the necessary python files (such
as generate_fki_certificate.py) located at system/tools/mkbootimg/gki:
https://sources.debian.org/src/android-platform-tools/34.0.4-1/system/tools/mkbootimg/gki/

I think the generate_gki_certificate dependency was introduced for the
version 33.0.3 release of android-tools, so other Debian versions may be
affected as well.

Thank you,

William Breathitt Gray

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: arm64 (aarch64)

Kernel: Linux 6.5.0-rc6-qcomlt-arm64-00060-g797651a03cd8 (SMP w/8 CPU threads; 
PREEMPT)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mkbootimg depends on:
ii  python3  3.11.4-5+b1

mkbootimg recommends no packages.

mkbootimg suggests no packages.

-- no debconf information