Support DESTDIR in LFS and jhalfs

DJ Lucas dj at linuxfromscratch.org
Fri Jul 30 18:03:05 PDT 2010


On 07/30/2010 12:09 PM, linux fan wrote:
> On 7/29/10, DJ Lucas <dj at linuxfromscratch.org> wrote:
>> Guys, based on the previous discussion on lfs-dev, I plan on doing a
>> custom book for LFS as a sample of what destdir might look like and I
> 
> This is most interesting!
> 
> Please excuse this nit pik,
> 
> /packages/grub != /package/grub
> 
> ========================================
> make DESTDIR="/packages/grub" install &&
> ...
> rm -rf /package/grub
> =========================================
> 
> Not so good for typomaniacs like everybody.
> 
> Maybe use a variable for all instances of "/packages" or something.

Yes, it was a quick and ugly mockup.  I didn't even know that grub
installed an info page when I wrote that.  When I start working on the
alternate book, I'll likely use an entity or variable, along with
version strings for the packaging directories.

-- DJ Lucas




More information about the alfs-discuss mailing list