Jump to content


Photo

Openpli-5 (still next master)


  • Please log in to reply
1177 replies to this topic

Re: Openpli-5 (still next master) #21 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 8 January 2016 - 18:10

Why don't we simply get samba out of the image and make it optional (feed only)? Then only the windows-file-sharing-die-hards have the disadvantage of the large image.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Openpli-5 (still next master) #22 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 8 January 2016 - 18:11

+1


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Openpli-5 (still next master) #23 WanWizard

  • PLi® Core member
  • 68,309 posts

+1,719
Excellent

Posted 8 January 2016 - 18:13

Because most people expect it to be there? I don't use it either, so I don't mind, just saying that if we decide to do this, we better communicate this up front.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Openpli-5 (still next master) #24 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 8 January 2016 - 18:14

But when we do this it might be helpfull we create an ipk so they can install it via the UI...


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Openpli-5 (still next master) #25 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 8 January 2016 - 18:16

Apparently some devs already took a shot at inflating samba and I frankly don't think it will get much smaller than this.

 

On the other hand, what is large? STB's have huge flash memories nowadays.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Openpli-5 (still next master) #26 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 9 January 2016 - 04:19

Well I personnally use nfs. OK my stb's are only nfs clients. and I mount the exports at boot time via fstab. I do not have nfs server on stb.

 

But could not be easier an more lightweight to install an nfs server on stb instead off samba for the interbox connections. Runs better then samba especially for stb's with GB network cards and connected in Gb network.

On the other hand users with windows pc will not have the stb anymore in there shares.



Re: Openpli-5 (still next master) #27 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 9 January 2016 - 05:40

@MiLo,

 

Is there not a way to reanable easier way to habdle packages.

 

Like for development it was easy to 1) just rebuild the package or at least some packages like enigma2 and other as long the bb file was adapted to have all m4 macro's linked into build.

Then You could rebuild e2 with modified code by just using :

MACHINE=vuduo2 bitbake -b ../meta-openpli/recipes-openpli/enigma2/enigma2.bb -f -c configure
MACHINE=vuduo2 bitbake -b ../meta-openpli/recipes-openpli/enigma2/enigma2.bb


After build on the box it just did

opkg install enigma2 --force-reinstall

Now this can be done anymore. I always have to at least extra run rootfs on the image (and that's really to long) this then also followed by the box first with

opkg update
opkg install enigma2 --force-reinstall


Re: Openpli-5 (still next master) #28 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 9 January 2016 - 07:56

Use -b option only when you compile your local git with own changes.
If you want to compile e2 from normal openpli github git you can use
bitbake -c cleansstate enigma2
bitbake enigma2

For local git package creation don't work afaik. But you can still use "bitbake -c compile -f -b <path to local git clone>/enigma2.bb" and this builds e2 binary. Just copy binary to the box and you can test.

Edited by betacentauri, 9 January 2016 - 07:57.

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

Re: Openpli-5 (still next master) #29 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 9 January 2016 - 08:51

Use -b option only when you compile your local git with own changes.
If you want to compile e2 from normal openpli github git you can use
bitbake -c cleansstate enigma2
bitbake enigma2

For local git package creation don't work afaik. But you can still use "bitbake -c compile -f -b <path to local git clone>/enigma2.bb" and this builds e2 binary. Just copy binary to the box and you can test.

Now that's not the problem I met.

 

Yes I use the -b option cause I rebuild modified package from an already build package. package and build is fine (I added link to all m4 macros into my bb file). And absolutely do not wan't the full image to build (parse and so that's all unneeded time). It's just one package.

 

But with master-next now we can not install the modified package anymore. That's the problem.  It's just tells You that the sources (ipk) fails is corrupt because it does I check on the file lenght, that's the problem.

 

So now to let it work (cause i just needed to reconfigure and rebuild e2 with for example a slight modification as test off something into let's say module servicemp3.c) You can not in that case use bitbake whitout the -b option. As it will start the whole parsing process and so on which is not needed and a terrible waist off time.

 

After You change You just do :

MACHINE=vuduo2 bitbake -b ../meta-openpli/recipes-openpli/enigma2/enigma2.bb -f -c configure
MACHINE=vuduo2 bitbake -b ../meta-openpli/recipes-openpli/enigma2/enigma2.bb

And You will have the package which was present just overwritten. (that's enough)

 

Then You do (it always worked) By You're box

opkg install enigma2 --force-reinstall

Actually I just do it like this

init 2
opkg install enigma2 --force-reinstall
enigma2.sh

Then I can see in log what my change is doeing.

 

But now it does not do the install anymore as it breaks on that the file is corrupt  off course I do know that it's different and it must for that reason --force-reinstall is issued.

 

This always worked now anymore now I have to do

MACHINE=vuduo2 bitbake -b ../meta-openpli/recipes-openpli/enigma2/enigma2.bb -f -c configure
MACHINE=vuduo2 bitbake -b ../meta-openpli/recipes-openpli/enigma2/enigma2.bb
MACHINE=vuduo2 bitbake -b ../meta-local/recipes-local/images/cvr-image.bb -f -c rootfs

and on the box

init 2
opkg update
opkg install enigma2 --force-reinstall
enigma2.sh # to log

The fact that I have to do that rootfs is a terrible waist of time.



Re: Openpli-5 (still next master) #30 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 9 January 2016 - 09:22

As said then only compile e2 binary with
bitbake -f -c compile -b .../enigma2.bb
Copy the e2 binary and the changed Python files to your box and your problem is "solved". Yes, it's so nice, because you can forget to copy a file and e2 binary is not stripped, but it works. I always do it like that, because I often only need adapted e2 binary.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Openpli-5 (still next master) #31 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 9 January 2016 - 09:57

You can strip the binary manually, look in the sdk's arch's compiler binary directory and use the strip command ;) Otherwise it will take up (too) much space (also in RAM).


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Openpli-5 (still next master) #32 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 9 January 2016 - 11:00

I know ;) Sometimes I use it but not very often.
Never had problems with unstripped binary on my Xtrend boxes.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Openpli-5 (still next master) #33 mirakels

  • Forum Moderator
    PLi® Core member
  • 7,598 posts

+62
Good

Posted 9 January 2016 - 11:24

I removed  'rm_work'  (takes some disk space but alas).

Then I just develop in enigma2 stage dir and start the run.do_compile in the temp dir to get it compiled again. When finished I copy the enigma2 binary to the testbox. Never had issues with unstripped enigma2.

When satisfied I run a diff on the orignal sourcs and apply that to my enigma2 git and commit.


Geen wonder... Had slechts een dm7000, maar wel ook een rotor. eigenlijk al een tijdje ook een dm600 en dm7025. Maar nu kijkend met een et9000 en vuduo

Re: Openpli-5 (still next master) #34 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 9 January 2016 - 11:43

The problem with it is that when somebody commits a new patch, the build env will download and build new version. Then you have to copy your changes to new directory or set fix commit hash in bb file.
I prefer local copy of the git. Then this cannot happen and I can merge whenever I want.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Openpli-5 (still next master) #35 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 9 January 2016 - 11:47

I start of like Mirakels, then copy (and modify!) the do_configure script that bitbake generates, copy that to my local enigma2 clone and run it there. After that, you can edit, compile (make), git commit etc. just like any other "normal" project.

 

To generate a package I temporarily change the URI in my build environment and have it point to my local enigma2 clone.

 

This also as information for those who think it's "simple" to test everything before pushing it...


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Openpli-5 (still next master) #36 MiLo

  • PLi® Core member
  • 14,042 posts

+298
Excellent

Posted 9 January 2016 - 13:11

...
After build on the box it just did

opkg install enigma2 --force-reinstall
Now this can be done anymore. I always have to at least extra run rootfs on the image (and that's really to long) this then also followed by the box first with
opkg update
opkg install enigma2 --force-reinstall


Run "bitbake package-index" after running "bitbake enigma2", that will update the package.gz files so the box will 'see' the new ones after opkg update.

you can of course always just scp the binaries to the box (e.g. if you changed C code, just upload the new enigma2 binary).
Real musicians never die - they just decompose

Re: Openpli-5 (still next master) #37 blzr

  • PLi® Core member
  • 2,269 posts

+118
Excellent

Posted 9 January 2016 - 13:28

In these (rare) cases I need to test something in enigma, I make changes in my cloned e2 repo, then simply build using .bb recipe included in (local) enigma2 repo

bitbake -b ~/enigma2/e2/enigma2.bb

as a result I have stripped binary, and even all e2 ipk packages

(for master-next you only need to change GST_MAJORMINOR=0.10 to 1.0 in configure.ac)


Edited by blzr, 9 January 2016 - 13:29.

True sarcasm doesn't need green font...

Re: Openpli-5 (still next master) #38 daimon

  • Senior Member
  • 220 posts

+5
Neutral

Posted 9 January 2016 - 13:46

upgrade building pli 5 dm8000 fails with this error

 

error
opkg_prepare url_for install: Could not find anything to Satisfy 'enigma2-plugin-systemplugins-frontprocessorupgrade'.



Re: Openpli-5 (still next master) #39 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 9 January 2016 - 14:03

It will be removed soon.

diff --git a/meta-openpli/recipes-openpli/images/openpli-enigma2-image.bb b/meta-openpli/recipes-openpli/images/openpli-enigma2-image.bb
index 09342df..7f0921b 100644
--- a/meta-openpli/recipes-openpli/images/openpli-enigma2-image.bb
+++ b/meta-openpli/recipes-openpli/images/openpli-enigma2-image.bb
@@ -59,7 +59,6 @@ ENIGMA2_PLUGINS = " \
        \
        ${@base_contains("MACHINE_FEATURES", "3dtv", "enigma2-plugin-systemplugins-osd3dsetup" , "", d)} \
        ${@base_contains("MACHINE_FEATURES", "dvb-c", "enigma2-plugin-systemplugins-cablescan" , "", d)} \
-       ${@base_contains("MACHINE_FEATURES", "frontprocessor", "enigma2-plugin-systemplugins-frontprocessorupgrade" , "", d)} \
        ${@base_contains("MACHINE_FEATURES", "hdmicec", "enigma2-plugin-systemplugins-hdmicec" , "", d)} \
        ${@base_contains("MACHINE_FEATURES", "osdposition", "enigma2-plugin-systemplugins-osdpositionsetup" , "", d)} \
        ${@base_contains("MACHINE_FEATURES", "wlan", "enigma2-plugin-systemplugins-wirelesslan", "", d)} \

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: Openpli-5 (still next master) #40 daimon

  • Senior Member
  • 220 posts

+5
Neutral

Posted 9 January 2016 - 14:08

disabling the plugin in openpli-enigma2-image.bb

the building is successful.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users