From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1470836-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id DFDD1158020
	for <garchives@archives.gentoo.org>; Sat, 24 Dec 2022 15:28:58 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 129A1E0871;
	Sat, 24 Dec 2022 15:28:58 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id E5ADFE0871
	for <gentoo-commits@lists.gentoo.org>; Sat, 24 Dec 2022 15:28:57 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id CCBBF340BD3
	for <gentoo-commits@lists.gentoo.org>; Sat, 24 Dec 2022 15:28:56 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 30330779
	for <gentoo-commits@lists.gentoo.org>; Sat, 24 Dec 2022 15:28:55 +0000 (UTC)
From: "Pacho Ramos" <pacho@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, "Pacho Ramos" <pacho@gentoo.org>
Message-ID: <1671895681.d9b1e844828b2828cfb996b7db5518eab8a8581c.pacho@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/alsa-utils/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-sound/alsa-utils/alsa-utils-1.2.8-r1.ebuild media-sound/alsa-utils/alsa-utils-1.2.8-r2.ebuild
X-VCS-Directories: media-sound/alsa-utils/
X-VCS-Committer: pacho
X-VCS-Committer-Name: Pacho Ramos
X-VCS-Revision: d9b1e844828b2828cfb996b7db5518eab8a8581c
X-VCS-Branch: master
Date: Sat, 24 Dec 2022 15:28:55 +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: 07dc1320-875a-40fb-b9c1-5157c6beef41
X-Archives-Hash: 8726728eff9c0500be92e3a108cfdae6

commit:     d9b1e844828b2828cfb996b7db5518eab8a8581c
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 24 15:28:01 2022 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Dec 24 15:28:01 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9b1e844

media-sound/alsa-utils: Commit the updated ebuild

That was meant to be -r1

Closes: https://bugs.gentoo.org/888139
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 .../{alsa-utils-1.2.8-r1.ebuild => alsa-utils-1.2.8-r2.ebuild}     | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/media-sound/alsa-utils/alsa-utils-1.2.8-r1.ebuild b/media-sound/alsa-utils/alsa-utils-1.2.8-r2.ebuild
similarity index 95%
rename from media-sound/alsa-utils/alsa-utils-1.2.8-r1.ebuild
rename to media-sound/alsa-utils/alsa-utils-1.2.8-r2.ebuild
index 99651ae43b13..4405067a27fa 100644
--- a/media-sound/alsa-utils/alsa-utils-1.2.8-r1.ebuild
+++ b/media-sound/alsa-utils/alsa-utils-1.2.8-r2.ebuild
@@ -60,21 +60,20 @@ src_install() {
 	newinitd "${FILESDIR}"/alsasound.initd-r8 alsasound
 	newconfd "${FILESDIR}"/alsasound.confd-r4 alsasound
 
-	insinto /etc/modprobe.d
-	newins "${FILESDIR}"/alsa-modules.conf-rc alsa.conf
-
 	keepdir /var/lib/alsa
 
 	# ALSA lib parser.c:1266:(uc_mgr_scan_master_configs) error: could not
 	# scan directory /usr/share/alsa/ucm: No such file or directory
 	# alsaucm: unable to obtain card list: No such file or directory
 	keepdir /usr/share/alsa/ucm
+
+	find "${ED}" -type f -name '*.la' -delete || die
 }
 
 pkg_postinst() {
 	udev_reload
 
-	if [[ -z ${REPLACING_VERSIONS} ]]; then
+	if [[ -z ${REPLACING_VERSIONS} ]] && ! systemd_is_booted ; then
 		elog
 		elog "To take advantage of the init script, and automate the process of"
 		elog "saving and restoring sound-card mixer levels you should"