From patchwork Thu May 3 21:34:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 908310 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.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="HBDjPoJD"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40cT1f29nZz9s1d for ; Fri, 4 May 2018 07:34:30 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id AA16488CCA; Thu, 3 May 2018 21:34:26 +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 Sv74WUjEopgG; Thu, 3 May 2018 21:34:24 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id B276C88C88; Thu, 3 May 2018 21:34:24 +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 159D91CF03E for ; Thu, 3 May 2018 21:34:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 12E2988C67 for ; Thu, 3 May 2018 21:34:23 +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 I-tIUzsNGSag for ; Thu, 3 May 2018 21:34:21 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) by whitealder.osuosl.org (Postfix) with ESMTPS id 4729C88C88 for ; Thu, 3 May 2018 21:34:21 +0000 (UTC) Received: by mail-wr0-f196.google.com with SMTP id v5-v6so19053286wrf.9 for ; Thu, 03 May 2018 14:34:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=/BF/q4U0n2wRrfNq6goJgkBNH96Jj1YhXHB6X8G3r8g=; b=HBDjPoJDeOipKdiJ/fNcP+urzJ7K3ZcrFWvQOhhbhdCq5BhQTC2XDnReTxHgsl6nbo WjVM5D9Qop8w5HMKQ4ihaP+KSdZ/E4v/5uPx/NChWcpYu+DBX7BQdr+K+z056vHxYPov OrZ0GsZ0GvhYRZy48gBOnYNtKbmA0SanbqeVI= 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; bh=/BF/q4U0n2wRrfNq6goJgkBNH96Jj1YhXHB6X8G3r8g=; b=kFoT3vYPUCYYIHGdTa4Uo/ZvUDYKE2ix08v82KnBr7KtuKg8yTwLk3ERFGX/uiCX7L lA9kv+yIj0wmJR4X1sT/vm7F9AF0D2wSjMriSlcz/LdBrwD/Vr6Uof1GCwb6LYK/jcHb P0H7hikVz7R+PUoEWGwHpfK9hf+jo9bcgxsNNzTLrtEvkZ6fRb/Xij8pn00J3H+l0a2B lD1c9dnepxYYf8ihxdHEirnHPwJ0jpVNYC1GSBfKG6dQYrz4DVYfmdMRovbGIXcu1lBK RqGc/zPS8G9qxNDszc82Rbi2W88zrsS9k0pGPGq4o8cLQrvXeTIOEyUrYSawmUdqy0CI 7Amg== X-Gm-Message-State: ALQs6tA4x/0dBxge2oT1sEs5yWyXu+yX2FjkS7L7nbZDEAAnf0fJkT7P 51zBxC6qd5nz6YXl6q1DYs/3Iga9Z+U= X-Google-Smtp-Source: AB8JxZrKthxAWqDGfG3dIyOo7dri08/w8g2JUdVIRXvNbmR8GUPzh8SAibtchEs2M0XXdOr8vxy5zQ== X-Received: by 2002:adf:9a27:: with SMTP id z36-v6mr18581901wrb.47.1525383259494; Thu, 03 May 2018 14:34:19 -0700 (PDT) Received: from localhost.localdomain ([89.202.204.147]) by smtp.gmail.com with ESMTPSA id x63sm482173wma.25.2018.05.03.14.34.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 03 May 2018 14:34:18 -0700 (PDT) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Thu, 3 May 2018 23:34:12 +0200 Message-Id: <1525383252-4837-2-git-send-email-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1525383252-4837-1-git-send-email-angelo@amarulasolutions.com> References: <1525383252-4837-1-git-send-email-angelo@amarulasolutions.com> Subject: [Buildroot] [PATCH 2/2] package/nodejs: taint the build on external modules X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Angelo Compagnucci MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Angelo Compagnucci This patch enables the tainting of the build when an external module is added. Signed-off-by: Angelo Compagnucci --- package/nodejs/nodejs.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk index 2642525..3cb9209 100644 --- a/package/nodejs/nodejs.mk +++ b/package/nodejs/nodejs.mk @@ -160,6 +160,7 @@ NPM = $(TARGET_CONFIGURE_OPTS) \ # We can only call NPM if there's something to install. # ifneq ($(NODEJS_MODULES_LIST),) +NODEJS_TAINTS = YES define NODEJS_INSTALL_MODULES # If you're having trouble with module installation, adding -d to the # npm install call below and setting npm_config_rollback=false can both