root_install – create links and real copies of according files of a package in build context directory.

Description

Method creates relative links from real files in D to ROOT. File structure after D is preserved inside ROOT. Needed directories are created in ROOT. Directories and files for linking are read from get_installed_tracked_dirs(3) and get_installed_tracked_exec_files(3). Finally method registers the installation of current package to ROOT with root_register(3).

Writing

The method writes to ROOT.

Variables

The method uses any-api(7) variables:
ROOT
D

Interfaces

See also

any(1), any-map(7), any-api(7), pkg_root(3)