On 7/3/20 8:24 AM, PGNet Dev wrote:
> git _was_ trivially added to the local mock chroot, for its use, with obvious 
> success, in the local mock build of the spec.
> 
> COPR uses mock.
> 
> So far, I have not seen how that's to be similarly done for the COPR env.
> 
> Is is possible to, similarly, add git to the COPR mock env?

FrostyX @ irc was kind enuf to give this a try -- & found the solution.

@ nav to

        
https://copr.fedorainfracloud.org/coprs/pgfed/nginx-mainline/edit_chroot/fedora-32-x86_64/

adding 'git' to

        Packages: git
                You can add additional packages to the minimal buildroot of 
this chroot. These packages will be always present before the build starts.

( from UI, that's 'hidden' behind the "EDIT" button for the select chroot(s). 
obvious if you know it ... )

seems to solve the problem.  he was able to successfully bld my spec ...


from cmd line,

        copr-cli edit-chroot <coprchroot> --packages git

looks like it should work as well


ta, FrostyX!
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to