wok-next rev 20347

eudev: fix post-install when libinput installed
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Nov 18 15:47:29 2017 +0200 (2017-11-18)
parents 48817c16eab3
children 8907e670e716
files eudev/receipt
line diff
     1.1 --- a/eudev/receipt	Sat Nov 18 14:09:19 2017 +0100
     1.2 +++ b/eudev/receipt	Sat Nov 18 15:47:29 2017 +0200
     1.3 @@ -82,13 +82,13 @@
     1.4  	[ -e "$1/lib/udev/devices/null" ] || mknod -m 0666 "$1/lib/udev/devices/null" c 1 3
     1.5  
     1.6  	# Sanity check for udev+ldap boot
     1.7 -	grep GROUP "$1"/etc/udev/rules.d/* "$1"/lib/udev/rules.d/* 2>/dev/null | \
     1.8 +	grep GROUP= "$1"/etc/udev/rules.d/* "$1"/lib/udev/rules.d/* 2>/dev/null | \
     1.9  	sed 's/.*GROUP="\([a-zA-Z0-9]*\)".*/\1/' | sort | uniq | \
    1.10  	while read x; do
    1.11  		grep -q ^$x: "$1/etc/group" || chroot "$1/" addgroup -S $x
    1.12  	done
    1.13  
    1.14 -	grep OWNER "$1"/etc/udev/rules.d/* "$1"/lib/udev/rules.d/* 2>/dev/null | \
    1.15 +	grep OWNER= "$1"/etc/udev/rules.d/* "$1"/lib/udev/rules.d/* 2>/dev/null | \
    1.16  	sed 's/.*OWNER="\([a-zA-Z0-9]*\)".*/\1/' | sort | uniq | \
    1.17  	while read x; do
    1.18  		grep -q ^$x: "$1/etc/passwd" || chroot "$1/" adduser -S -D -H $x