Added astro support
This commit is contained in:
parent
5b4a844797
commit
d2c2db5dd3
1 changed files with 10 additions and 0 deletions
10
debian/postinst
vendored
10
debian/postinst
vendored
|
|
@ -23,6 +23,11 @@ then
|
||||||
device="mt6771"
|
device="mt6771"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "$cmdline" =~ ^(.*)androidboot.hardware\=mt6873(.*)$ ]];
|
||||||
|
then
|
||||||
|
device="mt6873"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$device" == unknown ]; then
|
if [ "$device" == unknown ]; then
|
||||||
pid=$$
|
pid=$$
|
||||||
while [ "$device" == unknown -a $pid != 1 ]; do
|
while [ "$device" == unknown -a $pid != 1 ]; do
|
||||||
|
|
@ -43,6 +48,11 @@ case $device in
|
||||||
android_system_img="/var/lib/lxc/android/android-rootfs.img"
|
android_system_img="/var/lib/lxc/android/android-rootfs.img"
|
||||||
target_checksum="f8b91bd83795c62f1e9b33be9a4156bdf4a90658"
|
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
|
esac
|
||||||
|
|
||||||
[ -e /lib/udev/rules.d/80-keyboard.rules ] || \
|
[ -e /lib/udev/rules.d/80-keyboard.rules ] || \
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue