diff options
author | Paul Spooren <mail@aparcar.org> | 2020-09-13 15:55:52 -1000 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2020-09-14 10:54:52 +0100 |
commit | 34cc2c9a99f6542f009aa660790061f169aa96b3 (patch) | |
tree | 27ef139d98cd4c4cc4b7aca414226e51057a390f /scripts/config/expr.c | |
parent | df8e6be59a1fbce3f8c6878fe7440a129b1245d6 (diff) | |
download | upstream-34cc2c9a99f6542f009aa660790061f169aa96b3.tar.gz upstream-34cc2c9a99f6542f009aa660790061f169aa96b3.tar.bz2 upstream-34cc2c9a99f6542f009aa660790061f169aa96b3.zip |
build: create tmp/userids file
Multiple packages contain a USERID variable defining required user and
group for the package to run. With the recent addition of
"PKG_FILE_MODES" it is possible to define user and group of specific
files, replacing (possibly insecure) post-inst scripts. These modes are
set during build time and put directly into the packages.
To allow user and group names rather than the numeric values, a mapping
like `/etc/passwd` is required by the `ipkg-build` script, mapping names
defined in "PKG_FILE_MODES" to a numeric value, as the build system does
not create any users during build.
This commit adds a single line to the `prepare-tmpinfo` target, so that
everytime the feeds are updated the *passwd like* content of
`./tmp/userids` is updated.
Signed-off-by: Paul Spooren <mail@aparcar.org>
Diffstat (limited to 'scripts/config/expr.c')
0 files changed, 0 insertions, 0 deletions