More fixes that might help

This commit is contained in:
Adam Boardman 2021-01-01 15:53:59 +00:00
parent 31eec882d7
commit de98254708
3 changed files with 10 additions and 11 deletions

1
debian/control vendored
View file

@ -9,6 +9,7 @@ Homepage: https://github.com/gemian/lxc-android
Package: lxc-android
Architecture: all
Depends: ${shlibs:Depends}, ${misc:Depends}, lxc
Conflicts: droid-hal-cosmopda
Description: lxc configuration for starting android
.
This package provides the configuration for starting android in lxc

View file

@ -6,6 +6,7 @@ Before=local-fs.target systemd-modules-load.service
What=/system_root/system
Where=/system
Type=overlay
Options=lowerdir=/usr/lib/lxc-android/system:/system_root/system
# Default is 90 which makes mount period too long in case of
# errors so drop it down a notch.
@ -13,6 +14,3 @@ TimeoutSec=10
[Install]
WantedBy=local-fs.target
# From ./out/target/product/cosmopda/root/fstab.mt6771 :
# /dev/mmcblk0p33 / ext4 ro wait,verify,recoveryonly

View file

@ -70,12 +70,12 @@ lxc.hook.mount = /usr/share/lxcfs/lxc.mount.hook
lxc.hook.post-stop = /usr/share/lxcfs/lxc.reboot.hook
#lxc.mount.entry = tmpfs dev tmpfs nosuid 0 0
#lxc.mount.entry = /dev/__properties__ dev/__properties__ bind bind,create=dir 0 0
#lxc.mount.entry = /dev/socket dev/socket bind bind,create=dir 0 0
#lxc.mount.entry = proc proc proc nodev,noexec,nosuid 0 0
#lxc.mount.entry = sys sys sysfs nodev,noexec,nosuid 0 0
##lxc.mount.entry = tmp tmp tmpfs nodev,noexec,nosuid 0 0
lxc.mount.entry = tmpfs dev tmpfs nosuid 0 0
lxc.mount.entry = /dev/__properties__ dev/__properties__ bind bind,create=dir 0 0
lxc.mount.entry = /dev/socket dev/socket bind bind,create=dir 0 0
lxc.mount.entry = proc proc proc nodev,noexec,nosuid 0 0
lxc.mount.entry = sys sys sysfs nodev,noexec,nosuid 0 0
#lxc.mount.entry = tmp tmp tmpfs nodev,noexec,nosuid 0 0
#lxc.mount.entry = /android/data data bind bind 0 0
#lxc.mount.entry = /vendor vendor bind rbind 0 0
#lxc.mount.entry = /mnt mnt bind rbind 0 0
lxc.mount.entry = /vendor vendor bind rbind 0 0
lxc.mount.entry = /mnt mnt bind rbind 0 0