summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@localhost>2011-04-12 02:44:37 +0000
committercinap_lenrek <cinap_lenrek@localhost>2011-04-12 02:44:37 +0000
commit7208d528bd42f981f2535403f72e4c0d7d8df643 (patch)
tree8641cc2ae8c620843826aabe239bc23efe066762
parentf8062ba939929389275645c0ebd4c0e934626d7e (diff)
downloadplan9front-7208d528bd42f981f2535403f72e4c0d7d8df643.tar.xz
webfs on readonly filesystem
-rw-r--r--sys/lib/dist/mkfile14
-rw-r--r--sys/lib/dist/pc/cdproto12
-rw-r--r--usr/glenda/lib/profile3
3 files changed, 16 insertions, 13 deletions
diff --git a/sys/lib/dist/mkfile b/sys/lib/dist/mkfile
index 954d288f3..8f520bde3 100644
--- 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
diff --git a/sys/lib/dist/pc/cdproto b/sys/lib/dist/pc/cdproto
index 29eb9efc4..0388a5b18 100644
--- a/sys/lib/dist/pc/cdproto
+++ b/sys/lib/dist/pc/cdproto
@@ -65,9 +65,6 @@ mnt
wrap
wsys
n
-net
-proc
-srv
sys
games
+
@@ -108,7 +105,14 @@ sys
tmp
usr
glenda
- +
+ bin
+ 386
+ +
+ rc
+ +
+ lib
+ *
+ tmp
LICENSE
LICENSE.afpl
diff --git a/usr/glenda/lib/profile b/usr/glenda/lib/profile
index 888877013..44929e3ab 100644
--- a/usr/glenda/lib/profile
+++ b/usr/glenda/lib/profile
@@ -8,7 +8,8 @@ fn cd { builtin cd $* && awd } # for acme
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% ' ' ')