From patchwork Wed Sep 5 16:06:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 966523 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="Ir+xwTCw"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4257r613RRz9sD2 for ; Thu, 6 Sep 2018 02:07:01 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id B6898881FA; Wed, 5 Sep 2018 16:06:57 +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 4UVDgIGNXkb3; Wed, 5 Sep 2018 16:06:55 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 9892C881E9; Wed, 5 Sep 2018 16:06:55 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id D14411C2DF5 for ; Wed, 5 Sep 2018 16:06:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id CB3B928986 for ; Wed, 5 Sep 2018 16:06:49 +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 eOtYt+5Tm3yQ for ; Wed, 5 Sep 2018 16:06:49 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) by silver.osuosl.org (Postfix) with ESMTPS id 0C19222921 for ; Wed, 5 Sep 2018 16:06:49 +0000 (UTC) Received: by mail-wr1-f41.google.com with SMTP id w11-v6so8265248wrc.5 for ; Wed, 05 Sep 2018 09:06:48 -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=z/+jHiQxegEJAe9Y9bDuWWLlgHvDsTmh4CrOFMv8ne0=; b=Ir+xwTCwDcjUfuXB8q+qVH0v52M/OBYsAjGjVyifdSvH210GpDov+ug4gbk1taY40/ D4dL6N2CskUsGGQ15hT3/qJN7MqeOCfpwPw2AMP/+2RrXl1JgakokrjpZNY0PWtR8h3W +pcwMshOkPsYytdNJjnRgwvRalUj+e4U7uhtE= 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=z/+jHiQxegEJAe9Y9bDuWWLlgHvDsTmh4CrOFMv8ne0=; b=UvCllHyrXC59CpA7HMii8BZPoGKlAvBav7Wq/rsxry7gwPZSFnl1pclJ6SaOlsxFAB 5ORR5yDZG2rpjEdWyB3406bQkCkX5fuCioidg0fGVMjoXsAGDF+HurEgRib9qWHGdlo2 dXHAYDLoxY3A8FsvQo23l+9UJTfIgve+6gKYAu2ClxnXsUDJ61NIV44OTfVvrLH9yAW4 FwlWsYOasCaSe/fXgMqan4u3aPrcBBWPhaOHSzqvGRksEBg6vY+o2RocZ/GxWLXdflFY ycdCuG03sSSd824vJESEtUAdstFA7cS0Q0ZaTABC8Ji/l0oJ+Acsp+PqoaIHOwBaZTpE jveA== X-Gm-Message-State: APzg51ArbPQuGYrZkLlroZNwItGxdwox0Uv4GU7AIvepzupGHd4Ky543 K1KoM5CSCgFMmZ9ZqgpNdNVqpmmSjIA= X-Google-Smtp-Source: ANB0VdZoT/207A2I12eqgO6pS/YJQzcuvMWZb4qv3dTQczoGehoJRKb3ThsLfqZ4m3HJCdJW1zM5cw== X-Received: by 2002:adf:ea4f:: with SMTP id j15-v6mr28118893wrn.224.1536163607197; Wed, 05 Sep 2018 09:06:47 -0700 (PDT) Received: from localhost.localdomain ([89.202.204.147]) by smtp.gmail.com with ESMTPSA id k34-v6sm3525308wre.18.2018.09.05.09.06.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 05 Sep 2018 09:06:46 -0700 (PDT) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Wed, 5 Sep 2018 18:06:36 +0200 Message-Id: <1536163596-5310-4-git-send-email-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1536163596-5310-1-git-send-email-angelo@amarulasolutions.com> References: <1536163596-5310-1-git-send-email-angelo@amarulasolutions.com> Subject: [Buildroot] [PATCH v3 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" 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 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