On Sun, 29 Jun 2014 16:28:34 CDT Brian Vito <[email protected]> wrote:
>
> I am trying to update my Raspberry Pi, and I've run:
>
> replica/pull -v /dist/replica/network
>
> The wiki at
> http://www.plan9.bell-labs.com/wiki/plan9/Updating_an_ARM_system/index.html
> says that I now have to recompile anything which has changed by running 'mk
> install' in the appropriate directory. What is / which are the appropriate
> directory(ies)? I can't seem to figure out where the update source code is.
> Thanks very much.
Due to the recent addition of the nsec() syscall make sure you
update the kernel first (assuming you are running Richard
Miller's 9pi img).
cd /sys/src
mk # this rebuild everything but doesn't install binaries
# some are needed for the root image
cd /sys/src/9/bcm
mk # this build 9pi
dosmnt 1 /n/c
cp 9pi /n/c/9pi # assuming you are running 9pi
fshalt
^T^Tr # to reboot
Once rebooted
cd /sys/src
mk install