Date: Sun, 24 Oct 2010 22:37:27 +0400 (MSD) From: Lev Serebryakov <lev@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: misc/151696: [nanobsd] [patch] nanobsd.sh doesn't run "make_conf_build" if world build is supressed and kernel build is not Message-ID: <20101024183727.9876C13DF46@ftp.translate.ru> Resent-Message-ID: <201010241840.o9OIeAqC030328@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101024183727.9876C13DF46>