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

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

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

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