pmaports/device/main/device-purism-librem5/device-purism-librem5.post-install
Clayton Craft bbbc7b7b2d
purism-librem5: revert ucm, other cleanup (MR 4138)
changes:

- don't try to set gnss-share socket in geoclue

- install Alsa UCM configs from purism

  Upstream ucm is broken when migrating from the purism ucm, so let's
  just use ucm from purism until someone upstreams something that works.
  What I upstreamed was based on an older ucm from Purism, what they are
  shipping is more correct than upstream ucm...

  This reverts commit 70b7813fee.

  fixes #2134

[ci:skip-build] already built successfully in CI
2023-06-02 08:08:14 -07:00

12 lines
284 B
Bash

#!/bin/sh
rc-update -qq del gpsd
rc-update -q add gnss-share
rc-update -q add l5-ship-mode shutdown
rc-update -q add l5-lockdown-support
# 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