app-containers/waydroid-images: Minor touchups

Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com>
This commit is contained in:
Esteve Varela Colominas
2026-03-12 14:35:17 +01:00
parent 4b0c41697b
commit 1cb5948918

View File

@@ -24,7 +24,9 @@ S="${WORKDIR}"
LICENSE="Apache-2.0" LICENSE="Apache-2.0"
SLOT="0" SLOT="0"
IUSE="+system-vanilla system-gapps +vendor-mainline vendor-halium android-10 android-11 +android-13" IUSE="+system-vanilla system-gapps"
IUSE+=" +vendor-mainline vendor-halium"
IUSE+=" android-10 android-11 +android-13"
REQUIRED_USE=" REQUIRED_USE="
^^ ( system-vanilla system-gapps ) ^^ ( system-vanilla system-gapps )
^^ ( vendor-mainline vendor-halium ) ^^ ( vendor-mainline vendor-halium )
@@ -87,7 +89,7 @@ waydroid_ota_info() {
cat "${ota_file}" | \ cat "${ota_file}" | \
python3 -c 'import sys,json;j=json.load(sys.stdin)["response"];\ python3 -c 'import sys,json;j=json.load(sys.stdin)["response"];\
j=[x for x in j if x["version"]==sys.argv[1]][0];\ j=next(x for x in j if x["version"]==sys.argv[1]);\
print(*(j[x] for x in ["filename","id","url"]),sep="\0",end="")' \ print(*(j[x] for x in ["filename","id","url"]),sep="\0",end="")' \
"${version}" || die "${version}" || die
} }