[arch-dev-public] makechrootpkg without aufs2
Allan McRae
allan at archlinux.org
Sat Jan 23 20:29:41 EST 2010
On 24/01/10 09:08, Pierre Schmitz wrote:
> Hi devs,
> <snip>
>
> This can be easily done by changing this in makechrootpkg:
>
> mount -t aufs none -o "dirs=$chrootdir/$LAYER=rw:$chrootdir/root=ro"
> "$uniondir"
>
> to
>
> rsync -a --delete --progress -h -c -W "$chrootdir/root/" "$uniondir"
>
> <snip>
You get a +1 from me for the idea. But looking at the rsync line, I
think that this will not work if I use makechrootpkg with "-- -i" to
install a package then use it without "-c" to build on top of that? I
guess we should not do the rsync if "-c" is not specified.
Allan
More information about the arch-dev-public
mailing list