Am 24.01.23 um 13:55 schrieb Polarian:
what do I need in order to create an arch chroot manually and enter the chroot using the chroot binary, and then manually cloning the package and building it within the chroot?
- create a directory, subvolume, or filesystem - use pacstrap to install base and base-devel - archlinux-chroot into the new system - create a user, and switch to that user - build and test the package
If you do this more than once, snapshots come in handy. You might want to share /var/cache/pacman and a directory with your package source files between snapshots, using mount --bind.