]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
QA: Ignore device nodes in /lib/udev/devices.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 10 Apr 2010 11:11:14 +0000 (13:11 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 10 Apr 2010 11:11:14 +0000 (13:11 +0200)
tools/quality-agent.d/002-bad-symlinks

index e05fc82397598ad7f6fff33a8f83aab3751d1a37..7c8678f7c26953e46978593ef3f619c2c26a76de 100755 (executable)
@@ -9,6 +9,10 @@ log_debug "Search for absolute symlinks"
 
 failed=0
 for link in $(find ${BUILDROOT} -type l); do
+       if fgrep -q "/lib/udev/devices" <<<${link}; then
+               continue
+       fi
+
        destination=$(readlink ${link})
        if [ "${destination:0:1}" = "/" ]; then
                log_error "  absolute symlink: ${link}"