From 6a2db106fc9308366e21aa58f2fdec12c51db9a4 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Fri, 26 Sep 2014 11:59:48 +0200 Subject: [PATCH] angstrom-version: prefer over os-release.bb Signed-off-by: Koen Kooi --- recipes-angstrom/angstrom/angstrom-version.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/recipes-angstrom/angstrom/angstrom-version.bb b/recipes-angstrom/angstrom/angstrom-version.bb index cbd9e66..b5bfe50 100644 --- a/recipes-angstrom/angstrom/angstrom-version.bb +++ b/recipes-angstrom/angstrom/angstrom-version.bb @@ -47,10 +47,14 @@ do_install() { echo "VERSION=\"${DISTRO_VERSION}\"" > ${D}${sysconfdir}/os-release 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 "PRETTY_NAME=\"The Ångström Distribution ${DISTRO_VERSION}\"" >> ${D}${sysconfdir}/os-release echo "ANSI_COLOR=\"1;35\"" >> ${D}${sysconfdir}/os-release echo "HOME_URL=\"http://www.angstrom-distribution.org\"" >> ${D}${sysconfdir}/os-release install -d ${D}${bindir} install -m 0755 ${WORKDIR}/lsb_release ${D}${bindir}/ } + +RPROVIDES_${PN} = "os-release" +RREPLACES_${PN} = "os-release" +RCONFLICTS_${PN} = "os-release"