chore: Update jupiter-hw-support spec

This commit is contained in:
Kyle Gospodnetich 2023-09-10 20:32:24 -07:00
parent 5c068a5f22
commit c30bc6ab17
2 changed files with 0 additions and 38 deletions

View File

@ -28,16 +28,6 @@ index 4f850b3..ce69763 100755
set -euo pipefail
diff --git a/usr/bin/steamos-polkit-helpers/jupiter-amp-control b/usr/bin/steamos-polkit-helpers/jupiter-amp-control
index 5f1d205..3e0ed02 100755
--- a/usr/bin/steamos-polkit-helpers/jupiter-amp-control
+++ b/usr/bin/steamos-polkit-helpers/jupiter-amp-control
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/sh
set -eu
diff --git a/usr/bin/steamos-polkit-helpers/jupiter-biosupdate b/usr/bin/steamos-polkit-helpers/jupiter-biosupdate
index 1d7b792..c716d12 100755
--- a/usr/bin/steamos-polkit-helpers/jupiter-biosupdate
@ -258,26 +248,6 @@ index bae7403..1a7e948 100755
set -eu
diff --git a/usr/lib/hwsupport/cirrus-fixup.sh b/usr/lib/hwsupport/cirrus-fixup.sh
index b21b103..99bfe5f 100755
--- a/usr/lib/hwsupport/cirrus-fixup.sh
+++ b/usr/lib/hwsupport/cirrus-fixup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/sh
cd $1
diff --git a/usr/lib/hwsupport/ev2_cirrus_alsa_fixups.sh b/usr/lib/hwsupport/ev2_cirrus_alsa_fixups.sh
index 995ec8d..cdfa14b 100755
--- a/usr/lib/hwsupport/ev2_cirrus_alsa_fixups.sh
+++ b/usr/lib/hwsupport/ev2_cirrus_alsa_fixups.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/sh
# These tend to persist, but they're not right on first boot
# TODO call is_ev2.sh (doesn't exist yet) to only run it there?
diff --git a/usr/lib/hwsupport/format-device.sh b/usr/lib/hwsupport/format-device.sh
index 6529e23..9de19b1 100755
--- a/usr/lib/hwsupport/format-device.sh

View File

@ -46,14 +46,9 @@ mkdir -p %{buildroot}%{_sysconfdir}/
mkdir -p %{buildroot}%{_prefix}/lib/hwsupport/
cp -rv usr/share/* %{buildroot}%{_datadir}
cp -rv usr/lib/systemd/system/* %{buildroot}%{_unitdir}/
cp usr/lib/hwsupport/cs35l41-dsp1-spk-prot.bin.mod %{buildroot}%{_prefix}/lib/hwsupport/cs35l41-dsp1-spk-prot.bin.mod
cp usr/lib/hwsupport/cs35l41-dsp1-spk-prot.bin.orig %{buildroot}%{_prefix}/lib/hwsupport/cs35l41-dsp1-spk-prot.bin.orig
cp usr/lib/hwsupport/power-button-handler.py %{buildroot}%{_prefix}/lib/hwsupport/power-button-handler.py
cp usr/lib/hwsupport/cirrus-fixup.sh %{buildroot}%{_sbindir}/cirrus-fixup
cp usr/lib/hwsupport/ev2_cirrus_alsa_fixups.sh %{buildroot}%{_sbindir}/ev2_cirrus_alsa_fixups
cp usr/lib/hwsupport/format-device.sh %{buildroot}%{_sbindir}/format-device
cp usr/lib/hwsupport/format-sdcard.sh %{buildroot}%{_sbindir}/format-sdcard
cp usr/lib/hwsupport/jupiter-amp-control %{buildroot}%{_sbindir}/jupiter-amp-control
cp usr/lib/hwsupport/steamos-automount.sh %{buildroot}%{_sbindir}/steamos-automount
cp usr/lib/hwsupport/trim-devices.sh %{buildroot}%{_sbindir}/trim-devices
cp -rv usr/lib/udev %{buildroot}%{_prefix}/lib/udev
@ -95,11 +90,8 @@ rm -rf %{buildroot}%{_unitdir}/multi-user.target.wants
%{_bindir}/thumbstick_cal
%{_bindir}/thumbstick_fine_cal
%{_bindir}/trigger_cal
%{_sbindir}/cirrus-fixup
%{_sbindir}/ev2_cirrus_alsa_fixups
%{_sbindir}/format-device
%{_sbindir}/format-sdcard
%{_sbindir}/jupiter-amp-control
%{_sbindir}/steamos-automount
%{_sbindir}/trim-devices
%{_prefix}/lib/hwsupport/*