[OE-core] pango modules postinst issue

Andreas Müller schnitzeltony at googlemail.com
Mon Aug 20 14:20:54 UTC 2012


On Tue, Jul 31, 2012 at 5:01 PM, Andreas Müller
<schnitzeltony at googlemail.com> wrote:
> Hi,
>
> sorry fur disturbing again - but:
>
> When starting X on a maiden image I receive:
>
> No builtin or dynamically loaded modules were found.
> PangoFc will not work correctly.
> This probably means there was an error in the creation of:
>   '/etc/pango/pango.modules'
> You should create this file by running:
>   pango-querymodules > '/etc/pango/pango.modules'
>
> and have no fonts displayed. Followed the suggestion
>
> pango-querymodules > '/etc/pango/pango.modules'
>
> -> fonts are OK.
>
> I checked: Besides other pango modules my image contains
> pango-module-basic-x. In the postinst of this package I see
>
> #!/bin/sh
> if [ "x$D" != "x" ]; then
>   exit 1
> fi
>
> if ! [ -e $D/etc/pango ] ; then
>         mkdir -p $D/etc/pango
> fi
> /usr/bin/pango-querymodules > /etc/pango/pango.modules
>
> This looks OK so far ( besides that I would not have the $D in second part ).
>
> Additionally log.do_rootfs says:
>
> Configuring pango-module-basic-x.
> pango-module-basic-x.postinst returned 1, marking as unpacked only,
> configuration required on target.
>
> Any idea what is happening here?
>
I investigated this and found oe-core commit
ffe93e2a099e4cadb1829dc12a58a6d7bef9a5a7 for opkg-collateral. Besides
changing the configuration location it changes

-lists_dir ext /var/lib/ipkg
+lists_dir ext /var/lib/opkg

The patch attached for meta-angstrom fixes the pango-postinst issue
but I am not quite sure if this is a good solution, because it
reinvents parts of opkg-collateral. Why does angstrom replace
opkg-collateral? Wouldn't it be a better solution to append
opkg-collateral with angstrom feeds packages?

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-angstrom-feed-configs-add-opkg.conf-from-oe-core-opk.patch
Type: application/octet-stream
Size: 3294 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120820/3753854a/attachment-0002.obj>


More information about the Openembedded-core mailing list