Jump to content


Photo

include a patch in .bb ?


  • Please log in to reply
3 replies to this topic

#1 blinkosm

  • Senior Member
  • 144 posts

+1
Neutral

Posted 22 January 2018 - 15:05

i wanna include a patch epgcache.h in enigma2.bb is that simple just add for exemple:

 

PR = "${INC_PR}.0"

SRC_URI = "file://small_hdd_bugfix.patch \
           file://fix_madwifi.patch \

           file://epgcache.patch \
           file://enigma2_de.mo"
SRC_URI[mips32el.md5sum] = "5d9c18719eb6914a8a7e75fef907dfa9"
SRC_URI[mips32el.sha256sum] = "0d42885d613404f591f9f4d0c3331e2c208fa81bb484b02e5a8faeaeeb0c2bbd"
SRC_URI[mips32el-nf.md5sum] = "652658db65788ef12388abe1918c43b3"
SRC_URI[mips32el-nf.sha256sum] = "341c8a8d2468dc3bb034d235c3a2c07017704d69a418ae6567ab879364040dc1"

do_install_append(){
        cp ${WORKDIR}/enigma2_de.mo ${D}/usr/share/enigma2/po/de/LC_MESSAGES/enigma2.mo
}

require enigma2-bin-3.2.inc

 

or i must make yocto and devshell and all this thing ..???

and i see epgcache.h in lib/dvb/epgcache.h is that means that i must create the folder lib then dvd and introduce the patch or just put it with the enigma2 folder ????



Re: include a patch in .bb ? #2 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 22 January 2018 - 17:41

If you wanna make your life simple, just post your changes into github and point SRC_URI to your github account.

In case you fixed something, then create a PR, so others can get the fix, or paste the url to your commit (so it can cherry-picked).
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: include a patch in .bb ? #3 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 22 January 2018 - 17:48

If you want to change it, you need to compile the e2 code. So yes, you need a build environment (Linux PC or VM, some Linux knowledge, storage, time,...). Or as athoik mentioned you tell us why your changes are good and necessary and create a PR so that it will be included in the official PLi E2.


Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: include a patch in .bb ? #4 blinkosm

  • Senior Member
  • 144 posts

+1
Neutral

Posted 22 January 2018 - 18:22

thankss i will explain later, because i already explain that in another forum, but they find it very intresting or maybe they dont understand the idea :) :)




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users