Optimize kernel-to-userspace battery life across CAMSS, SPI runtime PM, dwm, NeoUI, and plugins
This commit is contained in:
1 parent
f112b6ae72
commit
456d3fbc42
61 files changed
+466
-148
No files matched your search
@@ -235,10 +235,6 @@ EOF
|
||||
touch "$ROOTFS/run/openrc/shutdowntime"
|
||||
dbus-uuidgen --ensure="$ROOTFS/etc/machine-id"
|
||||
|
||||
if grep -q "^#ttyS0::respawn:/sbin/getty" "$ROOTFS/etc/inittab"; then
|
||||
sed -i 's|^#ttyS0::respawn:/sbin/getty.*|ttyMSM0::respawn:/sbin/getty -L 115200 ttyMSM0 vt100|' "$ROOTFS/etc/inittab"
|
||||
fi
|
||||
|
||||
for mod in panel_mipi_dbi leds_msm8905_torch msm8905-cam; do
|
||||
if ! grep -qx "$mod" "$ROOTFS/etc/modules" 2>/dev/null; then
|
||||
echo "$mod" >> "$ROOTFS/etc/modules"
|
||||
|
||||
Reference in new issue
Block a user