[aur-general] devtools

Ionut Biru biru.ionut at gmail.com
Sun May 30 05:00:02 EDT 2010


On 05/30/2010 02:41 AM, Nathan O. wrote:
> On 05/29/2010 04:29 PM, Ionut Biru wrote:
>> On 05/30/2010 12:00 AM, Nathan O. wrote:
>>>
>>> I am trying to build packages in a chroot env. I did the mkarchroot to
>>> create the chroot, I am wanting to use yaourt in it to install the deps
>>> in the chroot I need for the packages I am trying to build. Or is there
>>> a way to use yaourt in my local database and make yaourt install it in
>>> the chroot env?
>>>
>>> Thanks
>>
>> build all the aur deps using makechroopkg and then add inside the
>> chroot a repo. in chroot/root/repo for example or use makechrootpkg
>> -cr /chroot -- -i for dependency and for the package than needs that
>> don't pass -c
>>
>> 1) makechrootpkg -cr /path/to/chroot -- -i
>> 2) makechrootpkg -r /path/to/chroot
>>
>>
> Hmm for some reason the above command worked fine to get the deps, but I
> am needing monotorrent from AUR. I tried the above command but it wants
> to use pacman instead of yaourt

the point is to download the builds from aur and instead of using 
makepkg, you do makechrootpkg. you can use aur by hacking into yaourt 
and instead of makepkg you use makechrootpkg with the proper options


-- 
Ionut


More information about the aur-general mailing list