|
OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
Following Stable. Why uname does NOT show patch #6.
Hi.
I am a newbie. I installed OpenBSD 4.5 release on a laptop. I want my installation to have the latest patches. So I downloaded the latest sources (from the stable branch) and compiled the kernel. When I rebooted the machine, I expected the uname -v to tell that I have patch six. (ie. GENERIC#6). However, I did not get this. I got GENERIC#0. The first line of dmesg says: OpenBSD 4.5-stable (GENERIC) #0: Fri May 15 15:34:00 CDT 2009 Please tell me as to what I am doing wrong. This is the script I use: #! /bin/ksh #Step #1: Get the source code. # Get the complete source code cd /usr export CVSROOT=anoncvs@obsd.cec.mtu.edu:/cvs cvs -d$CVSROOT checkout -rOPENBSD_4_5 -P src ports xenocara # Get the updates to kernel. cd /usr/src export CVSROOT=anoncvs@obsd.cec.mtu.edu:/cvs cvs -d$CVSROOT up -rOPENBSD_4_5 -Pd # Get the updates to ports. cd /usr/ports export CVSROOT=anoncvs@obsd.cec.mtu.edu:/cvs cvs -d$CVSROOT up -rOPENBSD_4_5 -Pd # Get the updates to x-window system(aka xenocara) cd /usr/xenocara export CVSROOT=anoncvs@obsd.cec.mtu.edu:/cvs cvs -d$CVSROOT up -rOPENBSD_4_5 -Pd #---------------------------------------------------------------------------- # Step #2: Build the kernel. cd /usr/src/sys/arch/`machine`/conf /usr/sbin/config GENERIC cd /usr/src/sys/arch/`machine`/compile/GENERIC make clean && make depend && make make install touch new_kernel_available.000 reboot NB: Once I have this squared away, I plan to comment out the checkout lines and just retain update. I have a companion script, that is run at boot up time. That script, will test the presence of a file "new_kernel_available.000". If one is present, it will re-compile the userland objects, else it will not. If userland is compiled successfully, my script will delete my flag file "new_kernel_avilable.000", so that subsequent reboots, do not force user land re-compile. In the above script, please tell me where am i going wrong? Why do I not get the latest patches? Thanks. Sincerely, Greg Morgan. |
Tags |
open bsd 4.5, patch, stable branch |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Uname still reports 7.0 release | maxrussell | FreeBSD Installation and Upgrading | 6 | 4th May 2009 12:49 PM |
namp show me a 1720 open port ?? | killa74 | OpenBSD Security | 11 | 11th February 2009 02:55 PM |
mplayer do not show subtitle | mfaridi | OpenBSD Packages and Ports | 3 | 12th November 2008 05:41 AM |
Why does smartctl show my temperature threshold is 0? | PeterSteele | FreeBSD General | 0 | 25th August 2008 03:33 PM |
howto change 'uname -a' after base system U/G | fallen | FreeBSD Installation and Upgrading | 8 | 16th July 2008 01:24 AM |