[OpenWrt-Devel] [Patch v3 4/4] base-files: taint the build if the override mechanism is used

Mathieu Olivari mathieu at qca.qualcomm.com
Mon Feb 2 22:20:29 EST 2015


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 <mathieu at qca.qualcomm.com>
---
 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)), \
-- 
1.9.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list