From: Martin Jansa <martin.jansa@gmail.com>
To: Hongxu Jia <hongxu.jia@windriver.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 1/4] gtk-icon-cache.bbclass:fix support postrm at image creation time
Date: Thu, 17 Jan 2013 10:26:58 +0100 [thread overview]
Message-ID: <20130117092658.GA3067@jama> (raw)
In-Reply-To: <4dc1347ed4057656a542263878aeeadf768dd2e9.1358406049.git.hongxu.jia@windriver.com>
[-- Attachment #1: Type: text/plain, Size: 1475 bytes --]
On Thu, Jan 17, 2013 at 03:07:19PM +0800, Hongxu Jia wrote:
> The gtk_icon_cache_postrm failed at image creation time because ${D} is not
> assigned as the prefix of icondir.
Some packages are removed at image creation time? Why is postrm
executed?
And why don't use use $D in both cases (when empty and not empty) those
2 for cycles look the same.
Cheers,
> [YOCTO #3633]
>
> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
> ---
> meta/classes/gtk-icon-cache.bbclass | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/meta/classes/gtk-icon-cache.bbclass b/meta/classes/gtk-icon-cache.bbclass
> index 7c7dd78..4499782 100644
> --- a/meta/classes/gtk-icon-cache.bbclass
> +++ b/meta/classes/gtk-icon-cache.bbclass
> @@ -32,6 +32,15 @@ done
> }
>
> gtk_icon_cache_postrm() {
> +if [ "$D" != "" ]; then
> + for icondir in $D/usr/share/icons/* ; do
> + if [ -d $icondir ] ; then
> + gtk-update-icon-cache -qt $icondir
> + fi
> + done
> + exit 0
> +fi
> +
> for icondir in /usr/share/icons/* ; do
> if [ -d $icondir ] ; then
> gtk-update-icon-cache -qt $icondir
> --
> 1.7.10.4
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
next prev parent reply other threads:[~2013-01-17 9:42 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-17 7:07 [PATCH 0/4]fix support postrm/prerm at image creation time Hongxu Jia
2013-01-17 7:07 ` [PATCH 1/4] gtk-icon-cache.bbclass:fix support postrm " Hongxu Jia
2013-01-17 9:10 ` Laurentiu Palcu
2013-01-17 9:39 ` Hongxu Jia
2013-01-17 9:51 ` Laurentiu Palcu
2013-01-17 9:26 ` Martin Jansa [this message]
2013-01-17 7:07 ` [PATCH 2/4] update-rc.d:fix " Hongxu Jia
2013-01-17 7:07 ` [PATCH 3/4] libnss-mdns:fix support prerm " Hongxu Jia
2013-01-17 9:28 ` Martin Jansa
2013-01-17 10:48 ` Hongxu Jia
2013-01-17 12:35 ` Martin Jansa
2013-01-17 7:07 ` [PATCH 4/4] gtk-immodules-cache.bbclass:fix support postrm " Hongxu Jia
2013-01-17 9:52 ` Burton, Ross
2013-01-17 10:38 ` Hongxu Jia
-- strict thread matches above, loose matches on Subject: below --
2013-01-17 12:56 [PATCH V2 0/4]fix support postrm/prerm " Hongxu Jia
2013-01-17 12:56 ` [PATCH 1/4] gtk-icon-cache.bbclass:fix support postrm " Hongxu Jia
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130117092658.GA3067@jama \
--to=martin.jansa@gmail.com \
--cc=hongxu.jia@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox