hardlink.py revision 222
1715N/A# The contents of this file are subject to the terms of the 1715N/A# Common Development and Distribution License (the "License"). 1715N/A# You may not use this file except in compliance with the License. 1715N/A# See the License for the specific language governing permissions 1715N/A# and limitations under the License. 1715N/A# When distributing Covered Code, include this CDDL HEADER in each 1715N/A# If applicable, add the following below this CDDL HEADER, with the 1715N/A# fields enclosed by brackets "[]" replaced with your own identifying 1715N/A# information: Portions Copyright [yyyy] [name of copyright owner] 1715N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 1715N/A# Use is subject to license terms. 1715N/A"""module describing a (hard) link packaging object 3049N/AThis module contains the HardLinkAction class, which represents a hardlink-type 1715N/A """Class representing a hardlink-type packaging object.""" 1715N/A """Client-side method that installs a hard link.""" 1715N/A # If the target has a relative path, we need to construct its 1715N/A # absolute path. If the target has an absolute path, make sure 1715N/A # it's constrained to the image root. 1715N/A return [
"Path and Target inodes not the same"]
1715N/A return [
"Unexected exception: %s" % e]