I need to do some testing of patches for the TVheadend service - but I've only done builds of the full LE for my RPi3 - what command would I use to just build the TvH addon? And where would I need to put the patch file if I'm just building the addon?
Can I build just an addon from the LE repo?
-
edit4ever -
September 23, 2017 at 3:33 PM -
Thread is Unresolved
-
-
Put patch in appropriate folder. For tvh in tvh/patches folder.
You can build only addon without building image first.
-
I've dropped in the patch - but when I run this command:
I get the following error:
Code
Display Moremake[2]: Entering directory '/media/jm/Build/LibreELEC.tv/build.LibreELEC-RPi2.arm-8.0-devel/dvb-apps-3d43b280298c/util/scan' perl section_generate.pl atsc_psip_section.pl perl section_generate.pl atsc_psip_section.pl Can't locate atsc_psip_section.pl in @INC (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at section_generate.pl line 7. make[2]: *** [Makefile:28: atsc_psip_section.h] Error 2 make[2]: *** Waiting for unfinished jobs.... Can't locate atsc_psip_section.pl in @INC (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at section_generate.pl line 7. make[2]: *** [Makefile:28: atsc_psip_section.c] Error 2 make[2]: Leaving directory '/media/jm/Build/LibreELEC.tv/build.LibreELEC-RPi2.arm-8.0-devel/dvb-apps-3d43b280298c/util/scan' make[1]: *** [Makefile:14: all] Error 2 make[1]: Leaving directory '/media/jm/Build/LibreELEC.tv/build.LibreELEC-RPi2.arm-8.0-devel/dvb-apps-3d43b280298c/util' make: *** [Makefile:14: all] Error 2
I've run a full build from here before - so I'm not sure what is happening now. Do I have the build command line correct for the Tvh addon?
-
You'll need to add this patch for 8.0 (it's only in 8.2 and master trees, cherry-pick should work fine):
dvb-apps: fix compilation with current perl versions · LibreELEC/LibreELEC.tv@6bb3d95 · GitHub
so long,
Hias
-
Thanks for that. I'll just move over to 8.2 and give it a go from there.