From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1416719-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 5E9D6158094
	for <garchives@archives.gentoo.org>; Sat,  9 Jul 2022 14:44:02 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 601C2E076B;
	Sat,  9 Jul 2022 14:44:01 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(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 32649E076B
	for <gentoo-commits@lists.gentoo.org>; Sat,  9 Jul 2022 14:44:01 +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 4170E340F20
	for <gentoo-commits@lists.gentoo.org>; Sat,  9 Jul 2022 14:44:00 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 86C9C3C7
	for <gentoo-commits@lists.gentoo.org>; Sat,  9 Jul 2022 14:43:58 +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: <1657377809.12c224ecede8c225a12ac185ffc987576f7031ac.pacho@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/bumblebee/
X-VCS-Repository: repo/gentoo
X-VCS-Files: x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r4.ebuild x11-misc/bumblebee/bumblebee-9999.ebuild
X-VCS-Directories: x11-misc/bumblebee/
X-VCS-Committer: pacho
X-VCS-Committer-Name: Pacho Ramos
X-VCS-Revision: 12c224ecede8c225a12ac185ffc987576f7031ac
X-VCS-Branch: master
Date: Sat,  9 Jul 2022 14:43:58 +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: ec125e05-5fbd-435f-aad5-6c5461f401e0
X-Archives-Hash: 7fec3c8a862f25ca7c341b404e7e6da1

commit:     12c224ecede8c225a12ac185ffc987576f7031ac
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  9 14:43:29 2022 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Jul  9 14:43:29 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12c224ec

x11-misc/bumblebee: Call udev_reload

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

 x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r4.ebuild | 12 ++++++++++--
 x11-misc/bumblebee/bumblebee-9999.ebuild               | 12 ++++++++++--
 2 files changed, 20 insertions(+), 4 deletions(-)

diff --git a/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r4.ebuild b/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r4.ebuild
index 25bad11dfede..b0690088fc3a 100644
--- a/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r4.ebuild
+++ b/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit autotools readme.gentoo-r1 systemd
+inherit autotools readme.gentoo-r1 systemd udev
 
 if [[ ${PV} == 9999 ]]; then
 	inherit git-r3
@@ -91,3 +91,11 @@ src_install() {
 		You may need to setup your /etc/bumblebee/bumblebee.conf"
 	readme.gentoo_create_doc
 }
+
+pkg_postinst() {
+	udev_reload
+}
+
+pkg_postrm() {
+	udev_reload
+}

diff --git a/x11-misc/bumblebee/bumblebee-9999.ebuild b/x11-misc/bumblebee/bumblebee-9999.ebuild
index 4c2cecf46ce5..bd63a8594628 100644
--- a/x11-misc/bumblebee/bumblebee-9999.ebuild
+++ b/x11-misc/bumblebee/bumblebee-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit autotools readme.gentoo-r1 systemd
+inherit autotools readme.gentoo-r1 systemd udev
 
 if [[ ${PV} == 9999 ]]; then
 	inherit git-r3
@@ -91,3 +91,11 @@ src_install() {
 		You may need to setup your /etc/bumblebee/bumblebee.conf"
 	readme.gentoo_create_doc
 }
+
+pkg_postinst() {
+	udev_reload
+}
+
+pkg_postrm() {
+	udev_reload
+}