root_register – create record of a package in simple database of installed packages in build context directory.

Description

Method makes a record in ROOT/pkgdb directory about current package. Default implementation creates empty file, named P.

If package large-one-1.2.3 uses hello-world-1.0 in amd64 build, the according record will be:
/build/context/amd64/large-one-1.2.3/root/pkgdb/hello-world-1.0

Writing

The method writes to ROOT.

Variables

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

See also

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