From c04ee684fc38e634d3418d807d721d71bb3a44c4 Mon Sep 17 00:00:00 2001 From: fake Date: Tue, 14 Mar 2006 01:01:52 +0000 Subject: [PATCH] fake: udev: fix location and usage of the ide-devfs.sh script in the udev rules. argh! no wonder this didn't work! [2006011301352424793] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@7188 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/base/udev/scsi_dev_discs_rules.patch | 31 +++++--------------- 1 file changed, 7 insertions(+), 24 deletions(-) diff --git a/package/base/udev/scsi_dev_discs_rules.patch b/package/base/udev/scsi_dev_discs_rules.patch index 46a391777..3e99026cb 100644 --- a/package/base/udev/scsi_dev_discs_rules.patch +++ b/package/base/udev/scsi_dev_discs_rules.patch @@ -1,30 +1,13 @@ -# --- ROCK-COPYRIGHT-NOTE-BEGIN --- -# -# This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# Please add additional copyright information _after_ the line containing -# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by -# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! -# -# ROCK Linux: rock-src/package/base/udev/scsi_dev_discs_rules.patch -# ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf -# -# This patch file is dual-licensed. It is available under the license the -# patched project is licensed under, as long as it is an OpenSource license -# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms -# of the GNU General Public License as published by the Free Software -# Foundation; either version 2 of the License, or (at your option) any later -# version. -# -# --- ROCK-COPYRIGHT-NOTE-END --- - ---- ./etc/udev/debian/devfs.rules 2005-10-11 17:33:26.000000000 +0200 -+++ ./etc/udev/debian/devfs.rules 2005-10-11 17:33:42.000000000 +0200 -@@ -19,11 +19,13 @@ +--- etc/udev/debian/devfs.rules.orig 2006-01-13 00:23:21.195562168 +0100 ++++ etc/udev/debian/devfs.rules 2006-01-13 00:24:18.676823688 +0100 +@@ -18,12 +18,14 @@ + ENV{ID_MODEL}=="IOMEGA_ZIP*", NAME="%k", OPTIONS+="all_partitions" # IDE devices - BUS=="ide", KERNEL=="hd[a-z]*", PROGRAM="/lib/udev/ide-devfs.sh %k %b %n", \ +-BUS=="ide", KERNEL=="hd[a-z]*", PROGRAM="/lib/udev/ide-devfs.sh %k %b %n", \ - NAME="%c{1}", SYMLINK+="%k %c{2}" -+ NAME="%c{1}", SYMLINK+="%k %c{2} %c{3}" ++BUS=="ide", KERNEL=="hd[a-z]*", PROGRAM="/etc/udev/scripts/ide-devfs.sh %k %b %n", \ ++ NAME="%c{1}", SYMLINK+="%k %c{2}", GROUP="%c{3}" # SCSI devices -BUS=="scsi", PROGRAM="/lib/udev/scsi-devfs.sh %k %b %n", \