From patchwork Wed Sep 5 22:22:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 966724 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.137; helo=fraxinus.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="n60/XaJk"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 425J9N0JkGz9sCh for ; Thu, 6 Sep 2018 08:22:31 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 8EA6587884; Wed, 5 Sep 2018 22:22:29 +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 TeEXxlVhBD46; Wed, 5 Sep 2018 22:22:29 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 068348786F; Wed, 5 Sep 2018 22:22:29 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id DA3331C2B9B for ; Wed, 5 Sep 2018 22:22:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id D7E5A88D8F for ; Wed, 5 Sep 2018 22:22: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 rtcfKidc-QQ3 for ; Wed, 5 Sep 2018 22:22:24 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) by hemlock.osuosl.org (Postfix) with ESMTPS id 2971288C75 for ; Wed, 5 Sep 2018 22:22:24 +0000 (UTC) Received: by mail-wr1-f46.google.com with SMTP id 20-v6so9204073wrb.12 for ; Wed, 05 Sep 2018 15:22:24 -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:in-reply-to:references; bh=pxGvoUBlCIYpwmVLZusX7NR95JkJMDUqfqalHQ9MDWI=; b=n60/XaJkNExc3ufT/ttcp1KLLMnufOoLNf/eOEkCg9XCWzy4cEu5N2jnAu9E6PorI6 efcCV76uIoy4cC9NrEiJatrMUzLEkyAJkkiyJuYdpDG35yKrg/tgwynCrEotMEaz4VJx HRdwkFzuNIMqj6lCVMGUpXQoZbtkTHUWIZWV+qNitr6NvJom352QpcCJY12O2G1DTQBD 1oAxEx+tzjR/KqmKTsM1ULH/zgmKoMmvqd4ztE68vBJtURm5E50ojR+LdHmcTD7RrrT2 ghPtOo2g47Y+Pm+lXV91eAUmYgs7GUN33Aktl4Ky1nD5OcDfaqw5qwrraCozB6wtkZQY YOQg== 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=pxGvoUBlCIYpwmVLZusX7NR95JkJMDUqfqalHQ9MDWI=; b=EnPdiuYTRRGLkxrUMUP+NqtbA1noHKPcnjWuMe6zuYWY+NPFN0VFWnrJkJd0Qfgzs4 k0tEbBPtJPrpbNj/NexbDaFYs6VaL2KUjZw63RzCeziLjbWUCaHbZVrNsXiMimhvKDWB 3sG5DpUhEbJmwjgiv17PoP1BfAn6xa8UJz2GvPPtSg7YqhB4JNn5LU+/rIPEWFmg1SDc VpoK09xWRRmBj0qv1F7I4/8Zen3GYkXL7h/pfVHjjlvw6e/noenbwYT2GNJBWJHhB9b/ LQFNnMujm+QW+ZnixnqGfDxz9aPGZrL6+VmpZVnwJ23mKzltW1uw86o00Zy5KdVKa5to eMkw== X-Gm-Message-State: APzg51C9MlA5weWfwgZUIxv5otq1gS02H6bbDntQsMe8Qeu2qHxmAMbl gILxE73wbaLlyEJeCSPasO153tSI X-Google-Smtp-Source: ANB0VdYiF8VW0AE1nc5+8ndpvHqUFgB/HCAM7WJZfbKjA6zEQTRvyZItbPhFeFnBkEeK/Wtxtm58uA== X-Received: by 2002:adf:e792:: with SMTP id n18-v6mr16589647wrm.136.1536186142488; Wed, 05 Sep 2018 15:22:22 -0700 (PDT) Received: from localhost.localdomain ([37.162.44.87]) by smtp.gmail.com with ESMTPSA id b10-v6sm4303981wmc.28.2018.09.05.15.22.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 05 Sep 2018 15:22:21 -0700 (PDT) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Thu, 6 Sep 2018 00:22:13 +0200 Message-Id: <1536186133-9933-4-git-send-email-angelo.compagnucci@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1536186133-9933-1-git-send-email-angelo.compagnucci@gmail.com> References: <1536186133-9933-1-git-send-email-angelo.compagnucci@gmail.com> Subject: [Buildroot] [PATCH v5 3/3] 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" This patch enables the tainting of the build when an external module is added. Signed-off-by: Angelo Compagnucci 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 e2c94ba..322a1ec 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