aboutsummaryrefslogtreecommitdiffstats
path: root/meta-app-framework/recipes-devtools/run-postinsts/run-postinsts_appfw.inc
blob: 07b958aea12472a3bfcdb5b76fcaa73f942437fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FILESEXTRAPATHS:prepend := "${THISDIR}/run-postinsts:"

SRC_URI:append = " file://ldconfig-wait.conf"

do_configure:append() {
	if ! grep -q StandardOutput= ${WORKDIR}/run-postinsts.service; then
		sed -i '/ExecStart=/iStandardOutput=journal+console' ${WORKDIR}/run-postinsts.service
	fi
}

do_install:append() {
	install -d ${D}${sysconfdir}/systemd/system/run-postinsts.service.d
	install -m 0644 ${WORKDIR}/ldconfig-wait.conf ${D}${sysconfdir}/systemd/system/run-postinsts.service.d
}