Skip to content

Commit 28f986a

Browse files
authored
fastrpc: upgrade 1.0.2 -> 1.0.3 (#1569)
Upgrade FastRPC from version 1.0.2 to 1.0.3. ### Top-Level Changelog for source project: **Core Enhancements** - Added systemd service and unit files for FastRPC daemons, including - audiopd aDSP RPC daemon. - Added support for handling RPC_PM_QOS command to maintain backward compatibility. - Introduced libbsd support for non-Android builds. **CI/CD Improvements** - Configured workflows to run ARMOR on AWS self-hosted runners. - Added workflow to trigger package repository builds. - Improved CI reliability with robust LAVA job monitoring. - Updated CI workflows to support libbsd integration. **Code Cleanup & Maintenance** - Removed unused and unsupported PM QoS code. - Updated .gitignore to exclude gdsprpcd. - Discouraged use of outdated GCC versions via README updates. **Developer Experience & Project Hygiene** - Added GitHub issue template for standardized bug reporting. Full Changelog: [v1.0.2...v1.0.3](qualcomm/fastrpc@v1.0.2...v1.0.3) ### Recipe change: - Add libbsd to DEPENDS. - Use upstream-installed systemd unit files; drop layer-provided *.service files and guess-dsp.sh to avoid duplication and divergence. - Fix hardcoded /usr/bin paths in upstream unit files during do_install by rewriting ExecStart to use ${bindir}. - Do not override SYSTEMD_AUTO_ENABLE as upstream-installed service files are getting enabled based on fastrpc device availability. - Remove obsolete ${libdir}/rfsa directory handling (no longer required by v1.0.3).
2 parents 69d7656 + aa3ac92 commit 28f986a

5 files changed

Lines changed: 15 additions & 102 deletions

File tree

recipes-support/fastrpc/fastrpc/adsprpcd.service

Lines changed: 0 additions & 9 deletions
This file was deleted.

recipes-support/fastrpc/fastrpc/cdsprpcd.service

Lines changed: 0 additions & 9 deletions
This file was deleted.

recipes-support/fastrpc/fastrpc/guess-dsp.sh

Lines changed: 0 additions & 53 deletions
This file was deleted.

recipes-support/fastrpc/fastrpc/sdsprpcd.service

Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 15 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,40 +4,33 @@ SECTION = "devel"
44

55
LICENSE = "BSD-3-Clause"
66
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b67986b6880754696d418dbaa2cf51d1"
7-
DEPENDS = "libyaml"
7+
DEPENDS = "libbsd libyaml"
88

9-
SRCREV = "cff7d44c4f1a2a9657514eecc0348caa3f455de4"
9+
SRCREV = "3ac74f68dfcc5aa3a9524d1700a4c0d6a92316a8"
1010
SRC_URI = "\
1111
git://github.com/qualcomm/fastrpc.git;branch=main;protocol=https;tag=v${PV} \
12-
file://adsprpcd.service \
13-
file://cdsprpcd.service \
14-
file://sdsprpcd.service \
15-
file://guess-dsp.sh \
1612
file://run-ptest \
1713
"
1814

1915
inherit autotools systemd ptest pkgconfig
2016

21-
PACKAGES += "${PN}-systemd"
22-
RRECOMMENDS:${PN} += "${PN}-systemd"
17+
EXTRA_OECONF += "--with-systemdsystemunitdir=${systemd_system_unitdir}"
2318

24-
SYSTEMD_PACKAGES = "${PN} ${PN}-systemd"
25-
26-
SYSTEMD_SERVICE:${PN}-systemd = "adsprpcd.service cdsprpcd.service sdsprpcd.service"
27-
SYSTEMD_AUTO_ENABLE:${PN}-systemd = "disable"
19+
SYSTEMD_SERVICE:${PN} = " \
20+
adsprpcd.service \
21+
adsprpcd_audiopd.service \
22+
cdsprpcd.service \
23+
cdsp1rpcd.service \
24+
gdsp0rpcd.service \
25+
gdsp1rpcd.service \
26+
sdsprpcd.service \
27+
"
2828

2929
do_install:append() {
30-
install -d ${D}${libdir}/rfsa
31-
32-
install -d ${D}${systemd_unitdir}/system
33-
install -m 0644 ${UNPACKDIR}/adsprpcd.service ${D}${systemd_unitdir}/system
34-
install -m 0644 ${UNPACKDIR}/cdsprpcd.service ${D}${systemd_unitdir}/system
35-
install -m 0644 ${UNPACKDIR}/sdsprpcd.service ${D}${systemd_unitdir}/system
36-
37-
install -d ${D}${sbindir}
38-
install -m 0755 ${UNPACKDIR}/guess-dsp.sh ${D}${sbindir}
39-
4030
install -d ${D}${datadir}/qcom/
31+
32+
sed -i -e 's:/usr/bin/:${bindir}/:g' \
33+
${D}${systemd_system_unitdir}/*.service
4134
}
4235

4336
FILES:${PN} += " \

0 commit comments

Comments
 (0)