diff options
author | Michael E Brown <michael_e_brown@dell.com> | 2007-12-19 13:28:39 -0600 |
---|---|---|
committer | Michael E Brown <michael_e_brown@dell.com> | 2007-12-19 13:28:39 -0600 |
commit | e02f5e1548e20297f2f18d8f93f464ff8f48a032 (patch) | |
tree | 7956dd88b81cde626573610e2314fcc6c77fb50e /py/mock.py | |
parent | 32cbdd2d00964cd7adb74de63b047a2cf7f3b5c5 (diff) | |
download | mock-e02f5e1548e20297f2f18d8f93f464ff8f48a032.tar.gz mock-e02f5e1548e20297f2f18d8f93f464ff8f48a032.tar.xz mock-e02f5e1548e20297f2f18d8f93f464ff8f48a032.zip |
set personality in mainline code so all options run under correct personality.
Diffstat (limited to 'py/mock.py')
-rwxr-xr-x | py/mock.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -484,6 +484,9 @@ def main(ret): except: log.info("Namespace unshare failed.") + # set personality (ie. setarch) + mock.util.condPersonality(chroot.personality) + if options.mode == 'init': if config_opts['clean']: chroot.clean() |