[arch-dev-public] archbuild: building in a chroot for the lazy

Pierre Schmitz pierre at archlinux.de
Sun Aug 29 13:57:26 EDT 2010


On Sun, 29 Aug 2010 19:52:10 +0200, Rémy Oudompheng
<remyoudompheng at gmail.com> wrote:
> Rémy Oudompheng <remyoudompheng at gmail.com> :
>> I get random catastrophes when starting the script while still having
>> some shell open inside: I think it comes from binds not properly
>> dismounted before calling the 'rm -rf' line. Would it be wise to add
>> the --one-file-system option there ?
> 
> Gah, even with this change, I still get my packages cache deleted and
> /dev gets broken (funny things like "/dev/null: permission denied). I
> can't find the culprit line, makechrootpkg seems to use rsync -x,
> rebooting...

I don't really know what you are doing here. ;-) Some more detailed
steps how to reproduce it would be helpful.

For future versions I could try to add some kind of locking and more
robust checks if there are mount point within the target dir.

-- 
Pierre Schmitz, https://users.archlinux.de/~pierre


More information about the arch-dev-public mailing list