Jump to content


Photo

How to build openpli with custom patches


  • Please log in to reply
7 replies to this topic

#1 kolomparrudi

  • Senior Member
  • 41 posts

+1
Neutral

Posted 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
  • 10,502 posts

+246
Excellent

Posted 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....

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

  • Senior Member
  • 41 posts

+1
Neutral

Posted 5 April 2016 - 15:17

Thanks!



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

  • Senior Member
  • 41 posts

+1
Neutral

Posted 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
  • 4,982 posts

+233
Excellent

Posted 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 posts

+1
Neutral

Posted 25 April 2016 - 15:13

Thank you!



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

  • New Member
  • 1 posts

0
Neutral

Posted 25 March 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
  • 37 posts

0
Neutral

Posted 26 March 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.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users