pmaports/device/device-samsung-klte/device-samsung-klte-hybris.post-install
Alexey Min e4cc96d27e samsung-klte: downstream: add android adaptation (!332)
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
2019-06-02 02:49:02 +00:00

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