[arch-dev-public] makechrootpkg without aufs2
allan at archlinux.org
Sat Jan 23 21:03:23 EST 2010
On 24/01/10 11:42, Pierre Schmitz wrote:
> On Sun, 24 Jan 2010 11:29:41 +1000, Allan McRae<allan at archlinux.org>
>> 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.
> I know; I just wanted to reduce it to one line to make the idea clear. The
> actual implementation of this would be a little more complex. We really
> only need to run rsync if -c is specified and we wont need the handling of
> the rw layer, the aufs module, mounts etc..
Great. I was just flagging it as a potential issue. I really like this
idea as aufs2 craps out on my a lot causing unmount issues during
shutdown. Also, when a build fails, it will be much easier to "cd
$uniondir" and manually debug it.
More information about the arch-dev-public