[arch-projects] [DEVTOOLS][PATCH 2/3] archbuild: install packages in one call to pacman

Sébastien Luttringer seblu at archlinux.org
Fri Aug 28 18:30:13 UTC 2015


On Fri, 2015-08-14 at 10:06 -0400, Dave Reisner wrote:
> On Thu, Aug 13, 2015 at 10:56:41PM +0200, seblu at archlinux.org wrote:
> > From: Sébastien Luttringer <seblu at seblu.net>
> > 
> > +
> > +	for dst in "${dsts[@]}"; do
> > +		rm "$copydir$dst"
> > +	done
> 
> rm "${dsts[@]}"
The path is missing; I don't see something better than 

( cd "$copydir" && rm -f "${pkg_filenames[@]}" )

> 
> >  }
> >  
> >  prepare_chroot() {
> > @@ -384,6 +387,9 @@ $update_first && arch-nspawn "$copydir" \
> >  
> >  [[ -n ${install_pkgs[*]} ]] && install_packages
> >  
> > +# If there is no PKGBUILD we are done
> > +[[ -f PKGBUILD ]] || exit 0
> > +
> 
> Seems like an unrelated change... And, shouldn't lack of a PKGBUILD
> be a
> failure?

This is useful to synchronise the root file on a daily basis (without
building a package). I will move that in a different commit.

-- 
Sébastien "Seblu" Luttringer
https://seblu.net | Twitter: @seblu42
GPG: 0x2072D77A

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <https://lists.archlinux.org/pipermail/arch-projects/attachments/20150828/fdbebaa8/attachment.asc>


More information about the arch-projects mailing list