Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Nov 2011 18:29:06 +0100
From:      Damien Fleuriot <ml@my.gd>
To:        freebsd-questions@freebsd.org
Subject:   Re: Is it safe to interrupt (Ctrl + C) while building a port or kernel?
Message-ID:  <4EB2CF62.1070107@my.gd>
In-Reply-To: <201111031720.pA3HKkIq019121@mail.r-bonomi.com>
References:  <201111031720.pA3HKkIq019121@mail.r-bonomi.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On 11/3/11 6:20 PM, Robert Bonomi wrote:
>> From owner-freebsd-questions@freebsd.org  Thu Nov  3 12:10:08 2011
>> From: =?koi8-r?B?4c7Uz84g68zF09M=?= <rc5hack@yandex.ru>
>> To: freebsd-questions@freebsd.org
>> Date: Thu, 03 Nov 2011 21:10:19 +0400
>> Subject: Is it safe to interrupt (Ctrl + C) while building a port or kernel?
>>
>> Sometimes, while building process of some port or system kernel are in progress, you suddenly remember that you did something wrong and have to stop, solve your mistake and start one more time.
>>
>> Is it clear to interrupt the building process just by pressing Ctrl + <C>?
> 
> Yes.
> 
>> If it's so, do I need to run "make clean" before I start "make" one more time?
> 
> Authoritative answer:  "It depends".
> 
> On what you 'did wrong", and what it takes to fix it.
> 
> e.g.,  if you're building a kernel the 'classial' way, that is 'configure,
> make depend, cd , make',  and realize you left something out of the config
> file, after you edit the config file, you have to rerun _all_ those steps.
> 

Is it even advisable to build the kernel the "old" way ?

I feel safer with "cd /usr/src && make buildkernel"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EB2CF62.1070107>