Why we need redhat_lsb_trigger.c in redhat-lsb package?

Bill Nottingham notting at redhat.com
Wed Mar 14 16:54:07 UTC 2012


Niels de Vos (devos at fedoraproject.org) said: 
> >> %triggerpostun -p <lua> -- glibc
> >> LDSO = "/usr/lib/ld.so"
> >> LSBLDSO = "/usr/lib/ld." + LSB_VERSION + ".so"
> >> %ifarch ia64
> >> LDSO = "/emul/ia32-linux/lib" + LSBLDSO
> >> %fi
> >> posix.symlink(LDSO, LSBLDSO)
> >
> > That is not equivalent.  is_ia64 () is true in the statically linked
> > binary for %ifarch %{ix86} if running on the ia64 CPU (software emulated).
> 
> Aha, so is_ia64() does some checks and that makes the decision to have
> the symlink point to one ld.so or the other.
> If those checks can be written in lua, replacing redhat_lsb_trigger.c
> would make sense.

Well, it's not as if ia64 is supported in current Fedora or RHEL releases,
so those bits could just be removed...

Bill


More information about the devel mailing list