64035ac463
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
25 lines
724 B
Bash
25 lines
724 B
Bash
#!/bin/sh
|
|
|
|
# We'll need to remove both services because someone might
|
|
# not know that the firmware doesn't need to be installed for Hybris
|
|
# to work. (these also contribute to the long boot times)
|
|
rc-update del adsp-audio default
|
|
rc-update del wcnss-wlan default
|
|
|
|
# On this device, seems that refreshing the framebuffer creates artifacts
|
|
# in test_hwcomposer, so this had to be disabled.
|
|
rc-update del msm-fb-refresher boot
|
|
|
|
# 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 /persist
|
|
mkdir -p /dsp
|
|
mkdir -p /firmware
|
|
|
|
# /vendor symlink (points to nowhere until /system is mounted)
|
|
ln -s /system/vendor /vendor
|