userland.py revision 99
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] 1531N/A# Copyright (c) 2010, 2011, 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")
1531N/A """Combine path and target to get the real path.""" 186N/A """Checks for existence in the proto area.""" 186N/A # check for writable files without a preserve attribute 186N/A _(
"%(path)s is writable (%(mode)s), but missing a preserve" 186N/A # checks that require a physical file to look at 186N/A _(
"%s missing from proto area, skipping" 186N/A # 32/64 bit in wrong place 186N/A """Checks for link resolution.""" 186N/A _(
"%s %s has unresolvable target '%s'") %
186N/A """Checks for SVR4 startup scripts.""" 186N/A _(
"SVR4 startup '%s', deliver SMF" 186N/A "SVR4 startup scripts should not be delivered.")
186N/A """An opensolaris.org-specific class to check manifests.""" 634N/A "license actions are required if you deliver files.")