From patchwork Wed Aug 29 03:17:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 145372 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp188719ljw; Tue, 28 Aug 2018 20:17:34 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZ5fil5G2fw0megx/RilLGmDspnt/YsDt2jvWzwoRjjqWjXCOv5w44FzE/gREm8e7WqFy4T X-Received: by 2002:a17:902:5501:: with SMTP id f1-v6mr4067814pli.219.1535512654477; Tue, 28 Aug 2018 20:17:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535512654; cv=none; d=google.com; s=arc-20160816; b=aCA+kvHwHuV0IyLEAxmeqmMQO8OtdOQ81+vBFqoPrg9GXSG9fEUBPbwn1LSpx3OEiE zEflHqgRCMlGyMP48S6UaWSxlPgGAesdwPDzJxDkTVHo+OhpzyyofgnnvZVrrtRR6hU5 mcGhPVn8dsXUb/pq9igGd4aof+YJf3rNkUlqsTPZaAQ/ygV83EAmzt3a4f0sbaxtj+ax oDp3FjqCaHjb4iJYx+HLnlgaFIB9jN+qrPp+jcja+MKUE6vix5I3m8ATDGR1bE4kESV4 EPEee5cshvcX++NyRrIWmovCfih1+6S2gABCneknrpuma1w+M8DM69Qv+tzsPLh+066L 1tzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=Dt3re2xYGTG7ARsXlJn6SUuA1FXxaACpbqDxRmmaauY=; b=vpfMYfI055+fVuhfzdk9lHMyA59GJW/6gJdv7btQOYuNs/nG2EAy6RcDmKeuqWX8Fl Cf4C/Eun8bh/GlxRnlnKvebdkjtX+NjCglm+5d0cEipKSez6wm2Gjonc6QcR6Y5uACTh JDwgfeiZ9jOlLEIggUIR/CzCqNV7Uo2zwGYYLifUTv/kGD/JyCnPi6MKFJM3euM70cpO yGzoaaOkWRNXIAmLoZ/Pa5J2ulv9+SYRtA66/EHA2GJ5LOtcnJFfP9s+cYPtOdFyzQql BV44GcaqcuJRIm9liEQez/qtoGp5AF+MkTHdXD1Ml2Ogp5dJeLTwMSpIuFdV0Yk6yRuY /lkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=qK3KBmWz; 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 y63-v6si2642244pgd.435.2018.08.28.20.17.33; Tue, 28 Aug 2018 20:17:34 -0700 (PDT) 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=qK3KBmWz; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 7AD1D7907E; Wed, 29 Aug 2018 03:17:29 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by mail.openembedded.org (Postfix) with ESMTP id 38DCE79020 for ; Wed, 29 Aug 2018 03:17:28 +0000 (UTC) Received: by mail-pl1-f178.google.com with SMTP id x6-v6so1635094plv.10 for ; Tue, 28 Aug 2018 20:17:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=NDRQjt8zrz9aWQkMsnANUyjzQyGihfcBp+rlNnA+E5Y=; b=qK3KBmWzvBHWaDfX5iEh4YpE19T1NQ1gpa6lGv9CP5u4kfWXFv3qDQDe0+Pyohjfzb IE3XGn6CHguXMlL0lRsUANCqgPguzPzbG6qPWrh4M+2Txsx7Z1sDCdVxbzulj+iu+7dG AlmfS+qySWaLvYAG1yUTGJ3IYsjuUFdVUFaoDUjZKpTnryviAhALANtG6lpI35FqazQX dw4rvTCA2UfnL0jbhR5JcNuIqI4FEAkM5du4I8RRXhNUpBcsJRcLQ9JH8lyEk/5ykeQ2 4SyQjJ5kclaXj69uJA54wOD0+ddxmOUMUB8FeYtV6M8cPxs6rCoJSXgWT48hxpUqXFtd 34bA== 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; bh=NDRQjt8zrz9aWQkMsnANUyjzQyGihfcBp+rlNnA+E5Y=; b=BddVgRD7eimoDtyOViCHrAONezaUwKEL1z+W4Wm8RHf4C3GLrQCP+XiF6+HlDFEF8M x9PT8z71N3E0mqmcJIxfN2yJNq/5IIH3a5yH5Gm7+I5OCrXTqc3Bd3zPiYVP+CZjanZJ KGBT1poZsEzBY8IqZXc6BzYswMEGD6UpeAK1L95AhIDjR9xLq8CEp2NteOzNxIC5KhDn AKubX195lDD5o1HeWseIjvRRzNKOQavpKaxR5qq/ey/2qtYQe0PUQxcBABBHB1wKCzIv kSDrCjI4+wtu2eYMs1G/DkNC8g6XOROmalLDSczl1jxUsrVZ7Zvrr8mYCyL33IjWsdBJ YaLw== X-Gm-Message-State: APzg51C4fVZi+ZpBwBMWiZg1ahkdBCxqNj97yFm7zjeAmp1bo6H/ggfT zRl5fASLU0KDsHATdtaK1FcLBWHu X-Received: by 2002:a17:902:8ec7:: with SMTP id x7-v6mr4202987plo.336.1535512648862; Tue, 28 Aug 2018 20:17:28 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::f180]) by smtp.gmail.com with ESMTPSA id z19-v6sm10411764pgi.33.2018.08.28.20.17.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Aug 2018 20:17:28 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Tue, 28 Aug 2018 20:17:19 -0700 Message-Id: <20180829031720.26437-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 Subject: [oe] [meta-oe][PATCH 1/2] zsh: Delete ${D}/usr if empty 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: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- meta-oe/recipes-shells/zsh/zsh_5.4.2.bb | 1 + 1 file changed, 1 insertion(+) -- 2.18.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-shells/zsh/zsh_5.4.2.bb b/meta-oe/recipes-shells/zsh/zsh_5.4.2.bb index 100c449f2b..3aab65bf5b 100644 --- a/meta-oe/recipes-shells/zsh/zsh_5.4.2.bb +++ b/meta-oe/recipes-shells/zsh/zsh_5.4.2.bb @@ -49,6 +49,7 @@ do_configure () { do_install_append () { rm -fr ${D}/usr/share + rmdir --ignore-fail-on-non-empty ${D}/usr } pkg_postinst_${PN} () {