aboutsummaryrefslogtreecommitdiff
path: root/recipes/shr/shr-version.bb
blob: 3b8686198a30098246b1ccd9d2d0a13abf0516bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
LICENSE = "MIT"

PV = "1.0${DISTRO_VERSION}"

PACKAGES = "${PN}"
PACKAGE_ARCH = "${MACHINE_ARCH}"

do_install() {
	mkdir -p ${D}${sysconfdir}
	echo "SHR ${DISTRO_VERSION}" > ${D}${sysconfdir}/shr-version
	echo "Built from branch: ${METADATA_BRANCH}" >> ${D}${sysconfdir}/shr-version
	echo "Revision: ${METADATA_REVISION}" >> ${D}${sysconfdir}/shr-version
}