You are not logged in.
I'm trying to follow instructions on building packages in a clean chroot. The problem is I don't know how to build AND install to this clean chroot. I'm trying to build mingw-w64-qt5-base from the AUR in said chroot, but it requires other AUR mingw-w64 packages. The wiki instructions only help so much, so I'm rather stumped. Any help would be appreciated.
Hardware: Gigabyte X570 AORUS Pro, AMD Ryzen 5900X, Nvidia GTX 1080, 32 GB DDR4 RAM
Choice software: Arch Linux 64-bit with KDE desktop / Windows 11 Home 64-bit
Offline
I am not sure what your issue is. If your package depends on other AUR packages then you install them as well. That's how AUR dependencies work.
Offline
Well, how would I install them to the clean chroot instead of my actual root?
Hardware: Gigabyte X570 AORUS Pro, AMD Ryzen 5900X, Nvidia GTX 1080, 32 GB DDR4 RAM
Choice software: Arch Linux 64-bit with KDE desktop / Windows 11 Home 64-bit
Offline
Well, I haven't used this myself, but this should do the job:
Offline
Unfortunately, that's exactly what I'm finding vague/not enough info on. I tried what it said, but it tries to install what I built in chroot to my real root
Hardware: Gigabyte X570 AORUS Pro, AMD Ryzen 5900X, Nvidia GTX 1080, 32 GB DDR4 RAM
Choice software: Arch Linux 64-bit with KDE desktop / Windows 11 Home 64-bit
Offline
None of the commands in that section are supposed to do that, what is the value of $CHROOT variable on your system ?
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
Check out graysky's clean-chroot-manager.
Offline
If you use extra-x86_64-build you can use the -I option.
extra-x86_64-build -- -I /path/to/foobar-1-1-x86_64.pkg.tar.gz
makechrootpkg also has the -I option
makechrootpkg -h
-I <pkg> Install a package into the working copy of the chroot
Last edited by mis (2016-12-27 12:27:36)
Offline
Or you could use a local repo to keep the chroot "clean", bind mount it and sync it with makechrootpkg -u
https://github.com/AladW/aurutils/blob/ … tils.7#L70
https://github.com/AladW/aurutils/blob/ … build#L146
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
Or you could use a local repo to keep the chroot "clean", bind mount it and sync it with makechrootpkg -u
CCM does all this for you:
Check out graysky's clean-chroot-manager.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Well, I guess he has two tools to choose from then.
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline