soc-qcom-sdm845: fix post upgrade (MR 4154)

The call_audio_idle_suspend_workaround init service was moved to the
-pulseaudio subpackage, but the -modem subpackage still had a
.post-upgrade referring to it. This moves that to the (recently) new
-pulseaudio package

[ci:skip-build]: already built successfully in CI
This commit is contained in:
Bart Ribbers 2023-06-05 15:26:58 +02:00
parent 5433eecb11
commit bd1ee83338
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
3 changed files with 5 additions and 2 deletions

View file

@ -3,7 +3,7 @@
pkgname=soc-qcom-sdm845 pkgname=soc-qcom-sdm845
pkgdesc="Common package for Qualcomm SDM845 devices" pkgdesc="Common package for Qualcomm SDM845 devices"
pkgver=15 pkgver=15
pkgrel=0 pkgrel=1
url="https://postmarketos.org" url="https://postmarketos.org"
license="BSD-3-Clause" license="BSD-3-Clause"
arch="aarch64" arch="aarch64"
@ -101,6 +101,7 @@ vulkan() {
pulseaudio() { pulseaudio() {
install_if="$pkgname=$pkgver-r$pkgrel pulseaudio" install_if="$pkgname=$pkgver-r$pkgrel pulseaudio"
replaces="$pkgname" # To migrate from workaround being in main package replaces="$pkgname" # To migrate from workaround being in main package
install="$subpkgname.post-upgrade"
# Call Audio idle suspend workaround code # Call Audio idle suspend workaround code
install -Dm755 "$srcdir"/call_audio_idle_suspend_workaround.sh \ install -Dm755 "$srcdir"/call_audio_idle_suspend_workaround.sh \

View file

@ -1,3 +1,2 @@
#!/bin/sh #!/bin/sh
rc-update add q6voiced default rc-update add q6voiced default
rc-update add call_audio_idle_suspend_workaround default

View file

@ -0,0 +1,3 @@
#!/bin/sh
rc-update add call_audio_idle_suspend_workaround default