pmaports/device/main/device-purism-librem5/device-purism-librem5.post-install
Clayton Craft 67b5efcea1
device-purism-librem5: upgrade to 1.34 (MR 3501)
- update to use librem5-base v52
- install usbguard config / new subpackage
- move xorg.conf to new x11 subpackage
- refactor udev rule install to just install everything available from
  librem5-base upstream
- use purism's shipmode script, see:
  https://source.puri.sm/Librem5/linux/-/merge_requests/333#note_195511
2022-10-07 21:31:45 +02:00

14 lines
382 B
Bash

#!/bin/sh
# Enable GPS support
sed -i 's|# nmea-socket=/var/run/gps-share.sock|nmea-socket=/var/run/gnss-share.sock|' /etc/geoclue/geoclue.conf
rc-update -qq del gpsd
rc-update -q add gnss-share
rc-update -q add l5-ship-mode shutdown
# Clean up any old, unneeded legacy u-boot images from /boot
for f in uInitrd uImage; do
[ ! -f "/boot/$f" ] && continue
rm -f "/boot/$f"
done