Author: ian
Date: Tue Jul  3 16:07:04 2018
New Revision: 335895
URL: https://svnweb.freebsd.org/changeset/base/335895

Log:
  Fix the fstab entries for tests that have an efi partition in slice 1 and
  put the rootfs on s2.

Modified:
  head/tools/boot/rootgen.sh

Modified: head/tools/boot/rootgen.sh
==============================================================================
--- head/tools/boot/rootgen.sh  Tue Jul  3 15:56:22 2018        (r335894)
+++ head/tools/boot/rootgen.sh  Tue Jul  3 16:07:04 2018        (r335895)
@@ -237,7 +237,7 @@ mk_nogeli_mbr_ufs_uefi() {
     img=$2
 
     cat > ${src}/etc/fstab <<EOF
-/dev/ada0s1a   /               ufs     rw      1       1
+/dev/ada0s2a   /               ufs     rw      1       1
 EOF
     make_esp ${src} ${img}.s1
     makefs -t ffs -B little -s 200m ${img}.s2a ${src}
@@ -251,7 +251,7 @@ mk_nogeli_mbr_ufs_both() {
     img=$2
 
     cat > ${src}/etc/fstab <<EOF
-/dev/ada0s1a   /               ufs     rw      1       1
+/dev/ada0s2a   /               ufs     rw      1       1
 EOF
     make_esp ${src} ${img}.s1
     makefs -t ffs -B little -s 200m ${img}.s2a ${src}
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to