From 02789e71ee1bcdcd47531af9b50fc03992aea724643bd92512e55976f2ae545b Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 12 Feb 2024 12:21:27 +0000 Subject: [PATCH] - Add vhba-udev-rules [boo#1218827] OBS-URL: https://build.opensuse.org/package/show/filesystems/vhba-kmp?expand=0&rev=46 --- vhba-kmp.changes | 5 +++++ vhba-kmp.spec | 16 ++++++++++++++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/vhba-kmp.changes b/vhba-kmp.changes index 9e42cff..8289c50 100644 --- a/vhba-kmp.changes +++ b/vhba-kmp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 12 12:21:09 UTC 2024 - Jan Engelhardt + +- Add vhba-udev-rules [boo#1218827] + ------------------------------------------------------------------- Thu Apr 20 08:55:45 UTC 2023 - Jan Engelhardt diff --git a/vhba-kmp.spec b/vhba-kmp.spec index 7665909..b97c7fd 100644 --- a/vhba-kmp.spec +++ b/vhba-kmp.spec @@ -1,7 +1,7 @@ # # 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 # 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 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 Summary: Virtual SCSI Host Bus adapter -Group: System/Kernel %description KMP 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 popd done +mkdir -p "%buildroot/%_udevrulesdir" +cp -a debian/*.udev "%buildroot/%_udevrulesdir/" + +%files -n vhba-udev-rules +%_udevrulesdir/ %changelog