-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow adding packages to jail before bulk build #146
Comments
This one is more robust. |
I don't understand the use case for this. Can you elaborate? Also, your patch is reversed. |
Sorry for the reversal. The use case goes like this. Certain ports do not install prerequisite packages even though they wind up being prerequisites. As an older example:
So to fix these issues, the patch I submitted (which I evolved a bit) allows one to specify a list of packages that get installed to the jail before bulk builds happen using the same area you use to modify make.conf and options and etc. I have forked your github repo and will eventually be trying to submit a pull request for the latest version (3.0.13 as of this writing) for this patch. |
Another use case is lang/pypy. It allows one to translate pypy with itself (making things much faster) but pypy is obviously not a dependency. Another use case would be if a port fails in the presence of another port, or if the build behaviour changes when another port is installed. |
P.S. jail hooks will allow one to develop this capability without having to extend poudriere itself. However, pkg does not get installed at that time so one will need to use pkg-static from /packages/All/pkg-*.txz from within the jail. I used:
to do my (evil) work. |
Does option
|
For a couple of broken ports like graphics/ImageMagick and multimedia/p5-GStreamer it would be real nice to allow the pre-installation of an already built package.
The following patch does this by allowing you to create a file ${JAILNAME}-pkgs.conf with a list of packages in it that will get installed after a jail is cloned. This might be a bit naive but here it is and it works:
The text was updated successfully, but these errors were encountered: