Talk:DeveloperWiki:Building in a clean chroot
Deleting a chroot
Alternative Building Enviroment w/ Docker
I build a Docker container which gives you the primary needed build tools, also some extended basic tools and atm its builds yay from aur automatically.
Take a look at the docker hub https://hub.docker.com/r/therojam/archdevel
- This article describes the tools used by the developers to build packages in the official repositories, not a general methodology to build packages in a seperate environment. -- Alad (talk) 12:02, 4 July 2019 (UTC)
Build in tmpfs
mount command has some wrong, and needs to be changed to:
# mount -t tmpfs -o defaults,size=20G tmpfs /mnt/chroots/arch
More info needed RE: archbuild
With the semi-recent changes to chroot building and the addition of the archbuild convenience script, using a custom repo within your build chroot is no longer supported. It is therefore required to create (or symlink) a pacman.conf to
/usr/share/devtools/pacman-<some_name>.conf, and then run
<some_name>-x86_64-build to build packages in a chroot that will have access to your custom repo.