Installing firmware images from https://developers.google.com/android/images fails using Gentoo's android-tools because it tries to execute mke2fs from the wrong path and with options unknown to standard e2fsprogs. Arch Linux solved this a year ago: https://bugs.archlinux.org/task/56955 (Note that the e2fsprogs patch referenced is NOT sufficient.) [pid 30120] execve("/usr/bin/mke2fs", ["/usr/bin/mke2fs", "-t", "ext4", "-b", "4096", "-E", "android_sparse", "-O", "uninit_bg", "/tmp/TemporaryFile-rOrCan", "29939712"], 0x5606c6e5e800 /* 86 vars */) = -1 ENOENT (No such file or directory)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97efbbf30d14f2b2206c7382c01dc5eac6c3dccc commit 97efbbf30d14f2b2206c7382c01dc5eac6c3dccc Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2018-12-31 05:05:49 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2018-12-31 05:10:42 +0000 dev-util/android-tools: version bump to 9.0.0_p3 Closes: https://bugs.gentoo.org/674146 Closes: https://bugs.gentoo.org/668792 Package-Manager: Portage-2.3.53, Repoman-2.3.12 Signed-off-by: Zac Medico <zmedico@gentoo.org> dev-util/android-tools/Manifest | 8 ++ .../android-tools/android-tools-9.0.0_p3.ebuild | 131 +++++++++++++++++++++ 2 files changed, 139 insertions(+)
Thanks!