255c715624
After initializing the build environment, the cache_distfiles folder currently is writable by everyone (which is not ideal, fix following soon). The aportgen code for `busybox-static-*` and `musl-*` copies the foreign arch `.apk` file to the distfiles, but it executes this action as regular user and not as root. This only works as long as build initialization ran before (which may not be the case on Travis and expecting this to run before is a bug in general). With this commit, the copy action gets executed as root, so it works in any case. I'm commiting this directly (without a PR), because it is a super simple fix and it unblocks our continuous integration. Local testing: $ pmbootstrap -y zap $ sudo rm -r ~/.local/var/pmbootstrap/cache_distfiles $ pmbootstrap aportgen musl-armhf |
||
---|---|---|
.. | ||
aportgen | ||
build | ||
chroot | ||
config | ||
export | ||
flasher | ||
helpers | ||
install | ||
parse | ||
qemu | ||
__init__.py |