Pierre Labastie wrote:
> Le 27/01/2012 19:46, Bruce Dubbs a �crit :

> The beginning of the diff between the two ld.so.cache
> said that there were 93 libs in ld.so.cache at the end of
> pass 1, and 117 at the end of pass 2. And then
> I only listed the 24 new libs. 

OK, I misunderstood.

> Well, the reason why grub does not find liblzma is much simpler
> anyway: grub is built before xz!

It should find xz from Chapter 5.  The liblzma.so.5.0.3 is in /tools and 
it does have the lzma_code reference.

There are a few ways to fix this.  The easiest is to add /tools to a 
LIBRARY_PATH environment variable.  We could also just append
  #define HAVE_LIBLZMA 1" >>confdefs.h
after configure in GRUB.  We could also move xz to be before GRUB.

> Not a big deal, unless you want to create compressed boot images
> (the only possible compression is xz). But shows up on ICA.

The kernel creates the compressed boot images.  GRUB only copies a set 
of bits into memory.  I think GRUB wants xz to access a potential 
compressed file system.

I agree that it's not a big deal.  The only place it's used is in 
util/grub-mkimage.c.  There is a command line option:

-C, --compression=(xz|none|auto)  choose the compression to use

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to