diff options
author | Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com> | 2014-12-14 16:28:16 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-12-21 23:03:07 +0100 |
commit | 775129abe7ad3f117dcedc22949fc022e1bd3941 (patch) | |
tree | bf4675735d2a62ae86b63d803b42312800a4b125 /package/mysql/mysql-0001-configure-ps-cache-check.patch | |
parent | 0f3a8f561d48368da58dac0cfa5b2ab1821067e2 (diff) | |
download | buildroot-775129abe7ad3f117dcedc22949fc022e1bd3941.tar.gz buildroot-775129abe7ad3f117dcedc22949fc022e1bd3941.zip |
samba: Swap libnss_win*.so* files and symlinks
The libnss_wins and libnss_winbind libraries were installed in this way:
/lib/libnss_<service>.so
/lib/libnss_<service>.so.<major> -> /lib/libnss_<service>.so
This had been done like this in order to get something similar to the
other NSS libraries, which are usually installed in this way:
/lib/libnss_<service>-<version>.so
/lib/libnss_<service>.so.<major> -> /lib/libnss_<service>-<version>.so
However, besides these files, these other NSS libraries usually come
installed with:
/usr/lib/libnss_<service>.so -> /lib/libnss_<service>.so.<major>
This means that the NSS libraries follow the usual library installation
practice, i.e. that the non-versioned .so is a symlink to the versioned
.so, so that switching versions is easy. In the case of the NSS
libraries, the versioned .so is just also a symlink to a .so with a more
accurate version.
Hence, follow the same rules for libnss_win*.so*, and install these
libraries the other way around:
/lib/libnss_<service>.so -> /lib/libnss_<service>.so.<major>
/lib/libnss_<service>.so.<major>
This is also how these libraries are installed by a major OS like Ubuntu
14.10:
/lib/x86_64-linux-gnu/libnss_winbind.so -> libnss_winbind.so.2
/lib/x86_64-linux-gnu/libnss_winbind.so.2
/lib/x86_64-linux-gnu/libnss_wins.so -> libnss_wins.so.2
/lib/x86_64-linux-gnu/libnss_wins.so.2
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/mysql/mysql-0001-configure-ps-cache-check.patch')
0 files changed, 0 insertions, 0 deletions