mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
sys-fs/vhba: Call udev_reload
Closes: https://bugs.gentoo.org/852275 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
@@ -14,11 +14,14 @@ S=${WORKDIR}/${MY_P}
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="virtual/udev"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="
|
||||
virtual/udev
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
MODULE_NAMES="vhba(block:${S})"
|
||||
BUILD_TARGETS=modules
|
||||
@@ -33,7 +36,6 @@ pkg_setup() {
|
||||
src_prepare() {
|
||||
# Avoid -Werror problems
|
||||
sed -i -e '/ccflags/s/-Werror/-Wall/' Makefile || die "sed failed"
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
@@ -48,3 +50,11 @@ src_install() {
|
||||
KERNEL=="vhba_ctl", SUBSYSTEM=="misc", TAG+="uaccess"
|
||||
EOF
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
udev_reload
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
udev_reload
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user