All of lore.kernel.org
 help / color / mirror / Atom feed
* post-image-creation postinsts
@ 2011-05-02 15:12 Colin Walters
  2011-05-02 15:31 ` Mark Hatle
  2011-05-03 10:36 ` Richard Purdie
  0 siblings, 2 replies; 7+ messages in thread
From: Colin Walters @ 2011-05-02 15:12 UTC (permalink / raw)
  To: poky

Hi,

Currently from poky-bernard-5.0, in gdk-pixbuf_2.22.1.bb, we have:

postinst_pixbufloader () {
if [ "x$D" != "x" ]; then
    exit 1
fi

GDK_PIXBUF_MODULEDIR=${libdir}/gdk-pixbuf-2.0/${LIBV}/loaders
gdk-pixbuf-query-loaders --update-cache

test -x ${bindir}/gtk-update-icon-cache && gtk-update-icon-cache  -q
${datadir}/icons/hicolor
}

This results in a first-boot icon cache query in my image, which is
pretty lame since we could equally well do this after the image is
generated, and not on every computer that boots the image.

It seems to me we could add some mechanism for mounting the image
filesystem and running a script in there (guestfs?), or maybe an
automated QEMU boot, run the postinsts, and sync/shutdown?

Thoughts?


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-05-03 23:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-02 15:12 post-image-creation postinsts Colin Walters
2011-05-02 15:31 ` Mark Hatle
2011-05-03 10:36 ` Richard Purdie
2011-05-03 23:01   ` Colin Walters
2011-05-03 23:15     ` Richard Purdie
2011-05-03 23:22     ` Joshua Lock
2011-05-03 23:38       ` Mark Hatle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.