/etc/init/lxc-android-boot.conf is in lxc-android-config 0.162.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | # lxc-android-boot - LXC Android Boot Setup
#
# Boot setup to map the Android specifics in Ubuntu Touch
# This logic should be moved to the initrd once we have a working loop mounted
# partition scheme for Touch
description "lxc android boot setup"
start on filesystem
script
# Read-only flipped model doesn't need all this
[ -d /android ] && exit 0
/usr/lib/lxc-android-config/update-fstab
grep -q " /data" /proc/mounts 2>/dev/null || mount /data
grep -q " /system" /proc/mounts 2>/dev/null || mount /system
grep -q " /vendor" /proc/mounts 2>/dev/null || mount /vendor
grep -q " /persist" /proc/mounts 2>/dev/null || mount /persist || true
[ -e /lib/modules ] || ln -s /system/lib/modules /lib/modules
device=$(grep ^ro.product.device= /system/build.prop |sed -e 's/.*=//')
[ -e /lib/udev/rules.d/70-$device.rules ] || \
cp /usr/lib/lxc-android-config/70-$device.rules /lib/udev/rules.d/
# add device specific hacks and workarounds below
end script
|