wok-6.x diff eudev/receipt @ rev 18712
ola-dev: update depends; add qlcplus (thanks kult-ex)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Dec 16 20:20:30 2015 +0200 (2015-12-16) |
parents | 7951690c1677 |
children | 9e01bc6321ea |
line diff
1.1 --- a/eudev/receipt Wed Sep 10 13:14:16 2014 +0200 1.2 +++ b/eudev/receipt Wed Dec 16 20:20:30 2015 +0200 1.3 @@ -12,12 +12,12 @@ 1.4 PROVIDE="udev" 1.5 1.6 DEPENDS="dbus util-linux-blkid pciids usbids acl kmod" 1.7 -BUILD_DEPENDS="util-linux-blkid-dev util-linux-uuid-dev pcre-dev kmod-dev dbus-dev gperf pkg-config acl-dev" 1.8 +BUILD_DEPENDS="util-linux-blkid-dev util-linux-uuid-dev pcre-dev kmod-dev \ 1.9 +dbus-dev gperf pkg-config acl-dev" 1.10 1.11 # Rules to configure and make the package. 1.12 compile_rules() 1.13 { 1.14 - cd $src 1.15 ./configure \ 1.16 --sysconfdir=/etc \ 1.17 --exec-prefix="" \ 1.18 @@ -61,19 +61,22 @@ 1.19 1.20 list_udev_group() 1.21 { 1.22 - object=$2 1.23 - [ -n "$object" ] || object=GROUP 1.24 - grep $object $1/etc/udev/rules.d/* | \ 1.25 - sed 's/.*GROUP="\([a-zA-Z0-9]*\)".*/\1/' | sort | uniq 1.26 + object=$2 1.27 + [ -n "$object" ] || object=GROUP 1.28 + grep $object $1/etc/udev/rules.d/* | \ 1.29 + sed 's/.*GROUP="\([a-zA-Z0-9]*\)".*/\1/' | sort | uniq 1.30 } 1.31 1.32 post_install() 1.33 { 1.34 - # Sanity check for udev+ldap boot 1.35 - list_udev_group "$1" GROUP | while read x ; do 1.36 - grep -q ^$x: $1/etc/group || chroot $1/ addgroup -S $x 1.37 - done 1.38 - list_udev_group "$1" OWNER | while read x ; do 1.39 - grep -q ^$x: $1/etc/passwd || chroot $1/ adduser -S -D -H $x 1.40 - done 1.41 + # Sanity check for udev+ldap boot 1.42 + list_udev_group "$1" GROUP | \ 1.43 + while read x ; do 1.44 + grep -q ^$x: "$1/etc/group" || chroot "$1/" addgroup -S $x 1.45 + done 1.46 + 1.47 + list_udev_group "$1" OWNER | \ 1.48 + while read x ; do 1.49 + grep -q ^$x: "$1/etc/passwd" || chroot "$1/" adduser -S -D -H $x 1.50 + done 1.51 }