Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jul 2018 17:22:25 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r336222 - head/tools/boot
Message-ID:  <201807121722.w6CHMPus071884@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Thu Jul 12 17:22:25 2018
New Revision: 336222
URL: https://svnweb.freebsd.org/changeset/base/336222

Log:
  Wee fix: $dev is passed in to the function with the /dev prefix already in
  place, don't add it.

Modified:
  head/tools/boot/install-boot.sh

Modified: head/tools/boot/install-boot.sh
==============================================================================
--- head/tools/boot/install-boot.sh	Thu Jul 12 16:35:35 2018	(r336221)
+++ head/tools/boot/install-boot.sh	Thu Jul 12 17:22:25 2018	(r336222)
@@ -33,9 +33,9 @@ make_esp() {
     dev=$1
     dst=$2
 
-    newfs_msdos -a 32 /dev/${dev}
+    newfs_msdos -a 32 ${dev}
     mntpt=$(mktemp -d /tmp/stand-test.XXXXXX)
-    mount -t msdos /dev/${md} ${mntpt}
+    mount -t msdos ${dev} ${mntpt}
     mkdir -p ${mntpt}/efi/boot
     cp ${dst}/boot/loader.efi ${mntpt}/efi/boot/bootx64.efi
     umount ${mntpt}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807121722.w6CHMPus071884>