mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-25 11:37:56 +00:00
Recommend using make kernel for current -> current upgrades. No reason
to have multiple commands for that. Use relative paths into the src tree consistantly in the instructions. Fix minor nits that have crept into things. # is preseedrandom still necessary?
This commit is contained in:
parent
4cf67afe37
commit
6586253a61
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=134304
17
UPDATING
17
UPDATING
@ -1625,11 +1625,10 @@ COMMON ITEMS:
|
||||
<make sure you have good level 0 dumps>
|
||||
<maybe fix /etc/fstab> [7]
|
||||
make buildworld
|
||||
make buildkernel KERNCONF=YOUR_KERNEL_HERE
|
||||
make installkernel KERNCONF=YOUR_KERNEL_HERE
|
||||
make kernel KERNCONF=YOUR_KERNEL_HERE
|
||||
[1]
|
||||
<reboot in single user> [3]
|
||||
/etc/rc.d/preseedrandom [10]
|
||||
src/etc/rc.d/preseedrandom [10]
|
||||
mergemaster -p [5]
|
||||
make installworld
|
||||
mergemaster [4]
|
||||
@ -1650,15 +1649,15 @@ COMMON ITEMS:
|
||||
<mount current's root partition on directory ${CURRENT_ROOT}>
|
||||
make installworld DESTDIR=${CURRENT_ROOT}
|
||||
make buildkernel KERNCONF=YOUR_KERNEL_HERE
|
||||
cp /usr/src/sys/${ARCH}/conf/GENERIC.hints \
|
||||
cp src/sys/${ARCH}/conf/GENERIC.hints \
|
||||
${CURRENT_ROOT}/boot/device.hints # as needed
|
||||
make installkernel KERNCONF=YOUR_KERNEL_HERE DESTDIR=${CURRENT_ROOT}
|
||||
cd /usr/src/etc; make distribution DESTDIR=${CURRENT_ROOT} # if newfs'd
|
||||
cd src/etc; make distribution DESTDIR=${CURRENT_ROOT} # if newfs'd
|
||||
cp /etc/fstab ${CURRENT_ROOT}/etc/fstab # if newfs'd
|
||||
<edit ${CURRENT_ROOT}/etc/fstab to mount "/" from the correct partition>
|
||||
<reboot into current>
|
||||
<do a "native" rebuild/install as described in the previous section>
|
||||
<maybe install compatibility libraries from /usr/src/lib/compat>
|
||||
<maybe install compatibility libraries from src/lib/compat>
|
||||
<reboot>
|
||||
|
||||
|
||||
@ -1682,7 +1681,7 @@ COMMON ITEMS:
|
||||
cd sys/boot ; make STRIP="" install [6]
|
||||
[1]
|
||||
<reboot in single user> [3]
|
||||
/usr/src/etc/rc.d/preseedrandom [10]
|
||||
src/etc/rc.d/preseedrandom [10]
|
||||
mergemaster -p [5]
|
||||
rm -rf /usr/include/g++
|
||||
make installworld
|
||||
@ -1713,7 +1712,7 @@ COMMON ITEMS:
|
||||
fsck -p
|
||||
mount -u /
|
||||
mount -a
|
||||
cd /usr/src
|
||||
cd src
|
||||
adjkerntz -i # if CMOS is wall time
|
||||
Also, when doing a major release upgrade, it is required that
|
||||
you boot into single user mode to do the installworld.
|
||||
@ -1765,7 +1764,7 @@ COMMON ITEMS:
|
||||
using your existing software for a while.
|
||||
|
||||
[10] In order to create temporary files, /dev/random must be
|
||||
initialized by feeding data into it. /usr/src/etc/rc.d/preseedrandom
|
||||
initialized by feeding data into it. src/etc/rc.d/preseedrandom
|
||||
takes care of this.
|
||||
FORMAT:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user