584337aa82
Apparently upstream names udev rules with the .udev extension... which doesn't work with udev (I guess debian has a helper for installing rules and it renames them?). This adds the expected ".rules" extension to them so that udev actually uses them. This update also includes improved ucm config from Purism. "Lockdown suppport" is also added here, which allows toggling off all of the hks on the L5 to disable all radios, etc without breaking some sensors. For more info, see 65ec7038 in librem5-base.
15 lines
419 B
Bash
15 lines
419 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
|
|
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
|