diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-12-21 18:18:07 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-12-23 13:29:20 -0800 |
commit | 390498950f16e177043e8bf55696fff7db9f63aa (patch) | |
tree | 7691ffd7a7846648af65328baac0f23be8a39b55 | |
parent | e0d9dd2acdf34e87ca7b527497c41eb4e4e4db56 (diff) | |
download | meta-openembedded-390498950f16e177043e8bf55696fff7db9f63aa.tar.gz |
ttf-droid: Delete from staging install area instead of sources
* 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>
-rw-r--r-- | meta-oe/recipes-graphics/ttf-fonts/ttf-droid_git.bb | 8 |
1 files 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 e62badf77..8dba7ee6f 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" | |||
12 | 12 | ||
13 | S = "${WORKDIR}/git/data/fonts" | 13 | S = "${WORKDIR}/git/data/fonts" |
14 | 14 | ||
15 | do_install_prepend() { | 15 | do_install_append() { |
16 | rm ${S}/Ahem.ttf MTLc3m.ttf DroidSansArabic.ttf DroidSansThai.ttf Clockopia.ttf MTLmr3m.ttf DroidSansHebrew.ttf DroidSansFallbackLegacy.ttf # we're not packaging it | 16 | for f in Ahem.ttf MTLc3m.ttf DroidSansArabic.ttf DroidSansThai.ttf \ |
17 | Clockopia.ttf MTLmr3m.ttf DroidSansHebrew.ttf \ | ||
18 | DroidSansFallbackLegacy.ttf; do | ||
19 | rm -f ${D}${datadir}/fonts/truetype/$f | ||
20 | done | ||
17 | } | 21 | } |
18 | 22 | ||
19 | PACKAGES = "ttf-droid-sans ttf-droid-sans-mono \ | 23 | PACKAGES = "ttf-droid-sans ttf-droid-sans-mono \ |