From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1324953-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 24D41158017
	for <garchives@archives.gentoo.org>; Mon, 27 Sep 2021 20:10:34 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 4A44DE09B5;
	Mon, 27 Sep 2021 20:10:33 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 34C08E09B5
	for <gentoo-commits@lists.gentoo.org>; Mon, 27 Sep 2021 20:10:33 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 06A7D342DC7
	for <gentoo-commits@lists.gentoo.org>; Mon, 27 Sep 2021 20:10:32 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 743B6A3
	for <gentoo-commits@lists.gentoo.org>; Mon, 27 Sep 2021 20:10:30 +0000 (UTC)
From: "William Hubbs" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" <williamh@gentoo.org>
Message-ID: <1632773426.d2c10afa5573e5efaf1f6845cb47e3f8cc226812.williamh@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/baselayout/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sys-apps/baselayout/baselayout-9999.ebuild
X-VCS-Directories: sys-apps/baselayout/
X-VCS-Committer: williamh
X-VCS-Committer-Name: William Hubbs
X-VCS-Revision: d2c10afa5573e5efaf1f6845cb47e3f8cc226812
X-VCS-Branch: master
Date: Mon, 27 Sep 2021 20:10:30 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 6d83f570-1f6b-4202-9c79-dd2dfc17a212
X-Archives-Hash: bd70c828a36801436ec198ca23099f40

commit:     d2c10afa5573e5efaf1f6845cb47e3f8cc226812
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 27 20:05:57 2021 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Sep 27 20:10:26 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2c10afa

sys-apps/baselayout: stop using install target in makefile

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 sys-apps/baselayout/baselayout-9999.ebuild | 21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

diff --git a/sys-apps/baselayout/baselayout-9999.ebuild b/sys-apps/baselayout/baselayout-9999.ebuild
index 5df53f3739a..9988d48fbad 100644
--- a/sys-apps/baselayout/baselayout-9999.ebuild
+++ b/sys-apps/baselayout/baselayout-9999.ebuild
@@ -244,20 +244,27 @@ src_prepare() {
 }
 
 src_install() {
-	dodir /usr/lib
-	emake \
-		OS=$(usex kernel_FreeBSD BSD Linux) \
-		DESTDIR="${ED}" \
-		install
+	local OS="$(usex kernel_linux 'Linux' 'BSD')"
+	insinto /etc
+	doins -r etc/* etc.${OS}/*
+	printf '%s\n' "Gentoo Base System release ${PV}" > "${T}"/gentoo-release
+	doins "${T}"/gentoo-release
+	dosym ../usr/lib/os-release /etc/os-release
+
 	if use kernel_linux; then
 		insinto /lib
 		doins -r lib.Linux/*
 	fi
-	dodoc ChangeLog
+	insinto /usr/lib
+	./make_os_release ${OS} ${PV} > "${T}"/os-release
+	doins "${T}"/os-release
 
-	# need the makefile in pkg_preinst
 	insinto /usr/share/${PN}
+	doins -r share.${OS}/*
+	# need the makefile in pkg_preinst
 	doins Makefile
+
+	dodoc ChangeLog
 }
 
 pkg_postinst() {