diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2018-08-20 02:32:29 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2018-08-20 02:32:29 -0400 |
commit | 2fd704f86813d10e11473ef6e032371b0ad843df (patch) | |
tree | c84c0ca5cad62ede584bd2562f8586ebc509c577 | |
parent | 4474c62e3c17d08820e3b4c09f49e23a2e250c61 (diff) |
osi-mk: Don't bother re-running genfstab with --edit if we didn't reset FSID
-rwxr-xr-x | osi-mk | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -245,13 +245,18 @@ main() { packages=("${arg_packages[@]}") cache_packages=() post_install=( - 00:osi-mk:genfstab 50:osi-mk:directories 99:osi-mk:grub-mkconfig ) + if [[ -n $arg_edit_base ]]; then + post_install+=( + 00:osi-mk:genfstab + ) + fi if ! $arg_edit; then packages+=(grub btrfs-progs) post_install+=( + 00:osi-mk:genfstab 98:osi-mk:grub-install ) fi |