shithub: riscv

Download patch

ref: 7208d528bd42f981f2535403f72e4c0d7d8df643
parent: f8062ba939929389275645c0ebd4c0e934626d7e
author: cinap_lenrek <cinap_lenrek@localhost>
date: Mon Apr 11 22:44:37 EDT 2011

webfs on readonly filesystem

--- a/sys/lib/dist/mkfile
+++ b/sys/lib/dist/mkfile
@@ -1,12 +1,10 @@
-iso=/tmp/9front.iso
-
-cd:V: $iso
+cd:V: /tmp/9front.iso
 	
 
-clean:V:
-	rm -fr $iso
-
-%.iso: pc/plan9.ini.cd
-	bind $prereq /n/src9/cfg/plan9.ini
+%.iso: pc/cdproto pc/plan9.ini.cd
+	bind pc/plan9.ini.cd /n/src9/cfg/plan9.ini
 	disk/mk9660 -9cj -B 386/9bootiso -p pc/cdproto -s /n/src9 -v 'Plan 9 Front' $target
 	unmount /n/src9/cfg/plan9.ini
+
+%.bz2: %
+	bzip2 $prereq
--- a/sys/lib/dist/pc/cdproto
+++ b/sys/lib/dist/pc/cdproto
@@ -65,9 +65,6 @@
 	wrap
 	wsys
 n
-net
-proc
-srv
 sys
 	games
 		+
@@ -108,7 +105,14 @@
 tmp
 usr
 	glenda
-		+
+		bin
+			386
+				+
+			rc
+				+
+		lib
+			*
+		tmp
 
 LICENSE
 LICENSE.afpl
--- a/usr/glenda/lib/profile
+++ b/usr/glenda/lib/profile
@@ -8,7 +8,8 @@
 switch($service){
 case terminal
 	plumber
-	webfs
+	touch /tmp/webcookies
+	webfs -c /tmp/webcookies
 	echo -n accelerated > '#m/mousectl'
 	echo -n 'res 3' > '#m/mousectl'
 	prompt=('term% ' '	')