treewide: remove asound.state

asound.state is a lock file for the current system
state of alsa. It gets written by alsa-restore and
thus should not be part of packaging, as the
updates will never apply cleanly over a constantly
updating state file.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8983>
This commit is contained in:
Aster Boese
2026-08-12 21:30:38 +02:00
parent fe7f3a2343
commit a191ecb63d
8 changed files with 6 additions and 3677 deletions
+2 -7
View File
@@ -2,7 +2,7 @@
# Reference: <https://postmarketos.org/devicepkg>
maintainer=""
pkgname=device-beelink-gt1
pkgver=5
pkgver=6
pkgrel=0
pkgdesc="Beelink gt1 (Ultimate)"
url="https://postmarketos.org"
@@ -14,9 +14,7 @@ makedepends="devicepkg-dev"
provides="$pkgname-kernel-amlogic=$pkgver-r$pkgrel $pkgname-kernel-alpine=$pkgver-r$pkgrel"
replaces="$pkgname-kernel-amlogic=$pkgver-r$pkgrel $pkgname-kernel-alpine=$pkgver-r$pkgrel"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="
asound.state
deviceinfo kernel-cmdline.amlogic.conf kernel-cmdline.alpine.conf modules-initfs"
source="deviceinfo kernel-cmdline.amlogic.conf kernel-cmdline.alpine.conf modules-initfs"
build() {
devicepkg_build $startdir $pkgname
@@ -24,8 +22,6 @@ build() {
package() {
devicepkg_package $startdir $pkgname
install -D -m644 "$srcdir"/asound.state \
"$pkgdir"/var/lib/alsa/asound.state
}
nonfree_firmware() {
@@ -36,7 +32,6 @@ nonfree_firmware() {
sha512sums="
a38e33d5bce26549c73f9aad2988ef8d7e7a3bbb28ac37348545fe7edb935be1b51dbdf8a857fb9d49be7e6eab7d40ac2f11fdcd618487747b809f7236ccf57b asound.state
ebd4eadeba93f857d9b0ae25dc2a87b22ff819d3578ee3f0116a8502db048eaaf14c43f9829f22c0acf25c8441cad01b6cf10bc601bea7d04ff337f87e377ee1 deviceinfo
cf9d03ab06004b4629bde4eff29028ffb07edc512a08c397f773dc49bed1aa2aead46496333c530f51bc10b653eb3ac706966cbc86997cdc37c7518b24acc368 kernel-cmdline.amlogic.conf
cf9d03ab06004b4629bde4eff29028ffb07edc512a08c397f773dc49bed1aa2aead46496333c530f51bc10b653eb3ac706966cbc86997cdc37c7518b24acc368 kernel-cmdline.alpine.conf
@@ -1,217 +0,0 @@
state.P230Q200 {
control.1 {
iface MIXER
name 'AIU ACODEC I2S Lane Select'
value 3
comment {
access 'read write'
type INTEGER
count 1
range '0 - 3'
}
}
control.2 {
iface MIXER
name 'ACODEC Playback Channel Mode'
value Stereo
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Stereo
item.1 Mono
}
}
control.3 {
iface MIXER
name 'ACODEC Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.4 {
iface MIXER
name 'ACODEC Playback Volume'
value.0 255
value.1 255
comment {
access 'read write'
type INTEGER
count 2
range '0 - 255'
dbmin -9999999
dbmax 0
dbvalue.0 0
dbvalue.1 0
}
}
control.5 {
iface MIXER
name 'ACODEC Ramp Rate'
value Fast
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Fast
item.1 Slow
}
}
control.6 {
iface MIXER
name 'ACODEC Volume Ramp Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.7 {
iface MIXER
name 'ACODEC Mute Ramp Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.8 {
iface MIXER
name 'ACODEC Unmute Ramp Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.9 {
iface PCM
device 4
name 'Playback Channel Map'
value.0 0
value.1 0
value.2 0
value.3 0
value.4 0
value.5 0
value.6 0
value.7 0
comment {
access read
type INTEGER
count 8
range '0 - 36'
}
}
control.10 {
iface PCM
device 4
name 'IEC958 Playback Mask'
value ffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
comment {
access read
type IEC958
count 1
}
}
control.11 {
iface PCM
device 4
name 'IEC958 Playback Default'
value '0400000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
comment {
access 'read write'
type IEC958
count 1
}
}
control.12 {
iface PCM
device 4
name ELD
value '0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
comment {
access 'read volatile'
type BYTES
count 128
}
}
control.13 {
iface MIXER
name 'AIU SPDIF SRC SEL'
value SPDIF
comment {
access 'read write'
type ENUMERATED
count 1
item.0 SPDIF
item.1 I2S
}
}
control.14 {
iface MIXER
name 'AIU HDMI CTRL SRC'
value I2S
comment {
access 'read write'
type ENUMERATED
count 1
item.0 DISABLED
item.1 PCM
item.2 I2S
}
}
control.15 {
iface MIXER
name 'AIU ACODEC SRC'
value DISABLED
comment {
access 'read write'
type ENUMERATED
count 1
item.0 DISABLED
item.1 I2S
item.2 PCM
}
}
control.16 {
iface MIXER
name 'AIU ACODEC OUT EN Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.17 {
iface MIXER
name 'ACODEC Right DAC Sel'
value Right
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Right
item.1 Left
}
}
control.18 {
iface MIXER
name 'ACODEC Left DAC Sel'
value Left
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Left
item.1 Right
}
}
}
+1 -5
View File
@@ -3,7 +3,7 @@
maintainer=""
pkgname=device-jolla-sbj
pkgdesc="Jolla phone"
pkgver=5
pkgver=6
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@@ -32,7 +32,6 @@ source="deviceinfo
led-charging-sbj.sh
led-discharging-sbj.sh
pointercal
asound.state
ucm/msm8930-sitar.conf
ucm/HiFi.conf
buttons.conf
@@ -55,8 +54,6 @@ package() {
install -D -m644 "$srcdir"/pointercal \
"$pkgdir"/etc/pointercal
install -D -m644 "$srcdir"/asound.state \
"$pkgdir"/var/lib/alsa/asound.state
# Install triggerhappy evdev rules for sbj
install -Dm755 "$srcdir"/buttons.conf "$pkgdir"/etc/triggerhappy/triggers.d/buttons.conf
@@ -96,7 +93,6 @@ a8cfde9dd3bc96d990038443e8d10a551f13536f017992ae23545d2f1e09b0f729e5cfd1f94f52a2
e6241b7cebe2f970fb6d24ecd18edc55e92e73307594e6dda985fc9b0a2f5039313bb835b7969faf1d6aba9aed2cf97d4d7f24744e5d7528d3b7402b0dd72693 led-charging-sbj.sh
df54971314fde8e917e675b7813f208bc0e92748d177e9e07faf27c9e8d66e816de47da9a6760be0327842a9196ff563debc09a3a478485c814d7cbee3217095 led-discharging-sbj.sh
8ebcd34d14924419f79768c7662f6f48a39bbee638ec1fd0c54d3c0490065c365e9cd670d93c97420ff954a5acb39e24949b9f926ab1f43580808b0283393018 pointercal
4515ba1e449502e321f70de6bb69a771ccbe5d3f87777e9d91da80b9e0fb43f7198055555102e534043b0154dc8c30e942f09f3e753d0a8a5c91c6444f7d3497 asound.state
abbf130efc767c7062ac875e3a7c1a912c3f677abdc36ef4ed4c0a8d52a3b279680ecf1124ed5bf8f14321fee30b52b19d1ad4acebefb19880991a1e136735e2 msm8930-sitar.conf
0130ef966d66b284ad422a1d8333f7b308b9359c310db432047658906590713fea9103f422eab25c64d0d35684b4981879d08a6e64d44885c77284459683f8bd HiFi.conf
635565cb2caf4c17456590bf4db8903a8f8a0eeef7a643eceb3eea923908b19a0b2a0156cd62c0cd9ea4509e05e8bf08b9e0900ab1b622310f19947850dfc63d buttons.conf
@@ -1,153 +0,0 @@
state.msm8930sitarsnd {
control.21 {
iface MIXER
name 'HPHL Volume'
value 6
comment {
access 'read write'
type INTEGER
count 1
range '0 - 12'
dbmin -9999999
dbmax 84
dbvalue.0 42
}
}
control.22 {
iface MIXER
name 'HPHR Volume'
value 6
comment {
access 'read write'
type INTEGER
count 1
range '0 - 12'
dbmin -9999999
dbmax 84
dbvalue.0 42
}
}
control.23 {
iface MIXER
name 'RX1 Digital Volume'
value 60
comment {
access 'read write'
type INTEGER
count 1
range '0 - 124'
dbmin 0
dbmax 124
dbvalue.0 84
}
}
control.24 {
iface MIXER
name 'RX2 Digital Volume'
value 60
comment {
access 'read write'
type INTEGER
count 1
range '0 - 124'
dbmin 0
dbmax 124
dbvalue.0 84
}
}
control.25 {
iface MIXER
name 'RX3 Digital Volume'
value 60
comment {
access 'read write'
type INTEGER
count 1
range '0 - 124'
dbmin 0
dbmax 124
dbvalue.0 84
}
}
control.215 {
iface MIXER
name 'SLIMBUS_0_RX Audio Mixer MultiMedia1'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.260 {
iface MIXER
name 'RX1 MIX1 INP1'
value RX1
comment {
access 'read write'
type ENUMERATED
count 1
item.0 ZERO
item.1 SRC1
item.2 SRC2
item.3 IIR1
item.4 IIR2
item.5 RX1
item.6 RX2
item.7 RX3
item.8 RX4
item.9 RX5
}
}
control.262 {
iface MIXER
name 'DAC3 MUX'
value INV_RX1
comment {
access 'read write'
type ENUMERATED
count 1
item.0 ZERO
item.1 RX1
item.2 INV_RX1
item.3 RX2
}
}
control.263 {
iface MIXER
name 'DAC2 MUX'
value RX1
comment {
access 'read write'
type ENUMERATED
count 1
item.0 ZERO
item.1 RX1
}
}
control.264 {
iface MIXER
name 'DAC1 MUX'
value ZERO
comment {
access 'read write'
type ENUMERATED
count 1
item.0 ZERO
item.1 RX1
item.2 RX2
}
}
control.319 {
iface MIXER
name 'SLIM_0_RX Channels'
value One
comment {
access 'read write'
type ENUMERATED
count 1
item.0 One
item.1 Two
}
}
}
@@ -1,7 +1,7 @@
# Reference: <https://postmarketos.org/devicepkg>
maintainer="exkc <exxxxkc@getgoogleoff.me>"
pkgname=device-amediatech-x96-mini
pkgver=6
pkgver=7
pkgrel=0
pkgdesc="Amediatech X96 mini"
url="https://postmarketos.org"
@@ -16,7 +16,7 @@ depends="
u-boot-amlogic-amediatech-x96-mini
"
makedepends="devicepkg-dev"
source="asound.state deviceinfo kernel-cmdline.conf modules-initfs"
source="deviceinfo kernel-cmdline.conf modules-initfs"
build() {
devicepkg_build $startdir $pkgname
@@ -24,12 +24,9 @@ build() {
package() {
devicepkg_package $startdir $pkgname
install -Dm644 "$srcdir"/asound.state \
"$pkgdir"/var/lib/alsa/asound.state
}
sha512sums="
981ef458837524b2b1922e7bc5abd4936d629e3f83e92062b46597cef985b65fdb90900de1ef93a7d741b9b0ac4b41cef9c3c2625181ff0e10effc22cb2fa3a3 asound.state
eee027b5ca603bfcb4e047147f4b80508178a616a702b8ad46debcf60a82fcc7bed3e52618b243508e170e532a4650349af7ea71c6ff9f5be1696e5363b7dcef deviceinfo
97e88eaa9b8e7989a20d2572479fe5d1fe0284de862da11c91b1f347099d5704673837db01a6b0c289fee0a2d7236f64fba31fd6001475f957c23203e34fd6fb kernel-cmdline.conf
b9f3e1902c17909de928c99868265a257ba5873f6ea6aa1097ad10721f59d68342d50ee51992472ecd23722f7664a13dd15f4e26071a40595c7c3e5161e533d7 modules-initfs
@@ -1,217 +0,0 @@
state.P230Q200 {
control.1 {
iface MIXER
name 'AIU ACODEC I2S Lane Select'
value 3
comment {
access 'read write'
type INTEGER
count 1
range '0 - 3'
}
}
control.2 {
iface MIXER
name 'ACODEC Playback Channel Mode'
value Stereo
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Stereo
item.1 Mono
}
}
control.3 {
iface MIXER
name 'ACODEC Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.4 {
iface MIXER
name 'ACODEC Playback Volume'
value.0 255
value.1 255
comment {
access 'read write'
type INTEGER
count 2
range '0 - 255'
dbmin -9999999
dbmax 0
dbvalue.0 0
dbvalue.1 0
}
}
control.5 {
iface MIXER
name 'ACODEC Ramp Rate'
value Fast
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Fast
item.1 Slow
}
}
control.6 {
iface MIXER
name 'ACODEC Volume Ramp Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.7 {
iface MIXER
name 'ACODEC Mute Ramp Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.8 {
iface MIXER
name 'ACODEC Unmute Ramp Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.9 {
iface PCM
device 4
name 'Playback Channel Map'
value.0 0
value.1 0
value.2 0
value.3 0
value.4 0
value.5 0
value.6 0
value.7 0
comment {
access read
type INTEGER
count 8
range '0 - 36'
}
}
control.10 {
iface PCM
device 4
name 'IEC958 Playback Mask'
value ffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
comment {
access read
type IEC958
count 1
}
}
control.11 {
iface PCM
device 4
name 'IEC958 Playback Default'
value '0400000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
comment {
access 'read write'
type IEC958
count 1
}
}
control.12 {
iface PCM
device 4
name ELD
value '0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
comment {
access 'read volatile'
type BYTES
count 128
}
}
control.13 {
iface MIXER
name 'AIU SPDIF SRC SEL'
value SPDIF
comment {
access 'read write'
type ENUMERATED
count 1
item.0 SPDIF
item.1 I2S
}
}
control.14 {
iface MIXER
name 'AIU HDMI CTRL SRC'
value I2S
comment {
access 'read write'
type ENUMERATED
count 1
item.0 DISABLED
item.1 PCM
item.2 I2S
}
}
control.15 {
iface MIXER
name 'AIU ACODEC SRC'
value I2S
comment {
access 'read write'
type ENUMERATED
count 1
item.0 DISABLED
item.1 I2S
item.2 PCM
}
}
control.16 {
iface MIXER
name 'AIU ACODEC OUT EN Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.17 {
iface MIXER
name 'ACODEC Right DAC Sel'
value Right
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Right
item.1 Left
}
}
control.18 {
iface MIXER
name 'ACODEC Left DAC Sel'
value Left
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Left
item.1 Right
}
}
}
+1 -6
View File
@@ -3,7 +3,7 @@ maintainer="Ferass El Hafidi <funderscore@postmarketos.org>"
pkgname=device-samsung-kona
replaces="device-samsung-n5110"
pkgdesc="Samsung Galaxy Note 8.0 (Wi-Fi)"
pkgver=5
pkgver=6
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@@ -23,7 +23,6 @@ _pmb_recommends="
"
source="
deviceinfo
asound.state
Kona_WM1811/hifi.conf
Kona_WM1811/Kona_WM1811.conf
Kona_WM1811/lp.conf
@@ -32,9 +31,6 @@ source="
package() {
devicepkg_package $startdir $pkgname
install -D -m644 "$srcdir"/asound.state \
"$pkgdir"/var/lib/alsa/asound.state
install -D -m644 "$srcdir"/Kona_WM1811.conf \
"$pkgdir"/usr/share/alsa/ucm/Kona_WM1811/Kona_WM1811.conf
@@ -47,7 +43,6 @@ package() {
sha512sums="
6353de831356e15049805fc61e73e9db80e76d44eb95ec52a0fb720e88b2e292e77a36c3f49d17130c1bf74789983afec4c326de143c7d444e53e333e80fc7c5 deviceinfo
dbbe2516c347708f72ef2e8fb6a110e6b18234c72f7173940a9a3727c6fd357b449df7c0a5ba223d2571b90249714d811307c3155b8d76974ecb1fe92c5abe98 asound.state
1edafcded27093f6d71b2459e92e59390dfbea50c866612f7b78943dd4b96057649b2ffa677956a2b160956c5d12e8eff76ace7ec91134bafba2b632b461c660 hifi.conf
f885a785caabd7e1d2ccf456a6ad4fa90bf01f76ba94c902a0d55268a8eddbad4b591db524a2359f1b676929d426e892db4597189e91fcd8df06bc54e3555b92 Kona_WM1811.conf
3e0afbb20975be711613a5787635cd4b2b58e2232387e4d6f6910a7b45467fefc57cb4160f00a52db73089fa9523560e1360b045242235eac1cdb6e6f813b06b lp.conf
File diff suppressed because it is too large Load Diff