bin/163997: mergemaster(8): harcoded source tree path in 'mergemaster -p'

Коньков Евгений kes-kes at yandex.ru
Wed Jan 11 00:07:21 UTC 2012


Здравствуйте, Dougb.

Вы писали 11 января 2012 г., 1:43:32:

dFo> Synopsis: mergemaster(8): harcoded source tree path in 'mergemaster -p'

dFo> State-Changed-From-To: open->closed
dFo> State-Changed-By: dougb
dFo> State-Changed-When: Tue Jan 10 23:41:44 UTC 2012
dFo> State-Changed-Why: 

dFo> You need to use the -m option.

dFo> If you do non-standard things, you can't expect the standard instructions
dFo> to apply. :)

dFo> Doug

dFo> http://www.freebsd.org/cgi/query-pr.cgi?pr=163997

oh, you are right, I miss it
     -m /path/to/sources
                 Specify the path to the directory where you want to do the
                 make(1).  (In other words, where your sources are, but -s was
                 already taken.)  In previous versions of mergemaster you
                 needed to specify the path all the way to src/etc.  Starting
                 with r186678 you only need to specify the path to src.
                 mergemaster will convert the path for you if you use the old
                 method.

but, I think, it would be nice if:
first check ./ for source tree and use it.

because of making world, kernel
make buildworld
make buildkernel
assums you are in /path/to/source directory
so it will be right to assum that you are in /path/to/source directory
and for 'mergemaster -p'

in other world: assume ./ as srouce directory instead of /usr/src


-- 
С уважением,
 Коньков                          mailto:kes-kes at yandex.ru



More information about the freebsd-bugs mailing list