From patchwork Fri May 31 07:58:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Valerio Crini X-Patchwork-Id: 1108206 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="GUD+vbQd"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45FcJl6gbDz9sMM for ; Fri, 31 May 2019 17:58:31 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 85DBB880C3; Fri, 31 May 2019 07:58:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 60rBBWWqD5y8; Fri, 31 May 2019 07:58:25 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 8FBEB880B3; Fri, 31 May 2019 07:58:25 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 310A11BF2AF for ; Fri, 31 May 2019 07:58:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2E4AE85456 for ; Fri, 31 May 2019 07:58:24 +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 1GkSsepk2lHs for ; Fri, 31 May 2019 07:58:22 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by whitealder.osuosl.org (Postfix) with ESMTPS id 92CB785421 for ; Fri, 31 May 2019 07:58:22 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id n4so2772752wrs.3 for ; Fri, 31 May 2019 00:58:22 -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:mime-version :content-transfer-encoding; bh=h1vhwXALYwfw+wzNSAV5o0necESjyN7zvnJpk/4oXwE=; b=GUD+vbQdc3dmurrYdolZ4fEWbQ/xa/AyH2OW8bTcq1/G1VIzY3oRxxeP/sH7+XdVzC dmSK8srRhm3fUxxqZQ9zaRaNGukYHBDq5scXHR+ycDcCMj1dUNVHPAYqZdXvHf9JzRw9 MLG6C9yyE+yXRNwwj1J561/iY4011BxkIOuPG1jezl/wW4e6ly3fvqp0Be87rtLxfyFy W7XbsIzRcCaEyM1pwG84tRBNHst4Nbswyj8zTm/Tu23iMCgGOmCohWa3uboyo9K5FaSa hcCTULNClUzhSRNzQJ6O3x5mmoPBQXhIfbiHD9ACRPe3iZ6ewuQ9FUkhx4+bmS+1sAMu JObA== 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:mime-version :content-transfer-encoding; bh=h1vhwXALYwfw+wzNSAV5o0necESjyN7zvnJpk/4oXwE=; b=U44+bL19ue31GvbwX2u1mEYEfD23/ws23O5l2+yzFZS/E3wNo8vm+1nyv5pOapQUfK C7cn7NSGGXGPlchAD863SaYGjiGfImOOIal6EYVFQawKMZTAc+vBKx/TJwIOLzMCjBv+ J+XBaaTU37u6YDMEYISi0hYhLBiaOBBORFXDtuOxaNiM38HHMECZiqI3BJINY4nsoniy qfDWip/T9SapCE1mJdnYNQ/ITkKDXpReLXfguuv3Gm1gf9cGF5kji5iDQjMlRjhWt5tX tFKZC2aLms/znuwXXFWDxpgCWZbZEbg0clB0eLI/tvEWg5SJ0t2QHvrvOEKWnmqkPzhp +sHw== X-Gm-Message-State: APjAAAXFD0d4pa7n7YcCxI8oi+ynn2Fb2ej9BZrTeE0pGKxktQ3JO/5z R6oZqj0alzViDdfyCqVcohQ599kplQ== X-Google-Smtp-Source: APXvYqxtBRe3jrSLILzl2NZwzatOeCFkSgoSxbgqlS9M3lbNPJgLe3CgnCL4ArKfc8z2X9yZ8SGyVw== X-Received: by 2002:a5d:4148:: with SMTP id c8mr5212411wrq.5.1559289500625; Fri, 31 May 2019 00:58:20 -0700 (PDT) Received: from vcrini.ad.docomodigital.com ([213.213.84.212]) by smtp.gmail.com with ESMTPSA id d17sm6469601wrx.9.2019.05.31.00.58.19 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 31 May 2019 00:58:20 -0700 (PDT) From: Valerio Crini To: buildroot@buildroot.org Date: Fri, 31 May 2019 09:58:00 +0200 Message-Id: <20190531075800.7064-1-vcrini@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] support/scripts: add node modules to check-bin-arch's IGNORES list X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Valerio Crini Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Valerio Crini Some node modules as stf ship compiled binaries causing check-bin-arch script to return errors. Signed-off-by: Valerio Crini --- support/scripts/check-bin-arch | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/support/scripts/check-bin-arch b/support/scripts/check-bin-arch index 3449bd1aeb..a276b75b92 100755 --- a/support/scripts/check-bin-arch +++ b/support/scripts/check-bin-arch @@ -25,6 +25,11 @@ declare -a IGNORES=( # it for a different architecture (e.g. i386 grub on x86_64). "/lib/grub" "/usr/lib/grub" + + # Skip files in /usr/lib/node_modules, since it is possible to have it + # for a different architecture (e.g. stf module has some packages already + # compiled for several architectures). + "/usr/lib/node_modules" ) while getopts p:l:r:a:i: OPT ; do