From: Khem Raj <raj.khem@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-oe][PATCH 07/18] ttf-droid: Delete from staging install area instead of sources
Date: Sun, 23 Dec 2018 13:35:46 -0800 [thread overview]
Message-ID: <20181223213557.7834-7-raj.khem@gmail.com> (raw)
In-Reply-To: <20181223213557.7834-1-raj.khem@gmail.com>
* This leaves the sourcedir unmodified
* Add -f option to rm to not fail if file is not there
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta-oe/recipes-graphics/ttf-fonts/ttf-droid_git.bb | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-droid_git.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-droid_git.bb
index e62badf778..8dba7ee6fa 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-droid_git.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-droid_git.bb
@@ -12,8 +12,12 @@ SRC_URI = "git://github.com/android/platform_frameworks_base.git;branch=master"
S = "${WORKDIR}/git/data/fonts"
-do_install_prepend() {
- rm ${S}/Ahem.ttf MTLc3m.ttf DroidSansArabic.ttf DroidSansThai.ttf Clockopia.ttf MTLmr3m.ttf DroidSansHebrew.ttf DroidSansFallbackLegacy.ttf # we're not packaging it
+do_install_append() {
+ for f in Ahem.ttf MTLc3m.ttf DroidSansArabic.ttf DroidSansThai.ttf \
+ Clockopia.ttf MTLmr3m.ttf DroidSansHebrew.ttf \
+ DroidSansFallbackLegacy.ttf; do
+ rm -f ${D}${datadir}/fonts/truetype/$f
+ done
}
PACKAGES = "ttf-droid-sans ttf-droid-sans-mono \
--
2.20.1
next prev parent reply other threads:[~2018-12-23 21:36 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-23 21:35 [meta-oe][PATCH 01/18] modemmanager: Fix build with gcc9 Khem Raj
2018-12-23 21:35 ` [meta-oe][PATCH 02/18] breakpad: Update to latest Khem Raj
2018-12-23 21:35 ` [meta-oe][PATCH 03/18] ltrace: Fix a NULL string use Khem Raj
2018-12-23 21:35 ` [meta-networking][PATCH 04/18] opensaf: Upgrade to 5.18.09 Khem Raj
2018-12-23 21:35 ` [meta-oe][PATCH 05/18] libgpiod: Rrecommend python3 only for PN-python package Khem Raj
2018-12-23 21:35 ` [meta-oe][PATCH 06/18] srecord: GPL-3.0 and LGPL-3.0 is correct license Khem Raj
2018-12-23 21:35 ` Khem Raj [this message]
2018-12-23 21:35 ` [meta-oe][PATCH 08/18] lio-utils: Switch SRC_URI to use datera mirror on github Khem Raj
2018-12-23 21:35 ` [meta-oe][PATCH 09/18] breakpad: Fix build with gcc9 on x86 Khem Raj
2018-12-23 21:35 ` [meta-networking][PATCH 10/18] miniupnpd: Fix cross compile on OE Khem Raj
2018-12-23 21:35 ` [meta-oe][PATCH 11/18] open-vm-tools: Upgrade to 10.3.5 Khem Raj
2018-12-23 21:35 ` [meta-multimedia][PATCH 12/18] tvheadend: Add dependency on dvb-apps Khem Raj
2018-12-23 21:35 ` [meta-oe][PATCH 13/18] mozjs: Remove -Werror=format from CXXFLAGS Khem Raj
2018-12-23 21:35 ` [meta-python][PATCH 14/18] python-msgpack: Upgrade to 0.6.0 Khem Raj
2018-12-23 21:35 ` [meta-python][PATCH 15/18] python-grpcio: Upgrade to 1.17.1 Khem Raj
2018-12-23 21:35 ` [meta-python][PATCH 16/18] python-pyflame: Upgrade to 1.6.7 Khem Raj
2018-12-23 21:45 ` Andrew Jeffery
2018-12-23 21:35 ` [meta-oe][PATCH 17/18] redis: Update to 4.0.12 Khem Raj
2018-12-23 21:35 ` [meta-oe][PATCH 18/18] android-tools: Disable for powerpc/powerpc64 Khem Raj
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=20181223213557.7834-7-raj.khem@gmail.com \
--to=raj.khem@gmail.com \
--cc=openembedded-devel@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 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.