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 <[email protected]> > --- > 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
