From 745d585a54475e78b892b4533ddec77892e8ce5d Mon Sep 17 00:00:00 2001 From: Dylan Van Assche Date: Mon, 1 May 2023 16:24:20 +0200 Subject: [PATCH] device-shift-axolotl: start hexagonrpcd on boot (MR 4050) Necessary to provide access to the filesystem for the SDSP --- device/community/device-shift-axolotl/APKBUILD | 12 +++++++++--- ...evice-shift-axolotl-nonfree-firmware.post-install | 2 ++ ...evice-shift-axolotl-nonfree-firmware.post-upgrade | 1 + 3 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 device/community/device-shift-axolotl/device-shift-axolotl-nonfree-firmware.post-install create mode 120000 device/community/device-shift-axolotl/device-shift-axolotl-nonfree-firmware.post-upgrade diff --git a/device/community/device-shift-axolotl/APKBUILD b/device/community/device-shift-axolotl/APKBUILD index ad9bb49ea..c7b79bb08 100644 --- a/device/community/device-shift-axolotl/APKBUILD +++ b/device/community/device-shift-axolotl/APKBUILD @@ -4,7 +4,7 @@ pkgname=device-shift-axolotl pkgdesc="SHIFT6mq" -pkgver=13 +pkgver=14 pkgrel=0 url="https://postmarketos.org" license="MIT" @@ -43,8 +43,14 @@ package() { nonfree_firmware() { pkgdesc="Modem, GPU and WiFi Firmware, also needed for osk-sdl" - depends="firmware-shift-sdm845>=20230815-r2 firmware-shift-sdm845-initramfs - soc-qcom-sdm845-nonfree-firmware soc-qcom-sdm845-modem" + depends=" + firmware-shift-sdm845>=20230815-r2 + firmware-shift-sdm845-initramfs + hexagonrpcd + soc-qcom-sdm845-nonfree-firmware + soc-qcom-sdm845-modem + " + install="$subpkgname.post-install $subpkgname.post-upgrade" mkdir "$subpkgdir" install -Dm644 q6voiced.conf "$subpkgdir"/etc/conf.d/q6voiced diff --git a/device/community/device-shift-axolotl/device-shift-axolotl-nonfree-firmware.post-install b/device/community/device-shift-axolotl/device-shift-axolotl-nonfree-firmware.post-install new file mode 100644 index 000000000..5cf61f597 --- /dev/null +++ b/device/community/device-shift-axolotl/device-shift-axolotl-nonfree-firmware.post-install @@ -0,0 +1,2 @@ +#!/bin/sh +rc-update add hexagonrpcd-sdsp diff --git a/device/community/device-shift-axolotl/device-shift-axolotl-nonfree-firmware.post-upgrade b/device/community/device-shift-axolotl/device-shift-axolotl-nonfree-firmware.post-upgrade new file mode 120000 index 000000000..821dad4c2 --- /dev/null +++ b/device/community/device-shift-axolotl/device-shift-axolotl-nonfree-firmware.post-upgrade @@ -0,0 +1 @@ +device-shift-axolotl-nonfree-firmware.post-install \ No newline at end of file