fix building in chroot
We should be able to build a package in a temp chroot so to cache issues caused by that the developer has some extra packages installed.
We have buildlab as a proof-of-concept but it need to be completed.
(from redmine: issue id 801, created on 2011-11-07)
- blocks #625
- child #951 (closed)