9pi
Posts: 37
Joined: Sat Aug 11, 2012 6:14 pm

STICKY: Keeping up to date

Thu Dec 27, 2012 8:13 pm

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.

Muzer
Posts: 12
Joined: Tue Jan 29, 2013 8:03 pm

Re: Keeping up to date

Wed Jan 30, 2013 1:12 am

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!)

Bakul Shah
Posts: 305
Joined: Sun Sep 25, 2011 1:25 am

Re: Keeping up to date

Wed Jan 30, 2013 1:26 am

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.

Muzer
Posts: 12
Joined: Tue Jan 29, 2013 8:03 pm

Re: Keeping up to date

Wed Jan 30, 2013 2:45 am

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?

Bakul Shah
Posts: 305
Joined: Sun Sep 25, 2011 1:25 am

Re: Keeping up to date

Wed Jan 30, 2013 3:15 am

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.

User avatar
dukzcry
Posts: 1
Joined: Tue Jun 17, 2014 6:57 am
Contact: Website

Re: Keeping up to date

Sun Jun 22, 2014 9:31 am

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.

Return to “Plan 9”

Who is online

Users browsing this forum: No registered users and 3 guests