diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2018-08-14 16:53:02 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2018-08-14 16:53:02 -0400 |
commit | 4731f00bf080d5daf8cd6bfa4740ced6d6a0753a (patch) | |
tree | b393360e65fd49d67f99a52bd43ffcdcd994b394 | |
parent | 291bd36a621fc7f5c4569cd0205e3e5da775ee96 (diff) |
osi-mk: Changing FSID breaks a few things, fix them
-rwxr-xr-x | osi-mk | 9 | ||||
-rw-r--r-- | osi-mk.d/testuser.sh | 2 |
2 files changed, 8 insertions, 3 deletions
@@ -66,6 +66,10 @@ osi-mk:grub-install() { EOT arch-chroot -- "$arg_mountpoint" sh -c \ 'grub-install "$(awk '\''$2 == "/" { print $1 }'\'' </proc/mounts)"' +} + +osi-mk:grub-mkconfig() { + local arg_mountpoint=$1 arch-chroot -- "$arg_mountpoint" grub-mkconfig -o /boot/grub/grub.cfg } @@ -191,13 +195,14 @@ main() { packages=("${arg_packages[@]}") cache_packages=() post_install=( + 00:osi-mk:genfstab 50:osi-mk:directories + 99:osi-mk:grub-mkconfig ) if ! $arg_edit; then packages+=(grub btrfs-progs) post_install+=( - 00:osi-mk:genfstab - 99:osi-mk:grub-install + 98:osi-mk:grub-install ) fi for module in "${arg_modules[@]}"; do diff --git a/osi-mk.d/testuser.sh b/osi-mk.d/testuser.sh index dd7ffb7..bd1f08a 100644 --- a/osi-mk.d/testuser.sh +++ b/osi-mk.d/testuser.sh @@ -13,7 +13,7 @@ testuser:early() { fi } -post_install+=(99:testuser:late) +post_install+=(90:testuser:late) testuser:late() { local arg_mountpoint=$1 |