[Buildroot] [PATCH 1/3] package/tvheadend: Fix inclusion of dtv-scan-tables files

Bernd Kuhls bernd.kuhls at t-online.de
Sat Mar 21 11:11:14 UTC 2015

--enable-dvbscan forces downloading the tables from upstream which is
not needed because we provide these files through TVHEADEND_BUILD_CMDS.
So --disable-dvbscan fixes the autobuild errors. But doing so prevents
the inclusion of the dtv-scan-tables files in the bundled binary
usr/bin/tvheadend. Therefore we force .config.mk to enable the dvbscan
support again after the configure script finished.
To verify the bundled contents have a look at build.linux/bundle.d.
Also fix a comment typo.


Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
 package/tvheadend/tvheadend.mk |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk
index d6b77da..96c040d 100644
--- a/package/tvheadend/tvheadend.mk
+++ b/package/tvheadend/tvheadend.mk
@@ -50,15 +50,16 @@ define TVHEADEND_CONFIGURE_CMDS
 			--arch="$(ARCH)"			\
 			--cpu="$(BR2_GCC_TARGET_CPU)"		\
 			--python="$(HOST_DIR)/usr/bin/python"	\
-			--enable-dvbscan			\
+			--disable-dvbscan			\
 			--enable-bundle				\
 			--disable-libffmpeg_static		\
+		&& $(SED) 's%^CONFIG_DVBSCAN =.*%CONFIG_DVBSCAN = yes%' .config.mk \
 # The tvheadend build system expects the transponder data to be present inside
-# its source tree. To prevent a downloaded initiated by the build system just
+# its source tree. To prevent a download initiated by the build system just
 # copy the data files in the right place and add the corresponding stamp file.
 	$(INSTALL) -d $(@D)/data/dvb-scan

More information about the buildroot mailing list