equal
deleted
inserted
replaced
40 def __init__(self, config): |
40 def __init__(self, config): |
41 self.description = _( |
41 self.description = _( |
42 "checks Userland packages for common content errors") |
42 "checks Userland packages for common content errors") |
43 self.prototype = os.getenv('PROTO_DIR') |
43 self.prototype = os.getenv('PROTO_DIR') |
44 self.runpath_re = [ |
44 self.runpath_re = [ |
45 re.compile('^/lib/'), |
45 re.compile('^/lib(/.*)?$'), |
46 re.compile('^/usr/'), |
46 re.compile('^/usr/'), |
47 re.compile('^\$ORIGIN/') |
47 re.compile('^\$ORIGIN/') |
48 ] |
48 ] |
49 self.initscript_re = re.compile("^etc/(rc.|init)\.d") |
49 self.initscript_re = re.compile("^etc/(rc.|init)\.d") |
50 super(UserlandActionChecker, self).__init__(config) |
50 super(UserlandActionChecker, self).__init__(config) |