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

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Fri Jul 8 03:08:02 PDT 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00008.pgp
Type: application/octet-stream
Size: 186 bytes
Desc: "Description: This is a digitally signed message part"
URL: <http://lists.dragonflybsd.org/pipermail/submit/attachments/20050708/1622dfb0/attachment-0019.obj>


More information about the Submit mailing list