Re: How to install group rpms by mock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Dne 17.11.2016 v 10:29 Ville Skyttä napsal(a):
> On Wed, Nov 16, 2016 at 10:06 PM, Jun Aruga <jaruga@xxxxxxxxxx> wrote:
>> Hello,
>>
>> We can install rpms of one group by dnf like this.
>>
>> ```
>> $ sudo dnf group install "C Development Tools and Libraries"
>> ```
>>
>> However anyone, could you tell me how to install those to mock environment?
>>
>> Can we use mock command?
>>
>>
>> ```
>> $ mock -r fedora-rawhide-x86_64 -i something ?
>> ```
> Try prefixing the group name or id with @, e.g.
> $ mock -r fedora-rawhide-x86_64 -i "@C Development Tools and Libraries"
> $ mock -r fedora-rawhide-x86_64 -i @c-development

Another alternative is:

$ mock -r fedora-rawhide-x86_64 --pm-cmd and-whatever-dnf-command-you-want-to-use-here


(actully it is YUM command for EPEL buildroots, there are even specific
--{dnf,yum}-cmd alternatives). In your case, this should do the job:

$ mock -r fedora-rawhide-x86_64 --pm-cmd group install "C Development Tools and Libraries"



Vít
_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux