[s390utils/f17] install the z90crypt udev rule (moved here from the udev package)

Dan Horák sharkcz at fedoraproject.org
Tue Apr 17 08:00:13 UTC 2012


commit 0873b756e614380cdbf33b761e8725dfd723acc9
Author: Dan Horák <dan at danny.cz>
Date:   Tue Apr 17 10:00:09 2012 +0200

    install the z90crypt udev rule (moved here from the udev package)

 40-z90crypt.rules |    6 ++++++
 s390utils.spec    |    9 ++++++++-
 2 files changed, 14 insertions(+), 1 deletions(-)
---
diff --git a/40-z90crypt.rules b/40-z90crypt.rules
new file mode 100644
index 0000000..78f8494
--- /dev/null
+++ b/40-z90crypt.rules
@@ -0,0 +1,6 @@
+#
+# Rule for z90crypt character device node permissions
+# This file should be installed in /etc/udev/rules.d
+#
+
+KERNEL=="z90crypt",		MODE="0666"
diff --git a/s390utils.spec b/s390utils.spec
index f7cd908..746ec25 100644
--- a/s390utils.spec
+++ b/s390utils.spec
@@ -8,7 +8,7 @@ Name:           s390utils
 Summary:        Utilities and daemons for IBM System/z
 Group:          System Environment/Base
 Version:        1.16.0
-Release:        3%{?dist}
+Release:        4%{?dist}
 Epoch:          2
 License:        GPLv2 and GPLv2+ and CPL
 Buildroot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -37,6 +37,7 @@ Source16:       ccw_init
 Source17:       ccw.udev
 Source18:       cpuplugd.initd
 Source19:       mon_statd.initd
+Source20:       40-z90crypt.rules
 
 Patch1:         s390-tools-1.14.0-fedora.patch
 
@@ -242,6 +243,9 @@ mkdir -p ${RPM_BUILD_ROOT}/lib/udev/rules.d
 install -p -m 755 %{SOURCE16} ${RPM_BUILD_ROOT}/lib/udev/ccw_init
 install -p -m 644 %{SOURCE17} ${RPM_BUILD_ROOT}/lib/udev/rules.d/81-ccw.rules
 
+# z90crypt
+install -p -m 644 %{SOURCE20} ${RPM_BUILD_ROOT}/lib/udev/rules.d/40-z90crypt.rules
+
 
 %clean
 rm -rf ${RPM_BUILD_ROOT}
@@ -854,6 +858,9 @@ User-space development files for the s390/s390x architecture.
 
 
 %changelog
+* Tue Apr 17 2012 Dan Horák <dan[at]danny.cz> 2:1.16.0-4
+- install the z90crypt udev rule (moved here from the udev package)
+
 * Tue Apr 10 2012 Dan Horák <dan[at]danny.cz> 2:1.16.0-3
 - include fixed ccw_init and updated device_cio_free
 


More information about the scm-commits mailing list