From patchwork Tue Feb 3 03:20:29 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Olivari X-Patchwork-Id: 435691 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 706E91401D0 for ; Tue, 3 Feb 2015 14:22:04 +1100 (AEDT) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 03E2928BFFF; Tue, 3 Feb 2015 04:18:55 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,T_DKIM_INVALID, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 6C0B928BFF2 for ; Tue, 3 Feb 2015 04:18:45 +0100 (CET) X-policyd-weight: using cached result; rate:hard: -8.5 Received: from sabertooth02.qualcomm.com (sabertooth02.qualcomm.com [65.197.215.38]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Tue, 3 Feb 2015 04:18:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=qca.qualcomm.com; i=@qca.qualcomm.com; q=dns/txt; s=qcdkim; t=1422933677; x=1454469677; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=i4Ff9msTpXVVOoUcGMUT4QyNjPy8CAM7lKoQRUKmo6A=; b=Ok5TAFBv1wbtCe7eR/tYFR/VXQ4cJcQJYvW4ww+bU3fPsL38646YrPtB 3e2G4Yc2AbBTU6xA6kKIS6lmMbjJ3bpmnPVuvmnZq4cgQ9Zmdt31Mk2ix Xvxq/aFjmy00jaaHwpYS0P/1IKIRIXDP45PUH5cgxd2NyhdBdvjrHxIHd o=; X-IronPort-AV: E=McAfee;i="5600,1067,7700"; a="83382006" Received: from ironmsg02-lv.qualcomm.com ([10.47.202.183]) by sabertooth02.qualcomm.com with ESMTP; 02 Feb 2015 19:20:59 -0800 X-IronPort-AV: E=Sophos;i="5.09,510,1418112000"; d="scan'208";a="31649207" Received: from nalasexr01g.na.qualcomm.com ([10.49.56.53]) by ironmsg02-lv.qualcomm.com with ESMTP/TLS/RC4-SHA; 02 Feb 2015 19:20:58 -0800 Received: from mathieu-linux.qualcomm.com (10.80.80.8) by NALASEXR01G.na.qualcomm.com (10.49.56.53) with Microsoft SMTP Server (TLS) id 15.0.995.29; Mon, 2 Feb 2015 19:20:57 -0800 From: Mathieu Olivari To: Date: Mon, 2 Feb 2015 19:20:29 -0800 Message-ID: <1422933629-25793-4-git-send-email-mathieu@qca.qualcomm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1422933629-25793-1-git-send-email-mathieu@qca.qualcomm.com> References: <1422933629-25793-1-git-send-email-mathieu@qca.qualcomm.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: NASANEXM01H.na.qualcomm.com (10.85.0.34) To NALASEXR01G.na.qualcomm.com (10.49.56.53) Cc: openwrt-devel@lists.openwrt.org Subject: [OpenWrt-Devel] [Patch v3 4/4] base-files: taint the build if the override mechanism is used X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" If some packages are overridden (using ./scripts/feeds -f), add a new taint flag in /etc/openwrt_release. We'll use the CONFIG_OVERRIDE_PKGS variable reported through the .config to detect it. Signed-off-by: Mathieu Olivari --- include/version.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/include/version.mk b/include/version.mk index c3cc170..99af96e 100644 --- a/include/version.mk +++ b/include/version.mk @@ -58,6 +58,7 @@ VERSION_TAINT_SPECS := \ +USE_EGLIBC:eglibc \ +USE_MKLIBS:mklibs \ +BUSYBOX_CUSTOM:busybox \ + +OVERRIDE_PKGS:override \ VERSION_TAINTS := $(strip $(foreach taint,$(VERSION_TAINT_SPECS), \ $(if $(findstring +,$(taint)), \