From patchwork Sun Dec 23 21:35:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 154451 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp3270395ljp; Sun, 23 Dec 2018 13:37:08 -0800 (PST) X-Google-Smtp-Source: ALg8bN5PNA4MxRgzZe9dpPRJ3qG1yGI2sr9ttjcjgZdkS/NsX1ioG+pj7U2sGyKUb2vax0iAC0Gc X-Received: by 2002:a17:902:4d46:: with SMTP id o6mr10401439plh.302.1545601028219; Sun, 23 Dec 2018 13:37:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545601028; cv=none; d=google.com; s=arc-20160816; b=VAbitv1M0wjLAqAGv7K+N2CzcGlWlD1C4QLjVmSFN16+/f8UyEn92afnVH1g0G3Me2 QyJkRaugnrO+uwjbqbWr62jxXpq9wqFJdXND5OVvVKspsUetfPoTEYbtUWFhVJmyDKRL A2KUgzBR5nXTj8+YRfQf6z1jb7lPiCaq7mDT7Kbv3udex3Q9IHxxV5mXDm2r+3n0Qkp7 5K62KPm29tDw+j+eC6SEGkQUGm6zQh62LtZWJ7jl4H3KU3jvinmJtB4mHCMNrFnH4Gzb Kezuib55Kl8alQTbRFisfZkChHnrm12R9RY4iJ1dzyY9GEGOw2uPxobPnHo7+zkVfCkb 0/BQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=6wvD+UuPq6xGJ/WShuCmSL2GKDeFOBSKxfvRNyGuVBM=; b=xwLQSmMe4TRQiabVaaG4dv7gDZNAtXYFkyW2cy8p0F998RbQP1ij2Ks1NFpHHlXysG xrHklhe0heJhzV00my2xAczsxvyrQmwXjgWS3hqh/kOlZCjDp8GvsGiKxvirTuSy9O/G mbhkTYlKLIRwvp8/0hGUjK5164Fq41RyiQsIlK9Yqi0meqI+lC/sdTWWggFdXVnhLnbW O5asTSSsKW6SFOmuspgIoEotjXXrTtUK3dApOVwzQ1wAZQwUvMtWWArmDPsA3smevJgA T6AuBUIeZssPBrPbLJxEaYoYwb5C4KcH2sWUOzSBdfN2kc+7P0+4+Tpsx69cIDcEMHVJ FHNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=b+3C53KZ; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id d25si25078329pgd.88.2018.12.23.13.37.07; Sun, 23 Dec 2018 13:37:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=b+3C53KZ; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 0772678A94; Sun, 23 Dec 2018 21:36:36 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f196.google.com (mail-pf1-f196.google.com [209.85.210.196]) by mail.openembedded.org (Postfix) with ESMTP id EA15F6D783 for ; Sun, 23 Dec 2018 21:36:14 +0000 (UTC) Received: by mail-pf1-f196.google.com with SMTP id 64so5034790pfr.9 for ; Sun, 23 Dec 2018 13:36:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mHiAG9CxsqowSFOCE5ex5ByQVhsGhGzVc0ExMRiXV0k=; b=b+3C53KZgB5hqhOcsg31jbmwU5dvbfJoMZ2JVvpDDjCwklBr+BLkhzjPXpoX3JAWOe wtDzp4hHWwT5I5o2zUrQlDC3M6ChpIk9Ybh0JtRkXIG18nY1Uf2RURE2nr9+ldti3kKS W1M0XRquqeG/2M1NW+sj0GWv7Hb0LDFTiSk8WERQz9FDKj0pBnsfCPeOLAqHNXfj4chL 8kBFtyK6D/APM+KlaRBc1TZHifdUuBZYVUpdyrZlW4LLY3sWExTLWVUuJywP4Gthl9vx 2lIS5ZVgS0ZXuMkEvHjEmMMI0pCmDZ7XPKH4Gav1eXgI4BUB406iNmlawZqtBA2yaEZy jgZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mHiAG9CxsqowSFOCE5ex5ByQVhsGhGzVc0ExMRiXV0k=; b=UrEL2lw3vZiIYnE9CLFfWmKKeVarPXG2PvXQzCeqFnEOKzKZuPeg42GzdQESBOGftS u+4hYOW2BO2i2y/fxgp5SOqVea3HE1aDvCYadDHeHaWLPrdcRRlGSlMcVCkopjp/P4w8 E74PezKDaPohdT8Sonu69b03hvq62EkEbclh+f/W5E0MqNXPsb896Zs4rkNmgPJsI8BU lQ6Au5GtCF8c1xOCK//jxD2Hy5bJdmZyUaDHJaIdT1glU2eTpGGYiFjUDIRPgOkx1v0Z R/8esyIeyFlvkO//MSVUlekX8mYrEBLu5pj5ITRjoS1Zutl077FeGiV59AXMB4tNSPSo ovtg== X-Gm-Message-State: AA+aEWY5CQGGYCqK38qDAPX14cHJ+gRmiF/hbUIkkCLsmL3165XEq+/I vm6GGKhfwU0fnA/3pm6ZdpiVpciUkUo= X-Received: by 2002:a62:9fd9:: with SMTP id v86mr10860317pfk.191.1545600975542; Sun, 23 Dec 2018 13:36:15 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:877f:9499::19ec]) by smtp.gmail.com with ESMTPSA id m9sm33340800pgd.32.2018.12.23.13.36.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 23 Dec 2018 13:36:14 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 23 Dec 2018 13:35:46 -0800 Message-Id: <20181223213557.7834-7-raj.khem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20181223213557.7834-1-raj.khem@gmail.com> References: <20181223213557.7834-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 07/18] ttf-droid: Delete from staging install area instead of sources X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org * This leaves the sourcedir unmodified * Add -f option to rm to not fail if file is not there Signed-off-by: Khem Raj --- meta-oe/recipes-graphics/ttf-fonts/ttf-droid_git.bb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) -- 2.20.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel 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 \