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}
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"