Jump to content


Photo

Compile pli image with ipk Packages


  • Please log in to reply
27 replies to this topic

#1 idealsat

  • Senior Member
  • 232 posts

0
Neutral

Posted 28 June 2012 - 23:28

Hello

I already compile pli image .

i want to compile ipk package when i compile pli image.

Can you give me instruction how i can compile ipk package.?

Where i put ipk package in build directory etc..?

Thanks

Re: Compile pli image with ipk Packages #2 ims

  • PLi® Core member
  • 13,795 posts

+214
Excellent

Posted 29 June 2012 - 06:50

ipk packages are there in deploy/ipk/... directories.

F.eg: in ...openpli/build-dm800se/tmp/deploy/ipk/...
Kdo nic nedělá, nic nezkazí!

Re: Compile pli image with ipk Packages #3 idealsat

  • Senior Member
  • 232 posts

0
Neutral

Posted 29 June 2012 - 14:24

i have dm800 envirnment.

when i go build-dm800/tmp/deploy/ipk

there is three folder all - dm800 - mipsel

where i put ipk package which folder.

And i put ipk package then its auto compile with image.?
when we install image in box then ipk package work in box.?

Thanks

Edited by bable, 29 June 2012 - 14:25.


Re: Compile pli image with ipk Packages #4 ims

  • PLi® Core member
  • 13,795 posts

+214
Excellent

Posted 29 June 2012 - 15:07

there are builded packages.

But as I see, you want make own .ipk. Plugin or so ? For it is enougt install ipkg util on dream and build it under box. See f.eg. http://www.oesf.org/...itle=IPKG_Howto
Kdo nic nedělá, nic nezkazí!

Re: Compile pli image with ipk Packages #5 idealsat

  • Senior Member
  • 232 posts

0
Neutral

Posted 30 June 2012 - 16:07

No i dont want to my own.

i download ipk package in pli image by telnet in dreambox and install in dreambox.Its working without issue.

My question is which ipk package download from pli image by telnet . how i can compile this ipk package with image.

I want to put ipk package permantly in box just install the image and all ipk package work.

Hope you got the point.

How i can compile ipk package with pli image compile.?

Thanks

Re: Compile pli image with ipk Packages #6 idealsat

  • Senior Member
  • 232 posts

0
Neutral

Posted 3 July 2012 - 20:05

Anybody know?

Re: Compile pli image with ipk Packages #7 ims

  • PLi® Core member
  • 13,795 posts

+214
Excellent

Posted 4 July 2012 - 08:36

my english is very bad, i dont understand you. You want compile ipk, but not own ipk. What you want compile ?

Or do you want to have installed wanted ipk after new flash of image ?
Kdo nic nedělá, nic nezkazí!

Re: Compile pli image with ipk Packages #8 Guardian

  • Senior Member
  • 104 posts

+2
Neutral

Posted 4 July 2012 - 10:46

I'll explain:

He want to compile a image with .ipk added for example:

Build openpli 2.1 add Cccam.ipk to sources and rebuild image.

Tip look @ .bb files

Re: Compile pli image with ipk Packages #9 MiLo

  • PLi® Core member
  • 14,055 posts

+298
Excellent

Posted 4 July 2012 - 13:24

Change openpli-enigma2-image.bb file (or create a new recipe that includes it) and add the package you want installed to the list. That will build and install the ipk into the rootfs.
Real musicians never die - they just decompose

Re: Compile pli image with ipk Packages #10 idealsat

  • Senior Member
  • 232 posts

0
Neutral

Posted 5 July 2012 - 00:57

Hi

Thanks for your reply.

Can you tell me little more how to change openpli-enigma2-image.bb file i need to put path there for ipk.?

Or

As you say ( (or create a new recipe that includes it) and add the package you want installed to the list.) i will create the recipe where i found file installed to the list.?

Sorry little confuse.

Can you tell me step by step with some example.?

Thanks

Re: Compile pli image with ipk Packages #11 eagleLS

  • Member
  • 18 posts

0
Neutral

Posted 27 January 2013 - 10:47

Change openpli-enigma2-image.bb file (or create a new recipe that includes it) and add the package you want installed to the list. That will build and install the ipk into the rootfs.


And how do you install an ipk already compiled into the rootfs?

Thanks

Re: Compile pli image with ipk Packages #12 Persian Prince

  • Senior Member
  • 1,982 posts

+247
Excellent

Posted 27 January 2013 - 11:12

best way is to add a bitbake recipe for example myownfile.bb to your OE , then upload the sources on github and optimize myownfile.bb for it like e2openplugins

use PROVIDES , for example "blablaooooblabla" then you can add blablaooooblabla as a package to openpli-enigma2-image.bb

;)

Open Vision sources: https://github.com/OpenVisionE2


Re: Compile pli image with ipk Packages #13 eagleLS

  • Member
  • 18 posts

0
Neutral

Posted 27 January 2013 - 11:34

best way is to add a bitbake recipe for example myownfile.bb to your OE , then upload the sources on github and optimize myownfile.bb for it like e2openplugins

use PROVIDES , for example "blablaooooblabla" then you can add blablaooooblabla as a package to openpli-enigma2-image.bb

;)


Ok but without upload to github?? with local folder is not possible?

Thanks

Re: Compile pli image with ipk Packages #14 MiLo

  • PLi® Core member
  • 14,055 posts

+298
Excellent

Posted 28 January 2013 - 11:22

You can supply "file://${HOME}/some/folder/some/file" as SRC_URI to fetch local files.

Doing so will of course make whatever you do unusable for other people.
Real musicians never die - they just decompose

Re: Compile pli image with ipk Packages #15 noob69

  • Member
  • 9 posts

0
Neutral

Posted 29 January 2013 - 11:06

Can we read the ipk file from sources directory but without ${HOME} so it can be read from any system ?

Re: Compile pli image with ipk Packages #16 MiLo

  • PLi® Core member
  • 14,055 posts

+298
Excellent

Posted 29 January 2013 - 13:00

yes.
Real musicians never die - they just decompose

Re: Compile pli image with ipk Packages #17 eagleLS

  • Member
  • 18 posts

0
Neutral

Posted 2 February 2013 - 18:31

You can supply "file://${HOME}/some/folder/some/file" as SRC_URI to fetch local files.

Doing so will of course make whatever you do unusable for other people.


myplugin.bb creating a folder /myplugin into /tmp/deploy/ipk with inside the ipk's BUT now how can I insert into image this packages? modifing "openpli-enigma2-image.bb"?? HOW?

Thanks

Re: Compile pli image with ipk Packages #18 eagleLS

  • Member
  • 18 posts

0
Neutral

Posted 5 February 2013 - 14:34

Help...

Re: Compile pli image with ipk Packages #19 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 5 February 2013 - 15:12

See this example that I just included.

In that example I made my own bb files for oscam. One oscam whit pcsc support another whitout.

I build my image with bitbake cvr-image.

See the locations of the files . It's for openpli 3.0.

You just have to do something similar but then with Your own plugins.

It will build Image and feeds.

Any change to the openpli 3.0 git will not affects my adds. No need to stash. Before a git rebase or update.

Attached Files



Re: Compile pli image with ipk Packages #20 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 8 February 2013 - 16:20

I've improved the local recipes for oscam.

The best way is first to make a brandnew fresh build off image (with make image)

Then instead off building the feeds with bitbake openpli-enigma2-feed

First run the git patch included here to remove the crappy included oscam's build.
(I just modified the pli's softcams meta file in order to build all cams except the oscam's)

Copy the recipes local folder to your openpli-oe-core

and build the feeds with

bitbake cvr-image

These recipes will build the latest avbl oscam (the experimental one) configs are in /etc/tuxbox/config/oscam with smargo support webif and ssl (libusb static into binary) Binary called oscam and
the the same oscam but with pcsc cardreader support. With this one configs are in /etc/tuxbox/config/oscam-pcsc . Also libusb,libccid and pcsclite will be installed to your box. for that reason this binary does not have staticlibusb included but dynamic linked libusb1 support. (means that libusb must be installed on box in order to run binary) Binary called oscam-pcsc

Also I added smargo uitil as independend package again but now updated to latest svnrev. (If smargo-list was installed to your box previousely it must be uninstalled first. or just remove the smargo-list binary from /usr/lib)

Attached Files




6 user(s) are reading this topic

0 members, 6 guests, 0 anonymous users