[arch-dev-public] archbuild: building in a chroot for the lazy

Rémy Oudompheng remyoudompheng at gmail.com
Sun Aug 29 12:13:13 EDT 2010


Pierre Schmitz <pierre at archlinux.de> wrote:
> * By default the script will create the chroots in /var/tmp/archbuild.
>  Make sure you have enough disk space here. You might use another dir
>  by using the -r switch.
> * The -c switch will recreate the chroot even if it already exists.
> * You can also build i686 pacakges on x86_64.
> * TUs can use extra-*-build and testing-*-build to build packages for
>  community or community-testing.
> * You user will need the permission to use sudo
> * Set PACKAGER, MAKEFLAGS, SRCDEST, PKGDEST in your ~/.makepkg.conf
> * the first enabled mirror in your mirrorlist will be used for the
>  chroots; local mirrors using file:// are supported.
>
> This is in early stage and far from ready. So feedback and feature
> request are more than welcome.

I get random catastrophes when starting the script while still having
some shell open inside: I think it comes from binds not properly
dismounted before calling the 'rm -rf' line. Would it be wise to add
the --one-file-system option there ?

-- 
Rémy


More information about the arch-dev-public mailing list