shithub: riscv

Download patch

ref: f075a98f05b96faffef894658154e12b012a6672
parent: 8beb5ec0a9ef76a9849192898623fd83b75d44e0
author: cinap_lenrek <cinap_lenrek@centraldogma>
date: Wed Aug 31 15:33:22 EDT 2011

inst: have to mount /srv/boot instead of binding /root

--- a/rc/bin/inst/mountdist
+++ b/rc/bin/inst/mountdist
@@ -102,15 +102,15 @@
 	while(! ~ $mountstatus ''){
 		default=()
 		if(! ~ $#cdboot 0)
-			default=(-d /root)
-		prompt $default 'Distribution disk' $fat $x9660 $fs /root
+			default=(-d /)
+		prompt $default 'Distribution disk' $fat $x9660 $fs /
 		disk=$rd
 
 		srvmedia=()
 		mountmedia=()
 		switch($disk){
-		case /root
-			mountmedia=(bind /root /n/distmedia)
+		case /
+			mountmedia=(mount /srv/boot /n/distmedia)
 		case $fs
 			mountmedia=(bind /n/newfs /n/distmedia)
 		case $fat