Command to reproduce:
grep -L '^maintainer="[^"]\+"$' device/{main,community,testing,downstream}/*/APKBUILD | sed 's/\/APKBUILD//' | xargs -i sh -c 'sed -i "1s;^;# Archived: unmaintained\n;" {}/APKBUILD && mv {} device/archived/ && git add {} && git add device/archived/'
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8883>
9 lines
227 B
Bash
9 lines
227 B
Bash
#!/bin/sh
|
|
|
|
# set framebuffer resolution
|
|
echo 16 > /sys/class/graphics/fb0/bits_per_pixel
|
|
echo 480,1600 > /sys/class/graphics/fb0/virtual_size
|
|
|
|
# set usb properties
|
|
echo 4 > /sys/devices/platform/android_usb/usb_function_switch
|