build: use numeric-owner in ipkg-build
authorPaul Spooren <mail@aparcar.org>
Tue, 19 Apr 2022 18:02:59 +0000 (20:02 +0200)
committerPaul Spooren <mail@aparcar.org>
Tue, 19 Apr 2022 20:59:50 +0000 (22:59 +0200)
commit7a732213322d9aa6d8743beffb185ca6f53a5bea
tree53a8ad0313f006f5f8734add4271d32e0f33678b
parent0b5a3234369395e886c2902d4b6a490c4ea91634
build: use numeric-owner in ipkg-build

To create packages the `ipkg-build` script is used which double packs
`control.tar.gz` and `data.tar.gz` to a single package. By default it's
using a verbose username instead of a numeric value for files.

Official OpenWrt images (artifacts) are created within docker containers
which do not seem to contain those verbose usernames and instead
defaults to numeric values.

This becomes a problem when rebuilding public artifacts because other
build environments may offer verbose usernames and there the created
packages is different from the official ones.

With this commit `ipkg-build` always uses numeric values for user/group
and thereby making it easier to reproduce official artifacts.

Signed-off-by: Paul Spooren <mail@aparcar.org>
scripts/ipkg-build