blob: 26618aa5ccc8c2a66a8068cff2502d00ff354532 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
LICENSE = "MIT"
PV = "1.0${DISTRO_VERSION}"
PACKAGES = "${PN}"
PACKAGE_ARCH = "${MACHINE_ARCH}"
export METADATA_REVISION
export METADATA_BRANCH
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
}
|