Permissions error copying APKBUILD from build dir to device dir
Created by: V13Axel
With a fresh, empty ~/.local/var/pmbootstrap
, and a freshly checked-out version of the pmbootstrap
repo, I run pmbootstrap init
. I fill out the device as asus-flo
(happens with any device though), and answer all the other questions as I have previously for that very device.
Once the init
is done, I run pmbootstrap checksum linux-asus-flo
, which results in this log output:
It appears to be failing at copying the APKBUILD from the chroot build directory back out into the linux-asus-flo
directory. Changing https://github.com/postmarketOS/pmbootstrap/blob/915dc8a04967f93c4443312840f05120f2396d7a/pmb/build/checksum.py#L37 to run.root
instead of run.user
fixes this, and appears to have no other ill effects.
The resulting file in linux-asus-flo
has the appropriate permissions, and is verifiable as having been updated.