meta-agl: split wireplumber to run in multiple instances
[AGL/meta-agl.git] / meta-app-framework / recipes-devtools / run-postinsts / run-postinsts_appfw.inc
1 FILESEXTRAPATHS:prepend := "${THISDIR}/run-postinsts:"
2
3 SRC_URI:append = " file://ldconfig-wait.conf"
4
5 do_configure:append() {
6         if ! grep -q StandardOutput= ${WORKDIR}/run-postinsts.service; then
7                 sed -i '/ExecStart=/iStandardOutput=journal+console' ${WORKDIR}/run-postinsts.service
8         fi
9 }
10
11 do_install:append() {
12         install -d ${D}${sysconfdir}/systemd/system/run-postinsts.service.d
13         install -m 0644 ${WORKDIR}/ldconfig-wait.conf ${D}${sysconfdir}/systemd/system/run-postinsts.service.d
14 }