Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by mail.openembedded.org (Postfix) with ESMTP id 029616D22A for ; Tue, 22 Oct 2013 07:33:23 +0000 (UTC) Received: from ALA-HCB.corp.ad.wrs.com (ala-hcb.corp.ad.wrs.com [147.11.189.41]) by mail.windriver.com (8.14.5/8.14.3) with ESMTP id r9M7XOXN025860 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Tue, 22 Oct 2013 00:33:24 -0700 (PDT) Received: from pek-hostel-vm02.wrs.com (128.224.153.172) by ALA-HCB.corp.ad.wrs.com (147.11.189.41) with Microsoft SMTP Server id 14.2.342.3; Tue, 22 Oct 2013 00:33:23 -0700 From: Robert Yang To: Date: Tue, 22 Oct 2013 03:33:20 -0400 Message-ID: <1382427200-7587-1-git-send-email-liezhi.yang@windriver.com> X-Mailer: git-send-email 1.7.10.4 MIME-Version: 1.0 Cc: openembedded-devel@lists.openembedded.org Subject: [PATCH] cifs-utils: fix the installed but not shipped issue X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2013 07:33:25 -0000 Content-Type: text/plain We will get the following ERROR/WARN if we enable the installed-vs-shipped check in QA: ERROR: QA Issue: cifs-utils: Files/directories were installed but not shipped /usr/bin Remove the empty dir will fix the problem. Signed-off-by: Robert Yang --- recipes-support/cifs/cifs-utils_git.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-support/cifs/cifs-utils_git.bb b/recipes-support/cifs/cifs-utils_git.bb index 89ff265..15bcf2e 100644 --- a/recipes-support/cifs/cifs-utils_git.bb +++ b/recipes-support/cifs/cifs-utils_git.bb @@ -21,6 +21,7 @@ do_install_append() { # Remove empty /usr/sbin directories since the mount helper # is installed to /sbin rmdir ${D}${sbindir} + rmdir --ignore-fail-on-non-empty ${D}${bindir} } RRECOMMENDS_${PN} = "kernel-module-cifs" -- 1.7.10.4