From nobody@FreeBSD.org  Thu Nov  7 22:16:27 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id 0ABADDDD
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  7 Nov 2013 22:16:27 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id EB0612223
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  7 Nov 2013 22:16:26 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rA7MGQGU050033
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 7 Nov 2013 22:16:26 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rA7MGQuF050030;
	Thu, 7 Nov 2013 22:16:26 GMT
	(envelope-from nobody)
Message-Id: <201311072216.rA7MGQuF050030@oldred.freebsd.org>
Date: Thu, 7 Nov 2013 22:16:26 GMT
From: Bertram Scharpf <software@bertram-scharpf.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: /boot/{menu,loader}.rc do not get updated by "make installkernel"
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         183765
>Category:       kern
>Synopsis:       /boot/{menu,loader}.rc do not get updated by "make installkernel"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 07 22:20:00 UTC 2013
>Closed-Date:    
>Last-Modified:  Fri Dec 20 20:40:01 UTC 2013
>Originator:     Bertram Scharpf
>Release:        9.2
>Organization:
>Environment:
FreeBSD 9.2-STABLE #0: Wed Oct 30 20:21:00 CET 2013   /usr/obj/usr/src/sys/GENERIC  i386
>Description:
FreeBSD 9.2 provides newer versions for the files
"/boot/menu.rc" and "/boot/loader.rc". These will not be installed.

  # cd /usr/src
  # make installkernel

  # ls -lat /usr/src/sys/boot/forth/menu.rc /boot/menu.rc
  # diff    /usr/src/sys/boot/forth/menu.rc /boot/menu.rc

There was a question about this on the mailing list in July, but
the guy who asked did not receive one single answer. Before
encountering the same treatment, I decided to make a bug report
out of it.

After all, it is a behaviour no one could instinctively expect.

>How-To-Repeat:
Install FreeBSD 9.1. Then upgrade to 9.2 as descibed in
<http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html>.

>Fix:
The decision is made in "/usr/src/sys/boot/$arch/loader/Makefile"
in about line 100.

Instead of a fix, maybe the handbook should be extended by
a pointer to the problem.



>Release-Note:
>Audit-Trail:

From: Bertram Scharpf <software@bertram-scharpf.de>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/183765: /boot/{menu,loader}.rc do not get updated by 'make
 installkernel'
Date: Thu, 7 Nov 2013 23:29:10 +0100

 Another possibility would be to include the files into the
 "make distribution" procedure.

From: Bertram Scharpf <lists@bertram-scharpf.de>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/183765: /boot/{menu,loader}.rc do not get updated by 'make
 installkernel'
Date: Fri, 22 Nov 2013 16:47:18 +0100

 Reminder: Not a single reaction in more than two weeks.
 
 -- 
 Bertram Scharpf
 Stuttgart, Deutschland/Germany
 http://www.bertram-scharpf.de

From: Bertram Scharpf <lists@bertram-scharpf.de>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/183765: /boot/{menu,loader}.rc do not get updated by "make
 installkernel"
Date: Sun, 15 Dec 2013 00:34:07 +0100

 Reminder: Not a single reaction in more than 5 weeks.

From: Adam McDougall <mcdouga9@egr.msu.edu>
To: bug-followup@FreeBSD.org, software@bertram-scharpf.de
Cc:  
Subject: Re: kern/183765: /boot/{menu,loader}.rc do not get updated by "make
 installkernel"
Date: Fri, 20 Dec 2013 15:34:23 -0500

 On 12/14/2013 18:40, Bertram Scharpf wrote:
 > The following reply was made to PR kern/183765; it has been noted by GNATS.
 > 
 > From: Bertram Scharpf <lists@bertram-scharpf.de>
 > To: bug-followup@FreeBSD.org
 > Cc:  
 > Subject: Re: kern/183765: /boot/{menu,loader}.rc do not get updated by "make
 >  installkernel"
 > Date: Sun, 15 Dec 2013 00:34:07 +0100
 > 
 >  Reminder: Not a single reaction in more than 5 weeks.
 
 make installkernel only installs the kernel and kernel modules and
 nothing else.  To me, it lives up to its name since /boot/loader.rc is
 not a kernel.  make installworld installs the other files under /boot,
 but doesn't update boot sector code.  What is the problem that is being
 encountered?  Is make installworld not installing the files you expect?
  (Step 6).  Or is the reboot failing after step 4 because
 /boot/{menu,loader}.rc are not updated?
>Unformatted:
