M7350/oe-core/meta-msm/recipes/data-ipa-cfg-mgr/data-ipa-cfg-mgr_git.bb
2024-09-09 08:52:07 +00:00

32 lines
714 B
BlitzBasic
Executable File

inherit autotools
DESCRIPTION = "Qualcomm IPA"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/\
${LICENSE};md5=3775480a712fc46a69647678acb234cb"
PR = "r2"
DEPENDS = "glib-2.0"
DEPENDS += "libxml2"
DEPENDS += "libnetfilter-conntrack"
DEPENDS += "virtual/kernel"
EXTRA_OECONF = "--with-kernel=${STAGING_KERNEL_DIR} \
--with-sanitized-headers=${STAGING_KERNEL_DIR}/usr/include"
SRC_URI = "file://${WORKSPACE}/data-ipa-cfg-mgr"
S = "${WORKDIR}/data-ipa-cfg-mgr"
pkg_postinst () {
[ -n "$D" ] && OPT="-r $D" || OPT="-s"
update-rc.d $OPT -f start_ipacm_le remove
update-rc.d $OPT start_ipacm_le start 90 2 3 4 5 . stop 10 0 1 6 .
}