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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 14, 2012 at 10:08:32AM +0100, Niels de Vos wrote:
> On 03/13/2012 07:04 AM, Xibo Ning wrote:
> The best solution would probably be to replace the %triggerpostun
> with a lua scriptlet, something like this (totally untested and
> you'll need to add the LSB-version somewhere too):
> 
> %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).

	Jakub
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux