Simplify steps necessary to cross-install -CURRENT onto a

separate partition.  (Take advantage of "make distribute"
installing /boot/device.hints.)
This commit is contained in:
Ruslan Ermilov 2005-02-23 20:37:11 +00:00
parent 9d8993bbc5
commit 3ecf3bdd6b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=142326

View File

@ -184,14 +184,12 @@ COMMON ITEMS:
<make sure you have good level 0 dumps>
<boot into -stable>
make buildworld
make buildkernel KERNCONF=YOUR_KERNEL_HERE
<maybe newfs current's root partition>
<mount current's root partition on directory ${CURRENT_ROOT}>
make installworld DESTDIR=${CURRENT_ROOT}
make buildkernel KERNCONF=YOUR_KERNEL_HERE
cp src/sys/${ARCH}/conf/GENERIC.hints \
${CURRENT_ROOT}/boot/device.hints # as needed
make installkernel KERNCONF=YOUR_KERNEL_HERE DESTDIR=${CURRENT_ROOT}
cd src/etc; make distribution DESTDIR=${CURRENT_ROOT} # if newfs'd
make installkernel KERNCONF=YOUR_KERNEL_HERE DESTDIR=${CURRENT_ROOT}
cp /etc/fstab ${CURRENT_ROOT}/etc/fstab # if newfs'd
<edit ${CURRENT_ROOT}/etc/fstab to mount "/" from the correct partition>
<reboot into current>