[arch-releng] updates to releng scripts for new dm_snapshot archiso

Dieter Plaetinck dieter at plaetinck.be
Thu Aug 4 11:40:53 EDT 2011


On Thu, 04 Aug 2011 11:46:50 -0300
Gerardo Exequiel Pozzi <vmlinuz386 at yahoo.com.ar> wrote:

> On 08/04/2011 05:10 AM, Dieter Plaetinck wrote:
> > Hi,
> > I've been updating the releng scripts for the new archiso (all my
> > changes are in this commit: http://pastie.org/2318603)
> Good!
> > It seems to build the i686 iso's succesfully, but fails for x86_64
> > and I have no idea why.  I only know `./build.sh all_iso_single`
> > failed (exited>0) in the x86_64 chroot, but it doesn't give me any
> > errors.
> See below.
> > Could it be because I do a `./build.sh clean_single` and `./build.sh
> > clean_dual` first? (before doing x86_64, after i686).  I know you
> > gave instructions at
> > http://mailman.archlinux.org/pipermail/arch-releng/2011-June/001835.html,
> > but they don't mention when exactly i should do which clean
> > commands.
> clean commands remove files created by build commands on current 
> architecture.
> 
> clean_single $workdir/$arch + $arch.iso
> 
> clean_dual $workdir/dual + dual.iso

huh?
i don't understand the above commands, what's the $arch.iso command? it doesn't seem like an argument
build.sh understands (as you listed those at
http://mailman.archlinux.org/pipermail/arch-releng/2011-June/001835.html )
how about this?

1) share a common directory between two chroots (32 and 64 bits) for 
working directory.
2) execute in 32 bits chroot: ./build.sh clean_single && ./build.sh all_iso_single 
3) execute in 64 bits chroot: ./build.sh clean_single && ./build.sh all_iso_single
4) execute in any chroot : ./build.sh clean_dual && ./build.sh all_iso_dual


More information about the arch-releng mailing list