On Mon, Mar 31, 2008 at 9:53 AM, Randy McMurchy
<[EMAIL PROTECTED]> wrote:
>
>  I've almost completed an LFS Development build using DESTDIR (or whatever
>  else if the package doesn't support DESTDIR) style installation. Though
>  I might hit some bumps in the last few remaining packages, I'm writing
>  now to see if there is any interest in creating an LFS branch for this
>  type of installation.

Cool:) I am also doing essentially the same thing.

>
>  I'm not trying to push this on anyone, I'm only saying that I can
>  help if the community sees this as a direction we may go towards one
>  day. Many others including Dan, Tushar, et. al. may be willing to
>  assist or contribute as well.
>

I most certainly would vote for a branch with the DESTDIR style of
installation. I am already in the process creating a PM for my
purposes. If somebody is interested, check out my scripts at
<http://anduin.linuxfromscratch.org/~tushar/downloads/>. They are
still a WiP. I am planning to create an online presence for the PM at
<http://ttpm.sarovar.org/>.

Given that there are so many personal preferences, IMO including a PM
in the book is not prudent. But what the book can probably include is
to have commands to install the pkg into DESTDIR. A typical pkg page
in the book would be as follows:
   * Prepare Source commands
   * Compile commands
   * Test pkg commands
   * Install pkg into DESTDIR commands
   * Pre Relocation commands
   * Post Relocation commands
   * Uninstall commands.

The general page that explains how to unpack the source would also
include how to relocate the source from DESTDIR to /.

Someone who does not want to use a package manager would just use the
commands in the book as is and even without a PM, would get the
following features:
* Allow upgrade of libraries in use.
* Ability to figure out what the package includes before installing it
and to prevent relocation if something goes wrong during the
installation.

-- 
Tushar Teredesai
 mailto:[EMAIL PROTECTED]
 http://www.linuxfromscratch.org/~tushar/
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to