diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
commit | c527fd1f14c27855a37f2e8ac5346ce8d940ced2 (patch) | |
tree | bb002c1fdf011c41dbd2f0927bed23ecb5f83c97 /scripts/postinst-intercepts/update_pixbuf_cache | |
download | poky-c527fd1f14c27855a37f2e8ac5346ce8d940ced2.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'scripts/postinst-intercepts/update_pixbuf_cache')
-rw-r--r-- | scripts/postinst-intercepts/update_pixbuf_cache | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/postinst-intercepts/update_pixbuf_cache b/scripts/postinst-intercepts/update_pixbuf_cache new file mode 100644 index 0000000000..95bf4f90a3 --- /dev/null +++ b/scripts/postinst-intercepts/update_pixbuf_cache | |||
@@ -0,0 +1,11 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | export GDK_PIXBUF_MODULEDIR=$D${libdir}/gdk-pixbuf-2.0/2.10.0/loaders | ||
4 | export GDK_PIXBUF_FATAL_LOADER=1 | ||
5 | |||
6 | PSEUDO_UNLOAD=1 qemuwrapper -L $D -E LD_LIBRARY_PATH=$D/${libdir}:$D/${base_libdir}\ | ||
7 | $D${bindir}/gdk-pixbuf-query-loaders \ | ||
8 | >$GDK_PIXBUF_MODULEDIR/../loaders.cache && \ | ||
9 | sed -i -e "s:$D::g" $GDK_PIXBUF_MODULEDIR/../loaders.cache | ||
10 | |||
11 | |||