pmaports/device/testing/device-samsung-klte/device-samsung-klte-hybris.post-install
Oliver Smith 64035ac463
device/*: move to device/testing/* (!1063)
Prepare for better device categorization by moving everything to testing
subdir first.

[skip-ci]: chicken-egg problem: passing pmaports CI depends on pmbootstrap MR
				depends on this MR

Related: postmarketos#16
2020-03-14 08:35:32 +01:00

24 lines
604 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
# disable msm-fb-refresher service on libhybris adaptation
rc-update del msm-fb-refresher boot
# symlink system.img from userdata partition to a place
# where lxc-android expects to see it.
ln -s /data/system.img /var/lib/lxc/android/system.img