Skip to content

Commit

Permalink
Cleanup output (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
UnicronNL authored Nov 9, 2018
1 parent ad559f4 commit a269e78
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/install/install-postinst-new
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ install_grub () {

if [ -f "/tmp/efiparts.tmp" ]; then
# Remove grub-pc packages
dpkg -r grub-pc grub2
dpkg -r grub-pc grub2 >&/dev/null
# Install grub-efi packages
dpkg -i /usr/share/vyos/packages/grub-efi*.deb
dpkg -i /usr/share/vyos/packages/grub-efi*.deb >&/dev/null
EFI_PARTITION=1
mkdir -p $grub_root/boot/efi
readarray parts < /tmp/efiparts.tmp
Expand All @@ -143,9 +143,9 @@ install_grub () {
bootloader_name="VyOS (RAID disk $I)"
((I++))
fi
mkdosfs -F 32 -n EFI /dev/$part
mkdosfs -F 32 -n EFI /dev/$part >&/dev/null
mount /dev/$part $grub_root/boot/efi
output=$(grub-install --no-floppy --recheck --target=x86_64-efi --root-directory=$grub_root --efi-directory=$grub_root/boot/efi --bootloader-id="$bootloader_name")
output=$(grub-install --no-floppy --recheck --target=x86_64-efi --root-directory=$grub_root --efi-directory=$grub_root/boot/efi --bootloader-id="$bootloader_name" 2>&1)
umount $grub_root/boot/efi
##TODO DO we need these to be in fstab??
#
Expand Down

0 comments on commit a269e78

Please sign in to comment.