tech-pkg archive

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

Re: ultimate goal of DESTDIR support?




To: tech-pkg%NetBSD.org@localhost

Subject: Re: ultimate goal of DESTDIR support?

From: "Johnny C. Lam" <jlam%pkgsrc.org@localhost>

Date: Wed, 09 Jan 2008 18:42:21 -0500


Klaus Heinz wrote:


at the moment the default mode of installation pkgsrc supports is the
"traditional" one: install files into live system as user "root" and create
package from there.

Late in 2006 Joerg Sonnenberger added support for installation to a
directory DESTDIR: copy files as non-root user to temporary directory
DESTDIR, create binary package from those files and use pkg_add to add the
package to the live system.

Although I do not remember seeing this explicitly said anywhere, I always
had the impression that the intent of DESTDIR support was to get away
from the current (traditional) method, ie some day in the future pkgsrc
would use DESTDIR installations by default.

Is this impression correct? Or is "DESTDIR" installation just a
nice-to-have feature and takes second place in importance to the
traditional method?


Your impression is correct, alth
ough I don't believe the pkgsrc-pmc has  made any formal announcement of this fact. Purely from a technical  standpoint, it is much nicer to have a single way to install packages --  the DESTDIR approach is to only use binary packages -- instead of the  parallel methods currently used by the "traditional" method that depend  on whether you are building from /usr/pkgsrc or if you are installing  from a binary package.

        Cheers,

        -- Johnny C. Lam



Follow-Ups:

Re: ultimate goal of DESTDIR support?
From: Klaus Heinz


References:

ultimate goal of DESTDIR support?
From: Klaus Heinz




Prev by Date: Re: ultimate goal of DESTDIR support?

Next by Date: Re: ultimate goal of DESTDIR support?

Previous by Thread: Re: ultimate goal of DESTDIR support?

Next by Thread: Re: ultimate goal of DESTDIR support?

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index