summaryrefslogtreecommitdiff
path: root/packages/angstrom/angstrom-version.bb
blob: 6f1043cec0fa892313ac897b30641b9fd567b02f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
LICENSE = "MIT"

PV = "${DISTRO_VERSION}"
PR = "r2"
PE = "1"

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

export METADATA_REVISION
export METADATA_BRANCH

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