From da727e4e4f400c611606f003a7334ab88cfec8e1 Mon Sep 17 00:00:00 2001 From: DGdev91 Date: Wed, 24 Nov 2021 23:46:10 +0100 Subject: [PATCH] Fixed a bug preventing libhoudini install --- waydroid_extras.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waydroid_extras.py b/waydroid_extras.py index 409233e..b515c36 100644 --- a/waydroid_extras.py +++ b/waydroid_extras.py @@ -368,7 +368,7 @@ on property:ro.enable.native.bridge.exec=1 # Add entry to init.rc print("==> Adding entry to init.rc") print("==> Set android version: {}".format(os.environ.get("ANDROID_VERSION", "11"))) - init_path = os.path.join(sys_image_mount, "system", "etc", "init", "hw", "init.rc") if os.environ.get("ANDROID_VERSION", "11") == "11" else os.path.join(sys_image_mount, "init.rc") + init_path = os.path.join(sys_image_mount, "system", "etc", "init", "hw", "init.rc") if os.environ.get("ANDROID_VERSION", "10") == "11" else os.path.join(sys_image_mount, "init.rc") with open(init_path, "r") as initfile: initcontent = initfile.read() if init_rc_component not in initcontent: