From patchwork Tue Apr 19 21:49:00 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Martin X-Patchwork-Id: 612370 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 3qqJYy4rjTz9t7h for ; Wed, 20 Apr 2016 07:49:10 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=CijKkXZp; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id DC1AC8A60B; Tue, 19 Apr 2016 21:49:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id olHYdyAGAnuN; Tue, 19 Apr 2016 21:49:08 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id B9EA58A189; Tue, 19 Apr 2016 21:49:08 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id C5F021C0C74 for ; Tue, 19 Apr 2016 21:49:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id BF8AA889DB for ; Tue, 19 Apr 2016 21:49:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mela1uknfu5L for ; Tue, 19 Apr 2016 21:49:07 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 14ED08897F for ; Tue, 19 Apr 2016 21:49:07 +0000 (UTC) Received: by mail-wm0-f42.google.com with SMTP id e201so29560682wme.0 for ; Tue, 19 Apr 2016 14:49:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=Hs8jYDqhU1mNp0qMSI5Kx3Q7EuasWf5A6vqVAfom3Lc=; b=CijKkXZpf6FGBh54tIYYXG/lknYD0sJ4Nc2GKoQOwryFe3gFcSzDT+VjqBRM/dpmsR kehYZjRoeQa6Vi4tmBZsbpJA69MRlwGmwgHsfofZgMTVWHACD8pXmoW41yHWCXki6WvL KiuvzpuKdGPeIxIC0PFCnSKP951i0MjiZOa+aMuH4/RShCqZ6o91QLkUk051xEtEqTUp 4uusIIAR9QhVw7uACdmtdG4/vM/TW1TMngxVFdtGZPEiZIIDGhAekIZxslx4hUOPZ+g+ 2glPafVCCWHSiCEIYR37cG+DNuwPcxkycg/YDwnVHK1LDRvlSKYCePHrvpHBXNS2mn1f O/YQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Hs8jYDqhU1mNp0qMSI5Kx3Q7EuasWf5A6vqVAfom3Lc=; b=FboW17nhFXFCNtZV5SouMY/zLlow6W4qAx2GEJn2CEpASCujvakRqhEQFvycwTvyNc MWe62wnkyPAB4YdEuQOS78WUnep829Ssgd6+Q2g26AZ7cJtXbFpvzPfyMb+yDAlnnPvM dzw0y4jl7cTn8bhVnKFG+1+CWKAonlSOwwU5IaWT5e8YJH7QOGw7kHw2Z8z67oyoNbht ac+6mcNfyRNqVQt1iVZhMpkJQimPUaLCPYfqHag03ZPI02lB+3EU1g5JVkeqszZnRHrk 5XKAtP/QG5fIH+kt4ujpnV+RaCCRHGem4Am+/6guTmGBj5CaV3GYiryvXENridPDrrmZ sA7w== X-Gm-Message-State: AOPr4FX1i0nwWRoh6aYBAMjY+Tq/N4cWRC7d3iM6gMVBIbtLTxoeW6sMd4xFs4BVDFy/jg== X-Received: by 10.194.223.70 with SMTP id qs6mr5089756wjc.119.1461102545731; Tue, 19 Apr 2016 14:49:05 -0700 (PDT) Received: from bobook.localdomain (ivr94-4-82-229-165-48.fbx.proxad.net. [82.229.165.48]) by smtp.gmail.com with ESMTPSA id f186sm6282519wmf.24.2016.04.19.14.49.03 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 19 Apr 2016 14:49:04 -0700 (PDT) From: Samuel Martin To: buildroot@buildroot.org Date: Tue, 19 Apr 2016 23:49:00 +0200 Message-Id: <1461102541-5987-1-git-send-email-s.martin49@gmail.com> X-Mailer: git-send-email 2.8.0 Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH v9] support/scripts/check-host-rpath: also check HOST_DIR/{bin, sbin} X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" At least syslinux is installing stuff in HOST_DIR/sbin. Cc: "Yann E. MORIN" Signed-off-by: Samuel Martin --- changes v8->v9: - none - move out of the RPATH series changes v7->v8: - none changes v6->v7: - new patch --- support/scripts/check-host-rpath | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/scripts/check-host-rpath b/support/scripts/check-host-rpath index 48d69da..6ce547c 100755 --- a/support/scripts/check-host-rpath +++ b/support/scripts/check-host-rpath @@ -26,7 +26,7 @@ main() { printf "*** ERROR: package %s installs executables without proper RPATH:\n" "${pkg}" fi printf "*** %s\n" "${file}" - done < <( find "${hostdir}"/usr/{bin,sbin} -type f -exec file {} + 2>/dev/null \ + done < <( find "${hostdir}"/{,usr/}{bin,sbin} -type f -exec file {} + 2>/dev/null \ |sed -r -e '/^([^:]+):.*\.*\.*/!d' \ -e 's//\1/' \ )