Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Apr 2006 22:13:10 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Jonathan Horne <freebsd@dfwlp.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: custom kernel file question
Message-ID:  <20060420191310.GA3433@gothmog.pc>
In-Reply-To: <36859.208.11.134.3.1145559685.squirrel@mail.dfwlp.com>
References:  <36859.208.11.134.3.1145559685.squirrel@mail.dfwlp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2006-04-20 14:01, Jonathan Horne <freebsd@dfwlp.com> wrote:
> here is a silly one, which may deserve a chuckle from my peers :)
>
> what am i doing that zaps my custom kernel config file?  i compiled a new
> one the day i built this box, but now i return to /usr/src/sys/i386/conf/,
> and my file isnt there anymore!

You run CVSup with the `*default delete' option enabled in your supfile.

> what did i do that removed it, so i can avoid (or safeguard against) this
> action in the future?

Keep your kernel config outside the /usr/src/sys/i386/conf tree and
symlink to it every time you build.

        # cd /usr/src/sys/i386/conf
	# ln -s /root/kernconf/GIORGOS
	# cd /usr/src
	# make KERNCONF=GIORGOS buildworld buildkernel




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