Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Feb 2003 07:39:14 +0100
From:      Cliff Sarginson <cls@raggedclown.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: installkernel first?
Message-ID:  <20030221063914.GD96171@raggedclown.net>
In-Reply-To: <1045807067.3e55bfdbd5f75@webmail.adam.com.au>
References:  <1045718989.3e5467cdd1dee@webmail.adam.com.au> <20030220153710.GA19633@fif.office.inext.hu> <1045807067.3e55bfdbd5f75@webmail.adam.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 21, 2003 at 04:27:47PM +1030, bastill@adam.com.au wrote:
> Quoting Peter Hollaubek <fifteen@inext.hu>:
<snip>
> Not being familiar with sh (and not thinking too well either) I assumed that
> "make buildkernel # make installkernel" was two linked commands on the one line,
> wheras it should have been read as:
> # make buildkernel
> # make installkernel
> with the # simply indicating root prompt (Thanks, Sue).
> 
Yes, well # is the root prompt :). But it is also the start of a shell
comment ;).

make buildkernel && make installkernel

Means if and only if "make buildkernel" succeeds then do a "make
installkernel"
It is to do with the status a program terminates with (the exit status).

In practise doing a "make kernel" is ok as well, since that will build
and install it only if the build works, so achieving the same end.

> All-in-all there was actually nothing wrong (except my ignorance <g>)
> 
Naahh..ignorance is me never having learnt how to bang a nail straight
into a piece of wood.

I do recommend you study up a bit on the shell though.
Indenspensible knowledge I am afraid.

-- 
Regards
   Cliff Sarginson 
   The Netherlands

[ This mail has been checked as virus-free ]

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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