def _unmount_disk_chroot_mounts(self, abs_pacstrap_target_dir): try_unmounting(self._executor, abs_pacstrap_target_dir)
def _unmount_nondisk_chroot_mounts(self, abs_pacstrap_inner_root): self._messenger.info('Unmounting non-disk file systems...') for source, options, target in reversed(_NON_DISK_MOUNT_TASKS): abs_path = os.path.join(abs_pacstrap_inner_root, target) try_unmounting(self._executor, abs_path)
def _try_unmounting(self, abs_path): return try_unmounting(self._executor, abs_path)