Manual: describe <subpkg>.{INSTALL,REMOVE} files.

This commit is contained in:
Juan RP 2014-09-15 16:14:08 +02:00
parent 1dbb3cec3e
commit 10cb7ff95e
1 changed files with 4 additions and 0 deletions

View File

@ -675,9 +675,13 @@ post)
esac
```
subpackages can also have their own `INSTALL` and `REMOVE` files, simply create them
as `srcpkgs/<pkgname>/<subpkg>.INSTALL` or `srcpkgs/<pkgname>/<subpkg>.REMOVE` respectively.
> NOTE: always use paths relative to the current working directory, otherwise if the scripts cannot
be executed via `chroot(2)` won't work correctly.
### Creating system accounts/groups at runtime
There's a trigger along with some variables that are specifically to create