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

Bruce Dubbs bruce.dubbs at gmail.com
Sat Jan 18 14:04:10 PST 2014


Armin K. wrote:
> Well if it works, why not then. Just one minor suggestion below
>

>>
>> Chapter 6: e2fsprogs
>>
>> mkdir -v build
>> cd build
>> export LD_LIBRARY_PATH=/tools/lib
>> LDFLAGS="-L /tools/lib -luuid -lblkid" \
>> CFLAGS="-I /tools/include"         \
>> ../configure --prefix=/usr         \
>>                 --with-root-prefix="" \
>>                 --enable-elf-shlibs   \
>>                 --disable-libblkid    \
>>                 --disable-libuuid     \
>>                 --disable-uuidd       \
>>                 --disable-fsck
>
> Can't you just symlink the libraries to /lib as it's being done with
> several other libraries/binaries?

That's possible, but when?  In Chapter 5 we haven't created the 
directories in the chroot / yet.  Doing that in Chapter 5 breaks up the 
flow of Chapter 6.

That said, moving both udev and util-linux to before e2fsprogs in 
Chapter 6 may simplify things.  I'll try that.

   -- Bruce



More information about the lfs-dev mailing list