[lfs-dev] Putting a copy util-linux in /tools

Armin K. krejzi at email.com
Sat Jan 18 15:52:05 PST 2014


On 01/19/2014 12:45 AM, Bruce Dubbs wrote:
> Armin K. wrote:
> 
>>> I'm glad you reminded me of that.  I suppose I could avoid a lot of
>>> changes if we made the symlinks, including one for
>>> /usr/include/{blkid,uuid}/. I'll keep investigating.
>>>
>>
>> You don't really want to do this. If /usr/include/blkid is a symlink to
>> /tools/include/blkid, make install in chapter6 might install the headers
>> in /tools and that's not what we want. Furthermore, make install might
>> fail because it wants to create a directory but there's a symlink in
>> place. Special case is just to symlink the header files if there aren't
>> many to a directory in /usr/include.
> 
> Yes, I thought about that.  An easy solution would be to just remove the 
> symlinks just before the install phase of util-linux.
> 
>    -- Bruce
> 

Given that /usr/include/uuid contains uuid.h and /usr/include/blkid
contains blkid.h, it might not be hard to symlink the headers in a
previously created directories from /usr/include/{blk,uu}id/{blk,uu}id.h
to  /tools/include/{blk,uu}id/{blk,uu}id.h

It's your call. I don't have anything against your suggestion though.

-- 
Note: My last name is not Krejzi.



More information about the lfs-dev mailing list