Springen naar inhoud


Foto

How to build openpli with custom patches


  • Please log in to reply
Er zijn 7 reacties in dit onderwerp

#1 kolomparrudi

  • Senior Member
  • 41 berichten

+1
Neutral

Geplaatst op 5 april 2016 - 13:58

Hi,

 

I can compile openpli and feeds without problem, now I want to try some modications, patches, etc, but I can't find any easy solution to compile with my changes, because the build process pulling the sources from git.

 

I tried to change the git repos in .gitmodules to my locale ones, it worked when I changed to repo for xtrend-meta, but now I want to modify something from enigma2 and I can't find where should I change to repo.

 

Can somebody tell me a good solution for is?

 

Br,

Laszlo



Re: How to build openpli with custom patches #2 Tech

  • Forum Moderator
    PLi® Core member
  • 14598 berichten

+458
Excellent

Geplaatst op 5 april 2016 - 14:49

If you use your local enigma2 sources,

- just change the enigma2.bb recipe (~meta-openpli/recipes-openpli/enigma2/enigma2.bb) and use the path to your local e2 sources (/home/andre/development/enigma2) instead of git.

  I use this for my environment and commented out the original path wich refers to the sources on github.

 

Just ignore the file://unicable.xml.patch part, you can use it as an example if you want to use local patches.

ENIGMA2_BRANCH ?= "master"
GITHUB_URI ?= "git://github.com"
#SRC_URI = "${GITHUB_URI}/OpenPLi/${BPN}.git;branch=${ENIGMA2_BRANCH}"
SRC_URI = "git:///home/andre/development/enigma2;protocol=file;branch=master \
    file://unicable.xml.patch \
    "

The patch-file is located in the .~meta-openpli/recipes-openpli/enigma2/files/ folder


Aan de rand van de afgrond is een stap voorwaarts niet altijd vooruitgang....

 

On the edge of the abyss, a step forward is not always progress....


Re: How to build openpli with custom patches #3 kolomparrudi

  • Senior Member
  • 41 berichten

+1
Neutral

Geplaatst op 5 april 2016 - 15:17

Thanks!



Re: How to build openpli with custom patches #4 kolomparrudi

  • Senior Member
  • 41 berichten

+1
Neutral

Geplaatst op 25 april 2016 - 08:31

Btw, Can you tell me how can I compile only enigma2 ipk? I'm testing my modifications and I don't need to compile all the feeds.



Re: How to build openpli with custom patches #5 betacentauri

  • PLi® Core member
  • 7185 berichten

+323
Excellent

Geplaatst op 25 april 2016 - 12:25

Go to build directory. Then execute
MACHINE=....
source env.source
bitbake enigma2
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: How to build openpli with custom patches #6 kolomparrudi

  • Senior Member
  • 41 berichten

+1
Neutral

Geplaatst op 25 april 2016 - 15:13

Thank you!



Re: How to build openpli with custom patches #7 christox

  • New Member
  • 1 berichten

0
Neutral

Geplaatst op 25 maart 2019 - 22:46

Hello,

 

Thanks for this post helped me a lot,

how can i tell wich plugins should be installed such as bash ....



Re: How to build openpli with custom patches #8 -M-

  • Senior Member
  • 128 berichten

+4
Neutral

Geplaatst op 26 maart 2019 - 20:17

I created an own image bb file, by copy "openpli-enigma2-image.bb". In my file I added plugins and also a ROOTFS_POSTPROCESS_COMMAND function to be able to copy some files to the rootfs.




1 gebruiker(s) lezen dit onderwerp

0 leden, 1 bezoekers, 0 anonieme gebruikers