Difference between revisions of "Talk:DeveloperWiki:Building in a clean chroot"

From ArchWiki
Jump to navigation Jump to search
(Create a 32-bit chroot: clean up closed discussion; turned out the concept didn't work anyway.)
(clean-chroot-manager: clearing closed discussion)
Line 3: Line 3:
  
 
:Can you still reproduce this? -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 13:35, 19 July 2018 (UTC)
 
:Can you still reproduce this? -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 13:35, 19 July 2018 (UTC)
 
==<s>clean-chroot-manager</s>==
 
Would adding some information about [https://aur.archlinux.org/packages/clean-chroot-manager/ 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. --[[User:Dmp1ce|Dmp1ce]] ([[User talk:Dmp1ce|talk]]) 01:13, 30 January 2019 (UTC)
 
 
:The only officially supported scripts are {{Pkg|devtools}}. There are other helpers mentioned on the [[AUR helpers]] page. -- [[User:Lahwaacz|Lahwaacz]] ([[User talk: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, [https://github.com/AladW/aurutils/ aurutils], and [https://git.server-speed.net/users/flo/bin/tree/ch ch], so discussing which unofficial wrapper to use is a bit out of scope. Also my ideal wrapper would be to install a {{ic|/usr/share/devtools/pacman-custom.conf}} and a symlink from {{ic|/usr/bin/archbuild}} to {{ic|/usr/bin/custom-x86_64-build}}. It's already pretty modular. -- [[User:Eschwartz|Eschwartz]] ([[User talk: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 {{ic|file://}} paths to pull in dependencies. -- [[User:Alad|Alad]] ([[User talk: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 https://pkgbuild.com, as I recall) and furthermore if the repository is listed as a CacheDir it will be bind-mounted by default. -- [[User:Eschwartz|Eschwartz]] ([[User talk:Eschwartz|talk]]) 00:57, 31 January 2019 (UTC)
 
  
 
== Deleting a chroot ==
 
== 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). [[User:Tharbad|Tharbad]] ([[User talk:Tharbad|talk]]) 03:05, 12 May 2019 (UTC)
 
It's not written in the page so I'll write it here: Just delete the $CHROOT folder (Unless it's btrfs). [[User:Tharbad|Tharbad]] ([[User talk:Tharbad|talk]]) 03:05, 12 May 2019 (UTC)

Revision as of 15:27, 5 June 2019

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)

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)