Module: meta-angstrom
Branch: master
Commit: cc57ad39cd66e756b8cbe7ded38c341a935c0e99

Author: Koen Kooi <k...@dominion.thruhere.net>
Date:   Fri May  6 10:58:25 2011 +0200

angstrom-version: also provide /etc/os-release

Signed-off-by: Koen Kooi <k...@dominion.thruhere.net>

---

 recipes-angstrom/angstrom/angstrom-version.bb |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/recipes-angstrom/angstrom/angstrom-version.bb 
b/recipes-angstrom/angstrom/angstrom-version.bb
index 0c7f5b7..cf0630a 100644
--- a/recipes-angstrom/angstrom/angstrom-version.bb
+++ b/recipes-angstrom/angstrom/angstrom-version.bb
@@ -2,7 +2,7 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = 
"file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
 
 PV = "${DISTRO_VERSION}"
-PR = "r8"
+PR = "r9"
 PE = "2"
 
 SRC_URI = "file://lsb_release"
@@ -16,6 +16,11 @@ do_install() {
        echo "Built from branch: ${METADATA_BRANCH}" >> 
${D}${sysconfdir}/angstrom-version
        echo "Revision: ${METADATA_REVISION}" >> 
${D}${sysconfdir}/angstrom-version
        echo "Target system: ${TARGET_SYS}" >> 
${D}${sysconfdir}/angstrom-version
+
+       echo "NAME=Angstrom" > ${D}${sysconfdir}/os-release
+       echo "ID=angstrom" >> ${D}${sysconfdir}/os-release
+       echo "PRETTY_NAME=The Ångström Distribution" >> 
${D}${sysconfdir}/os-release
+       echo "ANSI_COLOR=1;35" >> ${D}${sysconfdir}/os-release
        
        install -d ${D}${bindir}
        install -m 0755 ${WORKDIR}/lsb_release ${D}${bindir}/


_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel

Reply via email to