xz kernel modules (Re: [packages/kernel] - updated config)
Jan Rękorajski
baggins at pld-linux.org
Tue Jan 27 09:04:28 CET 2015
On Mon, 26 Jan 2015, Elan Ruusamäe wrote:
> On 26.01.2015 22:14, Elan Ruusamäe wrote:
> >
> > so we need to update run time kmod dependency as baggins updated only
> > compile time dependency:
> > http://git.pld-linux.org/?p=packages/kernel.git;a=commitdiff;h=2910a805af715417c35d6061f5b56f8362158e89
>
> how this xz compressed modules is supposed to work in pld?
>
> so appears kernel.spec already has "Requires: kmod >= 12-2" from
> earlier times.
> (our kmod.spec has --enable-xz from first submission, not clear which
> kmod version actually supports xz compressed modules)
All of them for proctical purposes.
> but, kmod does not depend on xz at all runtime:
> $ rpm -q kmod
> kmod-19-1.i686
> $ rpm -q kmod --requires|grep -c xz
> 0
xz libs come under lzma name.
$ rpm -ql xz-devel | grep lib
/usr/lib64/liblzma.la
/usr/lib64/liblzma.so
/usr/lib64/pkgconfig/liblzma.pc
$ rpm -q kmod --requires|grep -c lzma
2
>
> kmod is known to build stuff statically, but there is no xz-static in BR
> of kmod.spec.
>
> so... we're just playing on luck everybody have xz installed, or?
Kmod is properly linked wuth xz/lzma:
BuildRequires:▸ xz-devel >= 1:4.99
$ ldd /sbin/kmod
linux-vdso.so.1 (0x00007fffc03de000)
liblzma.so.5 => /lib64/liblzma.so.5 (0x00007fc2271b1000)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libz.so.1 => /lib64/libz.so.1 (0x00000038b0800000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fc226f94000)
libc.so.6 => /lib64/libc.so.6 (0x00007fc226bed000)
/lib64/ld-linux-x86-64.so.2 (0x00007fc2273d7000)
Thanks for fixing stripping/compression issue.
--
Jan Rękorajski | PLD/Linux
SysAdm | baggins<at>pld-linux.org | http://www.pld-linux.org/
More information about the pld-devel-en
mailing list