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.
Openpli-5 (still next master)
Re: Openpli-5 (still next master) #21
Posted 8 January 2016 - 18:10
* 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
Re: Openpli-5 (still next master) #23
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 Ultimate (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
Re: Openpli-5 (still next master) #25
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
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
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
Posted 9 January 2016 - 07:56
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.
Re: Openpli-5 (still next master) #29
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
Posted 9 January 2016 - 09:22
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.
Re: Openpli-5 (still next master) #31
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
Re: Openpli-5 (still next master) #33
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.
Re: Openpli-5 (still next master) #34
Posted 9 January 2016 - 11:43
I prefer local copy of the git. Then this cannot happen and I can merge whenever I want.
Re: Openpli-5 (still next master) #35
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
Posted 9 January 2016 - 13:11
...
After build on the box it just didopkg install enigma2 --force-reinstallNow 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 withopkg 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).
Re: Openpli-5 (still next master) #37
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.
Re: Openpli-5 (still next master) #38
Re: Openpli-5 (still next master) #39
Posted 9 January 2016 - 14:03
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)} \
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916
Re: Openpli-5 (still next master) #40
13 user(s) are reading this topic
0 members, 13 guests, 0 anonymous users