fix a typo in grub-install, and fix open flags in install_func.
3 files changed