e4cc96d27e
Lots of device-specific configurations: * android mount points and mounts * android groups and users (needed for udev rules) * android udev rules for platform devices (needed for android services to run) * NetworkManager device-specific config * wpa_supplicant device-specific config * device-specific openrc service for late initcalls to bring up Wi-Fi hardware * extra helper scripts to call logcat, set backlight brightness, get battery status, unlock kde screenlocker session * use kernel cmdline from downstream android to keep it as close to android as possible. Important for android in lxc container later
17 lines
354 B
Bash
Executable file
17 lines
354 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Append Android mounts to Linux fstab
|
|
cat /etc/fstab.android >> /etc/fstab
|
|
|
|
# Create android mount points
|
|
mkdir -p /data
|
|
mkdir -p /system
|
|
mkdir -p /cache
|
|
mkdir -p /efs
|
|
mkdir -p /firmware
|
|
mkdir -p /firmware-modem
|
|
mkdir -p /external_sd
|
|
mkdir -p /misc
|
|
|
|
# /vendor symlink (points to nowhere until /system is mounted)
|
|
ln -s /system/vendor /vendor
|