summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2021-09-24 14:55:41 -0500
committerWilliam Hubbs <williamh@gentoo.org>2021-09-24 14:55:59 -0500
commit6d78c865837a08b02a6b94ab280d413df8628dad (patch)
treea24c1fc4fda2e4f002d0947b9286d74e9d24a777
parentdrop sysctl.conf for Linux systems (diff)
downloadbaselayout-6d78c865837a08b02a6b94ab280d413df8628dad.tar.gz
baselayout-6d78c865837a08b02a6b94ab280d413df8628dad.tar.bz2
baselayout-6d78c865837a08b02a6b94ab280d413df8628dad.zip
create /etc/gentoo-release here instead of in the ebuild
Signed-off-by: William Hubbs <williamh@gentoo.org>
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
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/