Merge pull request #204348 from primeos/android-tools

android-tools: Avoid installing avbtool twice and update the description
This commit is contained in:
Michael Weiss 2022-12-04 17:34:08 +01:00 committed by GitHub
commit 6df43625ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,10 +35,6 @@ stdenv.mkDerivation rec {
export GOCACHE=$TMPDIR/go-cache
'';
postInstall = ''
install -Dm755 ../vendor/avb/avbtool.py -t $out/bin
'';
meta = with lib; {
description = "Android SDK platform tools";
longDescription = ''
@ -53,7 +49,8 @@ stdenv.mkDerivation rec {
- mke2fs.android (required by fastboot)
- simg2img, img2simg, append2simg
- lpdump, lpmake, lpadd, lpflash, lpunpack
- mkbootimg, unpack_bootimg, repack_bootimg
- mkbootimg, unpack_bootimg, repack_bootimg, avbtool
- mkdtboimg
'';
# https://developer.android.com/studio/command-line#tools-platform
# https://developer.android.com/studio/releases/platform-tools