about summary refs log tree commit diff stats
path: root/bootstrap
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xbootstrap/install10
1 files changed, 5 insertions, 5 deletions
diff --git a/bootstrap/install b/bootstrap/install
index d267de7e..a5d3aeb2 100755
--- a/bootstrap/install
+++ b/bootstrap/install
@@ -53,9 +53,9 @@ case $result in
         ;;
 esac
 
-sgdisk -Z "/dev/${disk}" || dien "Zapping"
+sgdisk -Z "/dev/${disk}" > /dev/null|| dien "Zapping"
 
-sgdisk -n 1:0:+550M -n 2:0:"$ENDSECTOR" -t 1:ef00 -t 2:8300 "/dev/${disk}" || dien "Partitioning"
+sgdisk -n 1:0:+550M -n 2:0:"$ENDSECTOR" -t 1:ef00 -t 2:8300 "/dev/${disk}" > /dev/null|| dien "Partitioning"
 
 case "$disk" in
     "nvme"*)
@@ -72,8 +72,8 @@ case "$disk" in
 esac
 
 msg "Started Formatting..."
-mkfs.fat -F32 "$DISK_EFI" || dien "Formatting(fat32)"
-mkfs.btrfs "$DISK_ROOT" || dien "Formatting(btrfs)"
+mkfs.fat -F32 "$DISK_EFI" > /dev/null || dien "Formatting(fat32)"
+mkfs.btrfs "$DISK_ROOT" > /dev/null || dien "Formatting(btrfs)"
 
 
 msg "Mounting..."
@@ -81,7 +81,7 @@ mount -t btrfs $DISK_ROOT /mnt
 cd /mnt || die "(Bug): no /mnt"
 bsc nix-store
 bsc persistent-storage
-bsc storage/nixos-config
+bsc persistent-storage/nixos-config
 cd /
 umount -R /mnt
 mount -t tmpfs none /mnt