summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-08-20 02:32:29 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-08-20 02:32:29 -0400
commit2fd704f86813d10e11473ef6e032371b0ad843df (patch)
treec84c0ca5cad62ede584bd2562f8586ebc509c577
parent4474c62e3c17d08820e3b4c09f49e23a2e250c61 (diff)
osi-mk: Don't bother re-running genfstab with --edit if we didn't reset FSID
-rwxr-xr-xosi-mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/osi-mk b/osi-mk
index 58dc1e5..4ae5700 100755
--- a/osi-mk
+++ b/osi-mk
@@ -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