Mail archive
alpine-devel

[alpine-devel] [PATCH 1/2] busybox-initscripts: Add general rule to mdev ! -> $1/$2

From: Roger Pau Monne <roger.pau_at_citrix.com>
Date: Thu, 13 Sep 2012 15:49:04 +0100

Add rule to mdev to thread "!" as a split between folder and files.
---
 main/busybox-initscripts/APKBUILD  | 4 ++--
 main/busybox-initscripts/mdev.conf | 3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/main/busybox-initscripts/APKBUILD b/main/busybox-initscripts/APKBUILD
index 490a932..9974567 100644
--- a/main/busybox-initscripts/APKBUILD
+++ b/main/busybox-initscripts/APKBUILD
_at_@ -2,7 +2,7 @@
 # Maintainer: Natanael Copa <ncopa_at_alpinelinux.org>
 pkgname=busybox-initscripts
 pkgver=2.2
-pkgrel=5
+pkgrel=6
 pkgdesc="Init scripts for busybox daemons"
 url="http://git.alpinelinux.org/cgit/aports/tree/core/busybox-initscripts"
 arch="noarch"
_at_@ -67,7 +67,7 @@ c01dc869cbdd68e86e64a35ccc1e885e  rdate.initd
 22adbf155ffc4595206ded6daad07812  rdate.confd
 77fb31a75511247bf4e3430565a276bc  syslog.confd
 0bb55dde32f5e119111fa4938daaef3d  watchdog.confd
-3ecc9a4aaa7c76a6592661ee950e09ae  mdev.conf
+67a2b5e87b088acce8c2a7f3c948cb4c  mdev.conf
 ad1556961294e4aa2abca6be52138b7c  dvbdev
 5c8725b4cbdeda23b00f08124a0d20bf  ide_links
 c422992ca5bfdfabdbba1f1532bc1358  usbdev
diff --git a/main/busybox-initscripts/mdev.conf b/main/busybox-initscripts/mdev.conf
index d89e18c..cbccd8d 100644
--- a/main/busybox-initscripts/mdev.conf
+++ b/main/busybox-initscripts/mdev.conf
_at_@ -108,3 +108,6 @@ hpilo!(.*)	root:root 0660 =hpilo/%1
 
 # xen stuff
 xvd[a-z]	root:root 0660 */lib/mdev/xvd_links
+
+# fallback for any!device -> any/device
+(.*)!(.*)       root:root 0660 =%1/%2
-- 
1.7.11.4
---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Thu Sep 13 2012 - 15:49:04 UTC