[arch-general] makepkgchroot
Myra Nelson
myra.nelson at hughes.net
Fri Jun 17 14:12:04 EDT 2011
On Fri, Jun 17, 2011 at 12:53, Ionut Biru <ibiru at archlinux.org> wrote:
> On 06/17/2011 08:38 PM, Myra Nelson wrote:
>>
>> I'm attempting to set up a clean chroot to build packages in. I've
>> followed the
>> instructions on the wiki page
>>
>> https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_Clean_Chroot.
>>
>> I've read all the posts on the forum, than man pages, and the mailing
>> lists
>> (I may have missed something) and haven't found any answer to my problem;
>>
>> Steps to recreate:
>
> <wipe everything>
>
>
> quick todo. simple way
>
> sudo extra-x86-64-build or sudo extra-i686-build
>
> does the clean chroots in /var/tmp and it does two things
> 1) if chroot doesn't exists it will create and start compiling
> 2) if chroot exists, clean the chroot and start compilation.
>
> the schemas for chroots are like this:
> /path/to/chroot/root - the clean one
> /path/to/chroot/$usr - the one that is used for compilation and gets clean
>
> now, if you want to modify mirrorlist from chroot take in consideration that
> is taken from system /etc/pacman.d/mirrorlist first mirror.
>
> now depending of what you want to modify in makepkg.conf some variables can
> be read and exported inside chroot from ~/.makepkg.conf like MAKEFLAGS,
> PACKAGER.
>
> for pacman.conf you should edit /path/to/chroot/root/etc/pacman.conf
>
> to use makechrootpkg use makechrootpkg -rc /path/to/chroot without specify
> anything else and mkarchroot wants a /path/to/chroot/root as parameter
>
>
>
>
> --
> Ionuț
>
I'll give this a try later. Thanks for the suggestion.
Myra
--
Life's fun when your sick and psychotic!
More information about the arch-general
mailing list