def setup_target(target='/tmp/target', device='/dev/ubda', fstype='ext2'): mount_tmpfs(target='/tmp') make_filesystem(device, fstype) mount_target(target, device)
def make_filesystem(self): import warnings warnings.warn('UmlChroot.make_filesystem hardcoded') make_filesystem('/dev/ubda', 'ext2')