From f39764b8148d4472fdb832b8b8fb8dc8afe58e87 Mon Sep 17 00:00:00 2001 From: Dylan Van Assche <me@dylanvanassche.be> Date: Mon, 1 May 2023 16:24:20 +0200 Subject: [PATCH] device-shift-axolotl: start hexagonrpcd on boot Necessary to provide access to the filesystem for the SDSP --- device/community/device-shift-axolotl/APKBUILD | 5 +++-- .../device-shift-axolotl-nonfree-firmware.post-install | 2 ++ .../device-shift-axolotl-nonfree-firmware.post-upgrade | 1 + 3 files changed, 6 insertions(+), 2 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 c8e29761f73..3401cf359dd 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=9 +pkgver=10 pkgrel=0 url="https://postmarketos.org" license="MIT" @@ -44,7 +44,8 @@ package() { nonfree_firmware() { pkgdesc="Modem, GPU and WiFi Firmware, also needed for osk-sdl" depends="firmware-shift-sdm845>=0.4 firmware-shift-sdm845-initramfs - soc-qcom-sdm845-nonfree-firmware soc-qcom-sdm845-modem" + soc-qcom-sdm845-nonfree-firmware soc-qcom-sdm845-modem hexagonrpcd" + 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 00000000000..5cf61f597e9 --- /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 00000000000..821dad4c2ca --- /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 -- GitLab