Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Jul 2002 06:23:30 -0700
From:      Doug Barton <DougB@FreeBSD.org>
To:        Douglas Denault <doug@safeport.com>
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re: conf/40102: mergemaster should use the currend working directoryas  the default for -m
Message-ID:  <3D22FAD2.CEECC961@FreeBSD.org>
References:  <Pine.BSF.4.21.0207020115040.210-100000@pemaquid.safeport.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Douglas Denault wrote:
> 
> I understand that (mergemaster is your baby) and a fine piece of work
> it is too.

Thanks. 

> 1) man mergemaster does not specify that the default is a constant.

The script uses /usr/src/etc/Makefile to build a temporary root environ-
ment from / down, populating that environment with the various files.

I think that's pretty clear. 

> 2) to do the build and install, you MUST be in the "src" directory that
>    you cvsup'd to,

This is not correct. I think that you have something badly broken in
your environment. Do you have a ~/.mergemasterrc file, or
/etc/mergemaster.rc? I think that you have created something non-default
that is interfering with how mergemaster is supposed to work.

> 3) If you use NFS to build multiple systems, you (seemingly) must mount
>    the src directory on the target system with the same name as that of
>    the build system. There has been a lot of discussion to the effect
>    that "should not" be the case, but as far as I know, it is.

You are confusing the process that mergemaster uses with the process
that make installworld uses. For the latter, you must have the same
paths on the system that mounts the files as you did on the system that
created them. For mergemaster, you can point it at any directory with
the -m option and it will work; or if your source is in /usr/src, you
can just type 'mergemaster' and it'll work. 
 
> 4) Lastly (and the killer for me) is that the process, mergemaster'ing,
>    works if /usr/src is empty. 

This is one thing that makes me believe that you have something
non-standard in your environment, since this definitely won't work. If
you have no /usr/src/etc/Makefile, mergemaster will fail without at
least -m. 

Doug

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




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