build - Clarify instalkernel requirements when upgrading /boot
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 24 Sep 2010 07:16:06 +0000 (00:16 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 24 Sep 2010 07:16:06 +0000 (00:16 -0700)
* When upgrading a system from the old /boot format to the new /boot
  format clarify the error message when someone tries to install a
  new kernel onto an old /boot.

  It now indicates specifically suggests doing a buildworld / installworld
  sequence first.

sys/conf/kern.post.mk

index 6d67eb6..80cf7ca 100644 (file)
@@ -167,7 +167,9 @@ kernel-installable:
        @if [ ! -f ${DESTDIR}/boot/dloader.rc ]; then \
                echo "You need to install a new ${DESTDIR}/boot before you"; \
                echo "can install a new kernel, kernels are now installed"; \
-               echo "into a subdirectory along with their modules"; \
+               echo "into a subdirectory along with their modules."; \
+               echo "You can do this with a buildworld / installworld"; \
+               echo "sequence."; \
                exit 1; \
        fi
        @exit 0