SHA256
1
0
forked from pool/vhba-kmp

- Add vhba-udev-rules [boo#1218827]

OBS-URL: https://build.opensuse.org/package/show/filesystems/vhba-kmp?expand=0&rev=46
This commit is contained in:
Jan Engelhardt 2024-02-12 12:21:27 +00:00 committed by Git OBS Bridge
parent 05d94c1931
commit 02789e71ee
2 changed files with 19 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 12 12:21:09 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Add vhba-udev-rules [boo#1218827]
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Apr 20 08:55:45 UTC 2023 - Jan Engelhardt <jengelh@inai.de> Thu Apr 20 08:55:45 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package vhba-kmp # spec file for package vhba-kmp
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -42,9 +42,16 @@ a virtual SCSI adapter which can have multiple virtual devices. It is
part of the userspace cdemu suite, CD/DVD-ROM device emulator for part of the userspace cdemu suite, CD/DVD-ROM device emulator for
Linux. Linux.
%package -n vhba-udev-rules
Summary: udev rules for vhba-kmp
BuildArch: noarch
%description -n vhba-udev-rules
udev rule snippets to give VHBA devices to logged-in users as per the
uaccess scheme.
%package KMP %package KMP
Summary: Virtual SCSI Host Bus adapter Summary: Virtual SCSI Host Bus adapter
Group: System/Kernel
%description KMP %description KMP
A Linux kernel module implementing a virtual SCSI Host Bus Adapter to A Linux kernel module implementing a virtual SCSI Host Bus Adapter to
@ -78,5 +85,10 @@ for flavor in %flavors_to_build; do
modules_install modules_install
popd popd
done done
mkdir -p "%buildroot/%_udevrulesdir"
cp -a debian/*.udev "%buildroot/%_udevrulesdir/"
%files -n vhba-udev-rules
%_udevrulesdir/
%changelog %changelog