diff options
Diffstat (limited to 'packages/kaeilos')
-rw-r--r-- | packages/kaeilos/kaeilos-version.bb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/kaeilos/kaeilos-version.bb b/packages/kaeilos/kaeilos-version.bb new file mode 100644 index 0000000000..4600c41d4e --- /dev/null +++ b/packages/kaeilos/kaeilos-version.bb @@ -0,0 +1,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 "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 +} |