Patchwork [0/1] gdk-pixbuf: fix the postinstall script failure when no icon is installed

login
register
mail settings
Submitter jackie huang
Date Aug. 9, 2012, 2:30 a.m.
Message ID <cover.1344479229.git.jackie.huang@windriver.com>
Download mbox
Permalink /patch/34109/
State New
Headers show

Pull-request

git://git.pokylinux.org/poky-contrib jhuang0/bug2905_gdk_0809

Comments

jackie huang - Aug. 9, 2012, 2:30 a.m.
From: Jackie Huang <jackie.huang@windriver.com>

If gtk+ is added to core-image-minimal, postinstall script failed on boot:

Running postinst /etc/rpm-postinsts/104...
gtk-update-icon-cache: No theme index file.
ERROR: postinst /etc/rpm-postinsts/104 failed.

This patch fixed the postinstall script to check for the icon
file first and not run the gtk-update-icon-cache if no icon
is installed.

[YOCTO #2905]

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
---
The following changes since commit 1e873271362b770381903098d46c4aec164d81de:

  automake: Fix version reference in path substitutions (2012-08-07 23:35:54 +0100)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib jhuang0/bug2905_gdk_0809
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jhuang0/bug2905_gdk_0809

Jackie Huang (1):
  gdk-pixbuf: fix the postinstall script failure when no icon is
    installed

 meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.1.bb |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)
Saul Wold - Aug. 16, 2012, 6:26 p.m.
On 08/08/2012 07:30 PM, jackie.huang@windriver.com wrote:
> From: Jackie Huang <jackie.huang@windriver.com>
>
> If gtk+ is added to core-image-minimal, postinstall script failed on boot:
>
> Running postinst /etc/rpm-postinsts/104...
> gtk-update-icon-cache: No theme index file.
> ERROR: postinst /etc/rpm-postinsts/104 failed.
>
> This patch fixed the postinstall script to check for the icon
> file first and not run the gtk-update-icon-cache if no icon
> is installed.
>
> [YOCTO #2905]
>
> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
> ---
> The following changes since commit 1e873271362b770381903098d46c4aec164d81de:
>
>    automake: Fix version reference in path substitutions (2012-08-07 23:35:54 +0100)
>
> are available in the git repository at:
>    git://git.pokylinux.org/poky-contrib jhuang0/bug2905_gdk_0809
>    http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jhuang0/bug2905_gdk_0809
>
> Jackie Huang (1):
>    gdk-pixbuf: fix the postinstall script failure when no icon is
>      installed
>
>   meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.1.bb |   10 ++++++++--
>   1 files changed, 8 insertions(+), 2 deletions(-)
>
Merged into OE-Core

Thanks
	Sau!