DragonFly BSD
DragonFly submit List (threaded) for 2005-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: make upgrade and DESTDIR (Re: ln -> ${LN} conversion)


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Fri, 8 Jul 2005 12:07:51 +0200

On 08.07.2005, at 11:19, YONETANI Tomokazu wrote:
When you're installing from an older system(-RELEASE, for example)
using DESTDIR, `make upgrade' fails because it uses older <sys.mk> in
the installing system, rather than from the source tree or from
$DESTDIR/share/mk. If I specify the share/mk in the source tree using
MAKEFLAGS, it seems to work fine.
shouldn't make upgrade be run *after* installworld? (ah, the comment
also states "post-installworld"). not sure if we should introduce a
hack then.
Hmm. Is `make upgrade' run before or after installworld in the following
example:
# cd /usr/src
# cvs update -dP
# make buildworld
# export DESTDIR=/alt
# make installworld && make upgrade


In my opinion `make upgrade' is applied to the post-installworld
world under /alt, so there shouldn't be a problem.

ah, it was too soon, I didn't recognize the DESTDIR. you are right. now do we use DESTDIR/usr/share/mk or .CURDIR/share/mk? :)


cheers
  simon

--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low $$$ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \

Attachment: PGP.sig
Description: This is a digitally signed message part



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]