~martijnbraam/almoports

bd1ee83338ef81afc3c8b2141a473b21c0b10b56 — Bart Ribbers 8 months ago 5433eec
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
M device/community/soc-qcom-sdm845/APKBUILD => device/community/soc-qcom-sdm845/APKBUILD +2 -1
@@ 3,7 3,7 @@
pkgname=soc-qcom-sdm845
pkgdesc="Common package for Qualcomm SDM845 devices"
pkgver=15
pkgrel=0
pkgrel=1
url="https://postmarketos.org"
license="BSD-3-Clause"
arch="aarch64"


@@ 101,6 101,7 @@ vulkan() {
pulseaudio() {
	install_if="$pkgname=$pkgver-r$pkgrel pulseaudio"
	replaces="$pkgname" # To migrate from workaround being in main package
	install="$subpkgname.post-upgrade"

	# Call Audio idle suspend workaround code
	install -Dm755 "$srcdir"/call_audio_idle_suspend_workaround.sh \

M device/community/soc-qcom-sdm845/soc-qcom-sdm845-modem.post-install => device/community/soc-qcom-sdm845/soc-qcom-sdm845-modem.post-install +0 -1
@@ 1,3 1,2 @@
#!/bin/sh
rc-update add q6voiced default
rc-update add call_audio_idle_suspend_workaround default

A device/community/soc-qcom-sdm845/soc-qcom-sdm845-pulseaudio.post-upgrade => device/community/soc-qcom-sdm845/soc-qcom-sdm845-pulseaudio.post-upgrade +3 -0
@@ 0,0 1,3 @@
#!/bin/sh

rc-update add call_audio_idle_suspend_workaround default