userland.py revision 45
45N/A# The contents of this file are subject to the terms of the 45N/A# Common Development and Distribution License (the "License"). 45N/A# You may not use this file except in compliance with the License. 45N/A# See the License for the specific language governing permissions 45N/A# and limitations under the License. 45N/A# When distributing Covered Code, include this CDDL HEADER in each 45N/A# If applicable, add the following below this CDDL HEADER, with the 45N/A# fields enclosed by brackets "[]" replaced with your own identifying 45N/A# information: Portions Copyright [yyyy] [name of copyright owner] 45N/A# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 45N/A# Some userland consolidation specific lint checks 45N/A """An opensolaris.org-specific class to check actions.""" 45N/A "checks Userland packages for common content errors")
45N/A """Checks for existence in the proto area.""" 45N/A _(
"packaged path '%s' missing from proto area") %
path,
45N/A """Checks for file content issues.""" 45N/A _(
"%s has bad RUNPATH, " 45N/A # additional checks for different content types should go here 45N/A """An opensolaris.org-specific class to check manifests.""" 45N/A return # skip this check for now. It needs more work 45N/A _(
"unpackaged path '%s' missing from manifest") %
path,
45N/A "Prototype paths should be present.")