-
I'm trying to build packages for To summarise my where I've got to, this is what I'm running: git clone [email protected]:void-linux/void-packages.git
cd void-packages
docker run --rm -it --privileged -v "$PWD:/io" --platform=linux/aarch64 ghcr.io/void-linux/void-linux:latest-mini-aarch64-musl Then inside the container: xbps-install -ySu xbps git bash util-linux
bash
cd /io/
git config --global --add safe.directory /io
echo -e 'XBPS_CHROOT_CMD=ethereal\nXBPS_ALLOW_CHROOT_BREAKOUT=yes' > etc/conf
./xbps-src binary-bootstrap
./xbps-src pkg python3-ultrajson # package chosen arbitrarily The Is there something different I have to do instead of |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
you may want to take a look at what our CI does, as it uses the ethereal method in a ghcr.io/void-linux/xbps-src-masterdir container notably, see: void-packages/.github/workflows/build.yaml Lines 64 to 90 in a161833 https://github.com/void-linux/void-packages/blob/master/common/travis/prepare.sh |
Beta Was this translation helpful? Give feedback.
-
Your docker container IS the masterdir in the case of the ethereal method. I would recommend skip the docker part if your host is running void (or at least provides xbps). The way I would do it on void would be like this:
|
Beta Was this translation helpful? Give feedback.
This is the line I was missing. Thanks!