* Move /kernel to /boot/kernel and /modules to /boot/modules.
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 1 Sep 2008 19:39:49 +0000 (19:39 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 1 Sep 2008 19:39:49 +0000 (19:39 +0000)
commitf4e821f3d4fe27827b527dc619f7cc51805285be
tree5e7bc2ef30ea23f0650794d921d06cc4cd3e4512
parent657a087560a9dac28c0563836e56d7a8779cef82
* Move /kernel to /boot/kernel and /modules to /boot/modules.

* Adjust the loader to check /boot before / (it still checks both).  Note
  that '/' from the point of view of the loader might be /boot from the
  point of view of the running kernel if /boot is a boot partition.

* Adjust make upgrade to move /kernel to /boot/kernel and /modules to
  /boot/modules.

* Installkernel now requires that you have built and installed a new world
  and done an upgrade, and will refuse to install if you haven't.

  This is so we don't end up with four copies of everything in / and
  potentially fill it up.  Plus it clears up any confusion as to which
  kernel the loader is loading.

NOTE: FreeBSD uses /boot/kernel/{kernel,modules}.  We will not be doing that.
To expand into multiple kernels our intention is to use /boot/kernel.NAME and
/boot/modules.NAME instead, which reduces the directory level clutter.
etc/Makefile
etc/mtree/BSD.root.dist
share/mk/bsd.own.mk
sys/boot/common/help.common
sys/boot/common/loader.8
sys/boot/common/module.c
sys/boot/forth/loader-bootp.conf
sys/boot/forth/loader.conf
sys/conf/kern.post.mk
sys/conf/kern.pre.mk
sys/kern/kern_linker.c