[arch-projects] [DEVTOOLS][PATCH 2/3] makechrootpkg: Add option to build in temp chroot
Pierre Schmitz
pierre at archlinux.de
Sat Mar 16 04:45:43 EDT 2013
Am 14.03.2013 03:55, schrieb Sébastien Luttringer:
> Add option -T to build in a temporary chroot. This apply to any kind of
> filesytem and allow to easily parrallelize builds.
>
> This patch also simplify how $default_copy and $copy are defined.
>
> Signed-off-by: Sébastien Luttringer <seblu at seblu.net>
> ---
> makechrootpkg.in | 33 +++++++++++++++++++++++++--------
> 1 file changed, 25 insertions(+), 8 deletions(-)
>
>
> + T) temp_chroot=true; copy+="-$RANDOM" ;;
Maybe use mktemp -d here. Otherwise it's possible to get random number
twice.
--
Pierre Schmitz, https://pierre-schmitz.com
More information about the arch-projects
mailing list