• Jussi Kukkonen's avatar
    Invalidate id cache after script execution · d609ef3c
    Jussi Kukkonen authored
    It's common for a pre-install script to do something like
        addgroup -S group 2>/dev/null
    When apk installs files after this, it sets the owner/group based on id cache
    but currently the id cache is stale and doesn't contain the new group at that
    point: instead the file will be installed with gid that the build host
    happened to have for that group -- on target this might mean a non-existing
    group or a completely different group.
    
    We can't know if the script really did modify id cache contents so make sure
    to reset the id cache on every script execution.
    d609ef3c
Name
Last commit
Last update
libfetch Loading commit data...
src Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
Make.rules Loading commit data...
Makefile Loading commit data...
NEWS Loading commit data...
README Loading commit data...