Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Oct 2001 08:45:33 -0700 (PDT)
From:      Luigi Rizzo <rizzo@aciri.org>
To:        hackers@freebsd.org
Subject:   compiling kernels from readonly source trees ?
Message-ID:  <200110021545.f92FjXs25805@iguana.aciri.org>

next in thread | raw e-mail | index | archive | help
[Bcc to -small as someone there might have had similar problems]

Hi,
I was trying to modify the picobsd build scripts so that the source
tree is entirely readonly. For the most part of it i think
i managed, the only missing part seems to be compilation of
new kernels.

config supports the "-d" command to set the destination directory,
but it appears that it insists on the config file being in
${SYS}/${ARCH}/conf/ as it derives other paths from the
current directory, such as

	...
	if (realpath("../..", srcdir) == NULL)
	...
	(void) snprintf(fname, sizeof(fname), "../../conf/options");

and maybe more places like this.
Am I wrong ? And if not, is there any plan to make config
handle config files in other places than  ${SYS}/${ARCH}/conf ?

	cheers
	luigi
----------------------------------+-----------------------------------------
 Luigi RIZZO, luigi@iet.unipi.it  . ACIRI/ICSI (on leave from Univ. di Pisa)
 http://www.iet.unipi.it/~luigi/  . 1947 Center St, Berkeley CA 94704
 Phone: (510) 666 2927
----------------------------------+-----------------------------------------


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




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