[Buildroot] [PATCH 16/34] reproducibility/lzo: forbid lzo with reproducible builds

Gilles Chanteperdrix gilles.chanteperdrix at xenomai.org
Sat Apr 30 07:49:12 UTC 2016


The lzo archive contains a timestamp.
---
 fs/tar/Config.in | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/fs/tar/Config.in b/fs/tar/Config.in
index 63663ec..7e4b603 100644
--- a/fs/tar/Config.in
+++ b/fs/tar/Config.in
@@ -33,6 +33,7 @@ config BR2_TARGET_ROOTFS_TAR_LZMA
 
 config BR2_TARGET_ROOTFS_TAR_LZO
 	bool "lzo"
+	depends on !BR2_REPRODUCIBLE
 	help
 	  Do compress the tarball with lzop.
 
@@ -43,6 +44,12 @@ config BR2_TARGET_ROOTFS_TAR_XZ
 
 endchoice
 
+if BR2_REPRODUCIBLE
+
+comment "lzo compression is only available with non-reproducible builds"
+
+endif
+
 config BR2_TARGET_ROOTFS_TAR_OPTIONS
 	string "other random options to pass to tar"
 	depends on BR2_TARGET_ROOTFS_TAR
-- 
2.7.4




More information about the buildroot mailing list