revert the extra os commands for chroot