Jump to content


Photo

OpenPLi develop image 8-3-2021


  • Please log in to reply
30 replies to this topic

Re: OpenPLi develop image 8-3-2021 #21 A.A.

  • Senior Member
  • 391 posts

+8
Neutral

Posted 19 August 2021 - 10:35

That is not the problem of the 106 packages.

 

There are two reasons for that: the feed build used to build the image again due to a dependency, and some TUNE_ARCH packages had dependencies on MACHINE_ARCH packages, causing them to be build multiple timers per TUNE_ARCH, which in turn caused the PR of the package in the image to be lower than the package in the feed. So opkg sees it as new, while they are binary the same.

 

The issue with incomplete updates is a massive shortcoming in opkg. If you do a simple "opkg upgrade" (which is what enigma does behind the scenes as well), it runs the pre- and post scripts of the packages out of sync. Which is especially a disaster if busybox is amongst the machines to update, as when it is removed for update, all linux commands are removed too (as they symlink into busybox), and after that, all scripts fail.

 

It would be great if we could switch to rpm (and systemd) for OpenPLi 9 or 10, so are don't have these issues anymore.

 

Honestly in this case the issue are the feeds and not opkg itself.

Remember the other package managers are much more heavy in term of size.

 

About systemd, well, people up in the linux chain decided it is the future, nevertheless sysvinit will remain for long in OE.

Cheers

A.A.



Re: OpenPLi develop image 8-3-2021 #22 WanWizard

  • PLi® Core member
  • 68,508 posts

+1,733
Excellent

Posted 19 August 2021 - 14:02

No, the problem described with opkg is the sequence in which the scripts are executed.

 

Say you have two packages, A and B, in the update.

 

What should happen is:

A - prerm
rm A
A - postrm
A - preinst
install A
A - postinst
B - prerm
rm B
B - postrm
B - preinst
install B
B - postinst

but what does happen is

A - prerm
rm A
A - postrm
B - prerm
rm B
B - postrm
A - preinst
install A
A - postinst
B - preinst
install B
B - postinst

which means that if B was dependent on A, the remove and/or install of B will fail.

 

This is most clearly with an update of busybox: the prerm will remove all symlinked shell commands before removing the busybox binary, after which a lot of scripts fail due to those commands no longer being there.
 


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 develop image 8-3-2021 #23 A.A.

  • Senior Member
  • 391 posts

+8
Neutral

Posted 19 August 2021 - 14:23

opkg is still maintained in OE, we should just open a bug.

 

There was a recent post last month:

https://lists.openem...83779506#153625



Re: OpenPLi develop image 8-3-2021 #24 WanWizard

  • PLi® Core member
  • 68,508 posts

+1,733
Excellent

Posted 19 August 2021 - 14:39

I'll try to constuct a properly documented case when I get back from holiday.


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 develop image 8-3-2021 #25 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 20 August 2021 - 17:19

„Maintained“. I have an open opkg ticket since almost 2 years. Well, maybe too unimportant as it’s not a bug. But shouldn’t be too difficult to fix…
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: OpenPLi develop image 8-3-2021 #26 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 20 August 2021 - 17:38

 

That is not the problem of the 106 packages.

 

There are two reasons for that: the feed build used to build the image again due to a dependency, and some TUNE_ARCH packages had dependencies on MACHINE_ARCH packages, causing them to be build multiple timers per TUNE_ARCH, which in turn caused the PR of the package in the image to be lower than the package in the feed. So opkg sees it as new, while they are binary the same.

 

The issue with incomplete updates is a massive shortcoming in opkg. If you do a simple "opkg upgrade" (which is what enigma does behind the scenes as well), it runs the pre- and post scripts of the packages out of sync. Which is especially a disaster if busybox is amongst the machines to update, as when it is removed for update, all linux commands are removed too (as they symlink into busybox), and after that, all scripts fail.

 

It would be great if we could switch to rpm (and systemd) for OpenPLi 9 or 10, so are don't have these issues anymore.

 

Honestly in this case the issue are the feeds and not opkg itself.

Remember the other package managers are much more heavy in term of size.

 

About systemd, well, people up in the linux chain decided it is the future, nevertheless sysvinit will remain for long in OE.

 

My $0.02, it's a diabolic choice. Either we stay at sysvinit which is inherently broken and cannot fulfill even simpelest service control, and we will be able to keep serving MIPS receivers, which often (but not always) are restricted on RAM and flash. Or we make the move to systemd, make full use of the capabilities of modern ARM based SoC's and RAM/flash and loose the MIPS receivers.

 

Same goes for RPM. RPM is really not "heavy", considering I was running it a my 80286 at 16 Mhz with < 1 Mbytes memory one day. All our SoC's are really well enough endowed to run RPM, no problem. I think keep using opkg is unnecessary, outdated and severely limiting.


* 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 develop image 8-3-2021 #27 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 20 August 2021 - 17:40

„Maintained“. I have an open opkg ticket since almost 2 years. Well, maybe too unimportant as it’s not a bug. But shouldn’t be too difficult to fix…

 

Agree. It looks like "nobody" uses opkg anymore. Which can be explained, imho, by the fact that it's inferior to rpm/deb and really no longer required.


* 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 develop image 8-3-2021 #28 Pr2

  • PLi® Contributor
  • 6,070 posts

+257
Excellent

Posted 20 August 2021 - 18:45

At some stage I think it is time to remove the plug. I really admire OpenPLi that spend lots of effort to build image for old boxes with low RAM. And then finally people complaints that they cannot use or install some plugins, load EPG, etc.
So why not announced that 8.1 will be the last image for MIPS boxes.
You continue to support out of sales boxes since years, that's nice but it is IT world so obsolescence cames much faster, and people will need to know that it is time to take a backup of there box to be able to reinstall them easily without any online feed.

NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: OpenPLi develop image 8-3-2021 #29 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 22 August 2021 - 12:44

This is something we have been discussing for several years now and it remains a difficult question.


* 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 develop image 8-3-2021 #30 WanWizard

  • PLi® Core member
  • 68,508 posts

+1,733
Excellent

Posted 22 August 2021 - 14:31

I think the answer is simple: we build as long as

  1. it is technically possible to do so (without too much effort)
  2. it produces a bootable image
  3. it produces a useful image

For the boxes with 128MB flash, at the moment point 3 is already questionable, but there is still space for a softcam, a channel list, and like an epg plugin (after flash about 10MB flash free).

 

I doubt that this will remain the case once we get to OpenPLi 9, but we won't know until we have a buildable hardknott image.

 

With the new server farm we now have the option to split a build run, so we could decide to remove those boxes from the nightly build (as nobody uses them for development or testing), but build them only on demand (for testing towards a release for example).


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 develop image 8-3-2021 #31 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 23 August 2021 - 18:51

I suspect that if we'd switch to systemd, a lot of older receivers would be impossible to build. RPM maybe too, but less likely.

 

For systemd we need the coorporation of the manufacturers because systemd relies on certain kernel features to be available. Still I think it's the one direction we should go. MiLo already has been testing with it on some receivers and apparently he got it working. I have too litle OE knowledge to lead the transition. I can help with the translation of init scripts to systemd config "unit" files though.


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



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users