commit:     6d78c865837a08b02a6b94ab280d413df8628dad
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 24 19:55:41 2021 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Sep 24 19:55:59 2021 +0000
URL:        https://gitweb.gentoo.org/proj/baselayout.git/commit/?id=6d78c865

create /etc/gentoo-release here instead of in the ebuild

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index 0913ceb6..a0204748 100644
--- a/Makefile
+++ b/Makefile
@@ -63,6 +63,7 @@ clean:
 install:
        $(INSTALL_DIR) $(DESTDIR)/etc
        cp -pPR etc/* etc.$(OS)/* $(DESTDIR)/etc/
+       echo "Gentoo Base System release ${PV}" > ${DESTDIR}/etc/gentoo-release
        $(INSTALL_DIR) $(DESTDIR)/usr/share/baselayout
        cp -pPR share.$(OS)/* $(DESTDIR)/usr/share/baselayout/
 

Reply via email to