misc/151696: [nanobsd] [patch] nanobsd.sh doesn't run
"make_conf_build" if world build is supressed and kernel
build is not
Lev Serebryakov
lev at FreeBSD.org
Sun Oct 24 18:40:10 UTC 2010
>Number: 151696
>Category: misc
>Synopsis: [nanobsd] [patch] nanobsd.sh doesn't run "make_conf_build" if world build is supressed and kernel build is not
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Oct 24 18:40:10 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Lev Serebryakov
>Release: FreeBSD 8.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD vmware-8-32.home.serebryakov.spb.ru 8.1-STABLE FreeBSD 8.1-STABLE #1: Wed Oct 20 18:55:10 MSD 2010 root at vmware-8-32.home.serebryakov.spb.ru:/usr/obj/usr/src/sys/GENERIC i386
>Description:
nanobsd.sh doesn't create build make.conf if world build is supressed (-w option) and kernel build is required.
>How-To-Repeat:
Make full run of nanobsd.sh, remove make.conf.build, run "nanobsd.sh -w" to rebuild kernel.
>Fix:
--- nanobsd.sh.orig 2010-10-24 22:20:07.000000000 +0400
+++ nanobsd.sh.bugfix.cfg 2010-10-24 22:16:37.000000000 +0400
@@ -867,6 +867,9 @@
fi
if $do_kernel ; then
+ if ! $do_world ; then
+ make_conf_build
+ fi
build_kernel
else
pprint 2 "Skipping buildkernel (as instructed)"
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list