Talk:DeveloperWiki:Building in a clean chroot

From ArchWiki
Jump to navigation Jump to search

mkarchroot reads from local pacman.conf

I just ran the mkarchroot without providing any custom confs and yet it started syncing the repos I have in my local pacman.conf. Is there anything I am missing? --Maevius (talk) 08:57, 6 December 2012 (UTC)

Can you still reproduce this? -- Alad (talk) 13:35, 19 July 2018 (UTC)


Would adding some information about clean-chroot-manager be appropriate here? I have been using clean-chroot-manager recently and it has made my life much easier for developing and testing PKGBUILDS. --Dmp1ce (talk) 01:13, 30 January 2019 (UTC)

The only officially supported scripts are devtools. There are other helpers mentioned on the AUR helpers page. -- Lahwaacz (talk) 08:00, 30 January 2019 (UTC)
I agree that this is best discussed on the AUR helpers page, furthermore, there are many such wrappers, including clean-chroot-manager, aurutils, and ch, so discussing which unofficial wrapper to use is a bit out of scope. Also my ideal wrapper would be to install a /usr/share/devtools/pacman-custom.conf and a symlink from /usr/bin/archbuild to /usr/bin/custom-x86_64-build. It's already pretty modular. -- Eschwartz (talk) 23:09, 30 January 2019 (UTC)
Such a "custom-x86_64-build" would not handle local repos, would it? In particular, I don't see where it bind-mounts the corresponding file:// paths to pull in dependencies. -- Alad (talk) 23:29, 30 January 2019 (UTC)
It should work fine with repositories served over http (it's been done in the past on, as I recall) and furthermore if the repository is listed as a CacheDir it will be bind-mounted by default. -- Eschwartz (talk) 00:57, 31 January 2019 (UTC)