To create links during package installation, define the following in the prototype file entry for the linked object:
Its file type as l (a link) or s (a symbolic link).
The linked object's path name with the format path1=path2 where path1 is the destination and path2 is the source file. As a general rule, path2 of a link should never be absolute, but should instead be relative to the directory portion of path1. For example, a prototype file entry that defines a symbolic link could be as follows:
s none etc/mount=../usr/etc/mount |
Relative links would be specified in this manner whether the package is installed as absolute or relocatable.