Le mardi 12 octobre 2010, à 12:06 +0200, Michael Matz a écrit :
On Tue, 12 Oct 2010, Vincent Untz wrote:
Hrm, right. We probably want: /emul/ia32-linux/usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
[I think I now understand what you want to achieve in the %post, you really want to call that program redirecting the output]
The above will overwrite /etc/gtk-2.0/gtk.immodules from the normal installed libgtk2 package. I think you'd rather want to write to /emul/ia32-linux/etc/gtk-2.0/gtk.immodules. FYI: the i?86 emulation on ia64 is somewhat special: the kernel implicitely prepends the /emul/ia32-linux to all file opens with absolute path (and if not found retries without that prefix), i.e. /emul/ia32-linux acts like an implicit chroot for x86 programs on ia64.
Hence x86 gtk2 programs from /emul/ia32-linux, when trying to open /etc/gtk-2.0/gtk.immodules will first search for /emul/ia32-linux/etc/gtk-2.0/gtk.immodules.
I didn't know that. Thanks, that makes things much easier. Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org