aur/udev-automount to 1.0-3

This commit is contained in:
Kevin Mihelich 2012-07-25 01:04:38 -04:00
parent 9a9cfc1f3c
commit ed3e1cf76a
3 changed files with 5 additions and 7 deletions

View file

@ -1,5 +1,5 @@
KERNEL!="sd[a-z][0-9]", GOTO="media_by_label_auto_mount_end"
PROGRAM="/bin/grep -q ' %M:%m /[^ ]* /' /proc/self/mountinfo", PROGRAM!="/bin/grep -q ' %M:%m / /media/' /proc/self/mountinfo", GOTO="media_by_label_auto_mount_end"
PROGRAM="/usr/bin/grep -q ' %M:%m /[^ ]* /' /proc/self/mountinfo", PROGRAM!="/usr/bin/grep -q ' %M:%m / /media/' /proc/self/mountinfo", GOTO="media_by_label_auto_mount_end"
# Import FS infos
IMPORT{program}="/sbin/blkid -o udev -p %N"

View file

@ -1,5 +1,5 @@
KERNEL!="mmcblk[0-9]p[0-9]", GOTO="sd_cards_auto_mount_end"
PROGRAM="/bin/grep -q ' %M:%m /[^ ]* /' /proc/self/mountinfo", PROGRAM!="/bin/grep -q ' %M:%m / /media/' /proc/self/mountinfo", GOTO="sd_cards_auto_mount_end"
PROGRAM="/usr/bin/grep -q ' %M:%m /[^ ]* /' /proc/self/mountinfo", PROGRAM!="/usr/bin/grep -q ' %M:%m / /media/' /proc/self/mountinfo", GOTO="sd_cards_auto_mount_end"
# Global mount options
ACTION=="add", ENV{mount_options}="relatime"

View file

@ -2,11 +2,9 @@
# This is an ALARM-exclusive package for easy USB/SD drive automounting
plugrel=1
pkgname=udev-automount
pkgver=1.0
pkgrel=2
pkgrel=3
pkgdesc="Automount rules for udev"
arch=('arm' 'armv7h')
url="http://archlinuxarm.org/"
@ -16,8 +14,8 @@ depends=('udev')
backup=('etc/udev/rules.d/11-media-by-label-auto-mount.rules' 'etc/udev/rules.d/11-sd-cards-auto-mount.rules')
source=(11-media-by-label-auto-mount.rules
11-sd-cards-auto-mount.rules)
md5sums=('155554f488388e3f994ace619ad1e8d4'
'173b71ab6466677c12c99ef37c56a3db')
md5sums=('10f896103076818d6186c4fb91030f72'
'5af0e10d45f5f2e63c89eb2e5b43a553')
build() {
echo "udev-automount"