[arch-commits] Commit in udev/trunk (81-arch.rules PKGBUILD root-link.sh)

Thomas Bächler thomas at archlinux.org
Mon Aug 2 17:31:39 EDT 2010


    Date: Monday, August 2, 2010 @ 17:31:38
  Author: thomas
Revision: 86660

Remove obsolete root-link.sh and related udev rule.

Modified:
  udev/trunk/81-arch.rules
  udev/trunk/PKGBUILD
Deleted:
  udev/trunk/root-link.sh

---------------+
 81-arch.rules |    2 --
 PKGBUILD      |    7 ++-----
 root-link.sh  |    7 -------
 3 files changed, 2 insertions(+), 14 deletions(-)

Modified: 81-arch.rules
===================================================================
--- 81-arch.rules	2010-08-02 21:18:00 UTC (rev 86659)
+++ 81-arch.rules	2010-08-02 21:31:38 UTC (rev 86660)
@@ -73,8 +73,6 @@
 # Additional Archlinux
 # Permissions and Symlinks - begin
 #####################################
-# fix /dev/root symlink
-SUBSYSTEM=="block", RUN+="root-link.sh"
 
 # permission for sg devices
 KERNEL=="sg[0-9]*", ATTRS{type}!="3|6", GROUP="disk", MODE="0660"

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-08-02 21:18:00 UTC (rev 86659)
+++ PKGBUILD	2010-08-02 21:31:38 UTC (rev 86660)
@@ -15,14 +15,13 @@
 options=(!makeflags !libtool)
 makedepends=('glibc' 'coreutils' 'util-linux' 'libusb' 'glib2' 'kernel26' 'gperf' 'libxslt' 'gobject-introspection')
 source=(http://www.kernel.org/pub/linux/utils/kernel/hotplug/$pkgname-$pkgver.tar.bz2
-        81-arch.rules load-modules.sh cdsymlinks.sh root-link.sh
+        81-arch.rules load-modules.sh cdsymlinks.sh
         arch-udev-rules.patch
         logitech-rules.patch)
 md5sums=('65459a1f090082c0471bf4e5112208d7'
-         '6393ee81993f8b9beb776ca904005864'
+         'f17c99779173ddc79f866cf3a5de5e68'
          'f91fddc67609b45b244a624977c4247b'
          '2e808ee78d237c478b57af2a68d43769'
-         '2d6dc6842464f107bccc68cd505a6c31'
          '70198227b7bbe3852e1cd2299693af66'
          '817537bdcfc1a4fa79e853fd38df4528')
 
@@ -60,8 +59,6 @@
   install -D -m755 $srcdir/load-modules.sh $pkgdir/lib/udev/load-modules.sh
   # install cdsymlinks.sh
   install -D -m755 $srcdir/cdsymlinks.sh $pkgdir/lib/udev/cdsymlinks.sh
-  # install root-link.sh
-  install -D -m755 $srcdir/root-link.sh $pkgdir/lib/udev/root-link.sh
   # disable error logging to prevent startup failures printed to vc on boot
   sed -i -e 's|udev_log="err"|udev_log="0"|g' $pkgdir/etc/udev/udev.conf
   # fix standard udev rules to fit to arch

Deleted: root-link.sh
===================================================================
--- root-link.sh	2010-08-02 21:18:00 UTC (rev 86659)
+++ root-link.sh	2010-08-02 21:31:38 UTC (rev 86660)
@@ -1,7 +0,0 @@
-#! /bin/sh
-# Creates root symlink in /dev
-# for Arch Linux by Roman Kyrylych <Roman.Kyrylych at gmail.com>
-
-if ! [ -L /dev/root ]; then 
-ln -s $(cat /proc/cmdline | sed "s: :\n:g" | grep root= | sed "s:root=::") /dev/root
-fi
\ No newline at end of file



More information about the arch-commits mailing list