Rebuild World?

Geffy

OSNN Veteran Addict
Joined
18 Mar 2002
Messages
7,805
I normally do a world/kernel build this way

Code:
# cd /usr/src
# make buildworld
# make buildkernel KERNCONF=KERNEL_CONF_FILE
# make installkernel KERNCONF=KERNEL_CONF_FILE
# shutdown -r now

boot into single user mode

Code:
# fsck -p
# mount -u /
# mount -a -t ufs
# swapon -a
# export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
# mergemaster -p
# cd /usr/src
# make installworld
# mergemaster
# shutdown -r now

as for when you should do it, well if you're upgrading from one version to another you should do it, or if you're updating for a security fix and it recommends doing a kernel and world update.
 

Dark Atheist

OSNN Veteran Addict
Political Access
Joined
8 Apr 2003
Messages
6,376
thanks geffy - one other question if i was to use csup -g -L2 -h cvsup.freebsd.org /usr/share/examples/cvsup/standard-supfile and get all the src files and did make buildworld, would that update all the installed base packages

eg update openssl from 0.9.8d to 0.9.8i ? as i have installed openssl from prts but the version still shows 0.9.8d
 

LordOfLA

Godlike!
Joined
2 Feb 2004
Messages
7,026
it would update your freebsd system to the latest source build :)

See the port options for how to overwrite the base install.
 

Dark Atheist

OSNN Veteran Addict
Political Access
Joined
8 Apr 2003
Messages
6,376
thanks lord - i think thats required reading best done in the morning :) - would that be in the handbook or the portsnap dir ?
 

Dark Atheist

OSNN Veteran Addict
Political Access
Joined
8 Apr 2003
Messages
6,376
i did look there but didn't see the install dir - guess i over looked it :)
 

LordOfLA

Godlike!
Joined
2 Feb 2004
Messages
7,026
It's probably in one of the higher level make files that drive the ports system then.
 

Members online

No members online now.

Latest profile posts

hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.
Terrahertz wrote on Electronic Punk's profile.
Yo fellas!
Electronic Punk wrote on Sazar's profile.
Where are you buddy?
Perris Calderon wrote on Electronic Punk's profile.
Hey EP! All good with me, applying for Microsoft MVP right now, should have done this a while ago.

Notifications don't work, I only found your response by coming back to hunt up some threads, if you want, give me your email address so we can keep in touch easier!

Forum statistics

Threads
61,997
Messages
673,419
Members
5,591
Latest member
nodee