Updates for Astro
This commit is contained in:
parent
92fe72c472
commit
a3b2b084f7
2 changed files with 11 additions and 4 deletions
4
debian/control
vendored
4
debian/control
vendored
|
|
@ -1,6 +1,6 @@
|
|||
Source: lxc-android
|
||||
Priority: optional
|
||||
Maintainer: TheKit <nekit1000@gmail.com>
|
||||
Maintainer: Adam Boardman <adamboardman@gmail.com>
|
||||
Build-Depends: debhelper (>= 12)
|
||||
Standards-Version: 4.5.0
|
||||
Section: libs
|
||||
|
|
@ -8,7 +8,7 @@ Homepage: https://github.com/gemian/lxc-android
|
|||
|
||||
Package: lxc-android
|
||||
Architecture: all
|
||||
Depends: lxc, gemian-system, cosmo-linux-kernel
|
||||
Depends: lxc, gemian-system, planet-linux-kernel
|
||||
Description: lxc configuration for starting android
|
||||
.
|
||||
This package provides the configuration for starting android in lxc
|
||||
|
|
|
|||
|
|
@ -1,7 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
#patched to reduce cpu usage of mtkfusionrild
|
||||
mount -o ro,bind /usr/libexec/droid-hybris/vendor/lib64/libmtk-ril.so /vendor/lib64/libmtk-ril.so
|
||||
model=$(</proc/device-tree/model)
|
||||
if [[ "$model" =~ ^(.*)MT6771(.*)$ ]];
|
||||
then
|
||||
#patched to reduce cpu usage of mtkfusionrild - Cosmo
|
||||
mount -o ro,bind /usr/libexec/droid-hybris/vendor/lib64/libmtk-ril.so /vendor/lib64/libmtk-ril.so
|
||||
fi
|
||||
|
||||
#disable secure_element and keymaster as they always fail
|
||||
mount -o ro,bind /dev/null /vendor/etc/init/android.hardware.secure_element@1.0-service.rc
|
||||
|
|
@ -15,3 +19,6 @@ mount -o ro,bind /dev/null /vendor/etc/init/init.wmt_drv.rc
|
|||
#disable loading of the vendor fmradio and gps drivers as we build and launch our own within gemian
|
||||
mount -o ro,bind /dev/null /vendor/etc/init/init.fmradio_drv.rc
|
||||
mount -o ro,bind /dev/null /vendor/etc/init/init.gps_drv.rc
|
||||
|
||||
#disable health?
|
||||
#/vendor/etc/init/android.hardware.health\@2.0-service.rc
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue