From d2c2db5dd3af0ec9950705a64f21f2cf3b3b1331 Mon Sep 17 00:00:00 2001 From: Adam Boardman Date: Tue, 4 Apr 2023 16:58:42 +0100 Subject: [PATCH] Added astro support --- debian/postinst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/debian/postinst b/debian/postinst index d61e3cd..d4323a6 100755 --- a/debian/postinst +++ b/debian/postinst @@ -23,6 +23,11 @@ then device="mt6771" fi +if [[ "$cmdline" =~ ^(.*)androidboot.hardware\=mt6873(.*)$ ]]; +then + device="mt6873" +fi + if [ "$device" == unknown ]; then pid=$$ while [ "$device" == unknown -a $pid != 1 ]; do @@ -43,6 +48,11 @@ case $device in android_system_img="/var/lib/lxc/android/android-rootfs.img" target_checksum="f8b91bd83795c62f1e9b33be9a4156bdf4a90658" ;; +"mt6873") + android_system_dir="/var/lib/lxc/android" + android_system_img="/var/lib/lxc/android/android-rootfs.img" + target_checksum="53e602c80cf041eee6485ea978c68aec94dd19c5" + ;; esac [ -e /lib/udev/rules.d/80-keyboard.rules ] || \