From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga01.intel.com ([192.55.52.88]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1PvJOp-00036c-Q0 for openembedded-core@lists.openembedded.org; Fri, 04 Mar 2011 02:01:44 +0100 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 03 Mar 2011 16:59:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.62,261,1297065600"; d="scan'208";a="663674692" Received: from shxpwgzhai1a.ccr.corp.intel.com (HELO [10.239.48.130]) ([10.239.48.130]) by fmsmga002.fm.intel.com with ESMTP; 03 Mar 2011 16:58:56 -0800 Message-ID: <4D703953.8040000@intel.com> Date: Fri, 04 Mar 2011 08:58:59 +0800 From: "Zhai, Edwin" User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Khem Raj References: In-Reply-To: X-Mailman-Approved-At: Fri, 04 Mar 2011 10:03:32 +0100 Cc: openembedded-core@lists.openembedded.org, poky@yoctoproject.org Subject: Re: [poky] [PATCH 03/10] sato-icon-theme: Explictly use "Sato" as gtk icon theme X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 01:01:44 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Khem Raj wrote: > > > > --- a/meta/recipes-sato/sato-icon-theme/sato-icon-theme.inc > > +++ b/meta/recipes-sato/sato-icon-theme/sato-icon-theme.inc > > @@ -16,9 +16,12 @@ PACKAGE_ARCH = "all" > > > > EXTRA_OECONF += > "--with-iconmap=${STAGING_LIBDIR_NATIVE}/../libexec/icon-name-mapping" > > > > +#explictly setting "Sato" as default icon theme to avoid icon > missing due to > > +#tricky race condition > > pkg_postinst_${PN} () { > > if [ "x$D" != "x" ]; then > > exit 1 > > fi > > gtk-update-icon-cache -q /usr/share/icons/Sato > > + echo 'gtk-icon-theme-name = "Sato"' >> /etc/gtk-2.0/gtkrc > > what would happen if you reinstalled this packge again I guess it > would keep appending right ? > I think postinst only got called via init script on 1st boot of the image, so it should be okay. > > > } > > -- > > 1.7.1.1 > > > > _______________________________________________ > > poky mailing list > > poky@yoctoproject.org > > https://lists.yoctoproject.org/listinfo/poky > > > _______________________________________________ > poky mailing list > poky@yoctoproject.org > https://lists.yoctoproject.org/listinfo/poky > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx1.pokylinux.org (Postfix) with ESMTP id 97F7E4C800A3 for ; Thu, 3 Mar 2011 18:59:09 -0600 (CST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 03 Mar 2011 16:59:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.62,261,1297065600"; d="scan'208";a="663674692" Received: from shxpwgzhai1a.ccr.corp.intel.com (HELO [10.239.48.130]) ([10.239.48.130]) by fmsmga002.fm.intel.com with ESMTP; 03 Mar 2011 16:58:56 -0800 Message-ID: <4D703953.8040000@intel.com> Date: Fri, 04 Mar 2011 08:58:59 +0800 From: "Zhai, Edwin" User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Khem Raj References: In-Reply-To: Cc: openembedded-core@lists.openembedded.org, poky@yoctoproject.org Subject: Re: [PATCH 03/10] sato-icon-theme: Explictly use "Sato" as gtk icon theme X-BeenThere: poky@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Poky build system developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 00:59:10 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Khem Raj wrote: > > > > --- a/meta/recipes-sato/sato-icon-theme/sato-icon-theme.inc > > +++ b/meta/recipes-sato/sato-icon-theme/sato-icon-theme.inc > > @@ -16,9 +16,12 @@ PACKAGE_ARCH = "all" > > > > EXTRA_OECONF += > "--with-iconmap=${STAGING_LIBDIR_NATIVE}/../libexec/icon-name-mapping" > > > > +#explictly setting "Sato" as default icon theme to avoid icon > missing due to > > +#tricky race condition > > pkg_postinst_${PN} () { > > if [ "x$D" != "x" ]; then > > exit 1 > > fi > > gtk-update-icon-cache -q /usr/share/icons/Sato > > + echo 'gtk-icon-theme-name = "Sato"' >> /etc/gtk-2.0/gtkrc > > what would happen if you reinstalled this packge again I guess it > would keep appending right ? > I think postinst only got called via init script on 1st boot of the image, so it should be okay. > > > } > > -- > > 1.7.1.1 > > > > _______________________________________________ > > poky mailing list > > poky@yoctoproject.org > > https://lists.yoctoproject.org/listinfo/poky > > > _______________________________________________ > poky mailing list > poky@yoctoproject.org > https://lists.yoctoproject.org/listinfo/poky >