Page 1 of 1

STICKY: Keeping up to date

Posted: Thu Dec 27, 2012 8:13 pm
by 9pi
After installing Plan 9, you can use the replica/pull command to keep your system up to date with changes and corrections on the Bell Labs repository. For details, see this wiki page: http://www.plan9.bell-labs.com/wiki/pla ... ARM_system

In particular, if you installed Plan 9 on the Raspberry Pi using an SD card image earlier than 19 Dec 2012, it's recommended that you update it by downloading a new image, or by running:

Code: Select all

9fs sources
cp /n/sources/contrib/miller/rpi/dist/replica/9pi /dist/replica/9pi
replica/pull -s/ /dist/replica/9pi
Earlier images had some incorrect file ownership and permission settings which are corrected by this update.

Re: Keeping up to date

Posted: Wed Jan 30, 2013 1:12 am
by Muzer
A plan 9 noob here; will this procedure update all the userspace binaries, etc., just the sources or what? How do I completely update everything?

(Incidentally I tried to update the kernel and failed miserably; check the backlogs in #plan9, due to soft/hard FPU mismatches!)

Re: Keeping up to date

Posted: Wed Jan 30, 2013 1:26 am
by Bakul Shah
Muzer wrote:A plan 9 noob here; will this procedure update all the userspace binaries, etc., just the sources or what? How do I completely update everything?

(Incidentally I tried to update the kernel and failed miserably; check the backlogs in #plan9, due to soft/hard FPU mismatches!)
Standard plan9 sources now have the same 9pi bits so you can just do a normal "pull". No need to pull from /n/sources/contrib/miller/rpi.

Re: Keeping up to date

Posted: Wed Jan 30, 2013 2:45 am
by Muzer
But doing a pull, does this update everything (binaries, the kernel, etc.), or just sources, or does it update userspace binaries but just kernel source, or what?

Re: Keeping up to date

Posted: Wed Jan 30, 2013 3:15 am
by Bakul Shah
Muzer wrote:But doing a pull, does this update everything (binaries, the kernel, etc.), or just sources, or does it update userspace binaries but just kernel source, or what?
Everything that is in /n/sources/plan9/ dir but note that only the 386 bits are built there at present. On the RPi you'll have to rebuild the kernel and binaries and 'mk install' them. Furthermore, you will have to manually copy the kernel to the dos partition. See this wiki page (also mentioned in Richard's last message in this thread) for how to avoid downloading 386 bits.

Re: Keeping up to date

Posted: Sun Jun 22, 2014 9:31 am
by dukzcry
Moderators, please pin this thread!

Code: Select all

9fs sources
cp /n/sources/contrib/miller/rpi/dist/replica/9pi /dist/replica/9pi
Should be avoided now, as 9pi part has been merged into a base plan9.
Furthermore, you will have to manually copy the kernel to the dos partition
And here's how to mount fat partition with kernel, for newcomers: https://code.google.com/p/plan9front/wiki/9pi
See this wiki page (also mentioned in Richard's last message in this thread) for how to avoid downloading 386 bits.
Already cared in the latest 9pi.img.gz, no need to modify the scipt.