From patchwork Fri May 4 21:04:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 909042 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.136; helo=silver.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="i4MYBZlx"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40d4Jy1H2yz9s2t for ; Sat, 5 May 2018 07:04:50 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 8FC6C3009E; Fri, 4 May 2018 21:04:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kxxjawSRZOIm; Fri, 4 May 2018 21:04:43 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 80266227AD; Fri, 4 May 2018 21:04:43 +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 5251C1BFB70 for ; Fri, 4 May 2018 21:04:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 4EFFE8A101 for ; Fri, 4 May 2018 21:04:42 +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 C+4bJDs9mt41 for ; Fri, 4 May 2018 21:04:40 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by hemlock.osuosl.org (Postfix) with ESMTPS id 8EDDA87C94 for ; Fri, 4 May 2018 21:04:40 +0000 (UTC) Received: by mail-wm0-f68.google.com with SMTP id n10-v6so6986901wmc.1 for ; Fri, 04 May 2018 14:04:40 -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=oI+Elak7IqJiduZiJ+szgDhrpjadGor1cstxLeb4UeU=; b=i4MYBZlxti4dOherUNOmK7nNoIO0sZBqbmUvoxjtDjTbNpCMAjlJYTWne65sFQb8YK gi2jfldWLuO3aKsOrpDyFeAk2Qtz1OkBqPt4OO0Z58eNeASc0zw1PxEK+wHeoKa8PkW+ Q4sEkJ8eykMn3rAYvqluu41+pj3DfuiHUIM/k= 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=oI+Elak7IqJiduZiJ+szgDhrpjadGor1cstxLeb4UeU=; b=i/qP/Hml39ehMnTIP9EG5k60Ft8llfR8wkUSZCeYaUbGj7Xfn+pxHhtsfUl+CVkkit AGy56Db+b/Hq3GB/bk/4bJKx6LqdusAyEbtvBABcjOuavqEeOpUAkNQgHvTQ4BWgcYTm nJfeOKbM3Hf2qDh8OJo0JdnOdVVdAfVCLvBlmckcmqV+hKodk8lqasAJJuur6a9UD2oJ nPnin1WOcWTlVGnwQGthZsEmUKkjkW8iuTqpnip1Xz+gi9aiip2l2+T5I1TZiACkcvK7 Gkjm+MEnerxCuFpBaBb+9hL/JPVNzuqP5vV/U3wRXeGslehIW4el8cUuf+TJsMSBcOgT TxOw== X-Gm-Message-State: ALQs6tC7tiw/jQG0VJyfeAWIDdBGqNuGm4h6Fp05zJqLKaqd1Iyyexkx kQvMbtmwAHE6tJXAtp2Aq0NpEmRkkCU= X-Google-Smtp-Source: AB8JxZqJmFzvRm1HiO6a6WjDnq2m1NGS725tBrIwouuLBiYLInZ9us43LbmSWO5GrLnsKO0f4PDDnw== X-Received: by 10.28.173.4 with SMTP id w4mr19304976wme.54.1525467878761; Fri, 04 May 2018 14:04:38 -0700 (PDT) Received: from localhost.localdomain ([89.202.204.147]) by smtp.gmail.com with ESMTPSA id x73-v6sm2111680wmf.21.2018.05.04.14.04.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 04 May 2018 14:04:38 -0700 (PDT) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Fri, 4 May 2018 23:04:33 +0200 Message-Id: <1525467873-30332-2-git-send-email-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1525467873-30332-1-git-send-email-angelo@amarulasolutions.com> References: <1525467873-30332-1-git-send-email-angelo@amarulasolutions.com> Subject: [Buildroot] [PATCH v2 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 en 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