24 Jan
2010
24 Jan
'10
1:29 a.m.
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