DeveloperWiki talk:Building in a clean chroot

From ArchWiki
Jump to navigation Jump to search

Deleting a chroot

It's not written in the page so I'll write it here: Just delete the $CHROOT folder (Unless it's btrfs). Tharbad (talk) 03:05, 12 May 2019 (UTC)

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 unsigned comment is by Therojam (talk) 10:52, 4 July 2019 (UTC). Please sign your posts with ~~~~!

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

The mount command has some wrong, and needs to be changed to:

# mount -t tmpfs -o defaults,size=20G tmpfs /mnt/chroots/arch

Akiirui (talk) 20:35, 9 December 2019 (UTC)

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.

For more background, see this reddit post and this response thread.

Terminalmage (talk) 01:39, 10 December 2019 (UTC)

Convenience way for AUR packages

The section “Convenience way” does not mention building AUR packages. I guess extra-x86_64-build would work for these, too, or am I wrong? Buzo (talk) 17:39, 12 May 2020 (UTC)