[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, [EMAIL PROTECTED]  . 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to