> However I'd suggest that rather than patching dapper.py, it would be
> better to do modify the quantal.py subclass (if that's the first
> release which requires /proc to be mounted). Otherwise you're going
> to change the build behaviour for all previous releases too.
> However I'd suggest that rather than patching dapper.py, it would be
> better to do modify the quantal.py subclass (if that's the first
> release which requires /proc to be mounted). Otherwise you're going
> to change the build behaviour for all previous releases too.
Thanks for the patch; it works like a charm.
Question: Wouldn't it be better to do this:
self. run_in_ target( 'umount' , '/proc')
instead of this:
run_ cmd('umount' , '%s/proc' % self.context. chroot_ dir)
Then you wouldn't have to import VMBuilder. util.run_ cmd. (I haven't
tried it; just an observation.)