5.13 Payload Paths

Every path a package holds is relative to /usr: a package's bin/hello is /usr/bin/hello. A package installs nothing outside /usr but the links it claims (§5.23).

5.13.1 Constraints #

A path MUST be relative, and MUST NOT contain an empty component, ., .. or a NUL byte. It MUST be valid UTF-8. It is compared byte for byte: nothing is canonicalized, so two paths that differ in case or in Unicode normalization are two paths.

5.13.2 The reserved path #

The top-level path inventory, that is /usr/inventory, is the closure's inventory (§5.25). A package MUST NOT hold it, or anything beneath it, whether as a file, a directory or a link, and MUST NOT claim it.

5.13.3 An empty package #

A package with no paths is valid. It installs nothing, and exists for what it depends on and provides.

Edit this page