Jump to content


Photo

Why umpten hours to upgrade picons...?


  • Please log in to reply
5 replies to this topic

#1 nor50

  • Senior Member
  • 146 posts

+1
Neutral

Posted 13 June 2018 - 12:05

Why does it take so long to upgrade picons? VU+ Solo 4K/6.2?



Re: Why umpten hours to upgrade picons...? #2 WanWizard

  • Forum Moderator
    PLi® Core member
  • 40,290 posts

+627
Excellent

Posted 13 June 2018 - 13:09

Very good question. We've noticed it too.

 

Installing them is quick, even on a slower box and an USB 2.0 stick:

root@et10000:~# time opkg install enigma2-plugin-picons-srp-full.220x132-190x102.light.on.transparent --add-dest /media/usb:/media/usb -d /media/usb
Installing enigma2-plugin-picons-srp-full.220x132-190x102.light.on.transparent (2018-06-11--01-05) on /media/usb.
Downloading http://downloads.openpli.org/feeds/openpli-6-release/3rd-party/enigma2-plugin-picons-srp-full.220x132-190x102.light.on.transparent_2018-06-11--01-05-15_all.ipk.
Configuring enigma2-plugin-picons-srp-full.220x132-190x102.light.on.transparent.

real	0m18.810s
user	0m7.890s
sys	0m3.531s

But upgrading them takes ages for some reason.

 

It may have to do with the fact that opkg needs to track every file for version management, which means a lot of I/O for about 9000 image files and 12000 symlinks.

 

I've created a ticket for it: https://devtools.ope....org/issues/127

 

edit: for comparison, an update of the same picons package takes:

real 25m28.579s
user 24m56.715s
sys 0m28.376s

Edited by WanWizard, 13 June 2018 - 13:53.

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

Currently in active use: HD2400 (4xS2)VU+Duo2 (3xS2)VU+Zero, Edision OS mini+, ET10000 (4xS2)

For testing purposes: XP1000Formuler F1 (2xS2)Miraclebox Premium Micro (S2+C/T),  ET7500 (S2)ET8500 (S2), Zgemma H2.H (S2+C)Zgemma H5.2TC (S2+C/T), SAB TripleAlpha (S2+C/T), Galaxy 4K (FBC), VU Zero 4K, Edision OS nino 


Re: Why umpten hours to upgrade picons...? #3 Abu Baniaz

  • Senior Member
  • 573 posts

+14
Neutral

Posted 13 June 2018 - 16:30

can we make it a removal of old and installation of new process instead of upgrade?

Re: Why umpten hours to upgrade picons...? #4 WanWizard

  • Forum Moderator
    PLi® Core member
  • 40,290 posts

+627
Excellent

Posted 13 June 2018 - 16:39

Manually, yes. But I prefer not to have hardcoded workarounds in the code.

 

But I was more thinking about a different way of generating the ipk, by making a tarball of the images and symlinks and package that, or add a prerm script that removes them and find a way to tell opkg not to track them.

 

Needs some testing, but I've got more pressing issues to look at at the moment...


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

Currently in active use: HD2400 (4xS2)VU+Duo2 (3xS2)VU+Zero, Edision OS mini+, ET10000 (4xS2)

For testing purposes: XP1000Formuler F1 (2xS2)Miraclebox Premium Micro (S2+C/T),  ET7500 (S2)ET8500 (S2), Zgemma H2.H (S2+C)Zgemma H5.2TC (S2+C/T), SAB TripleAlpha (S2+C/T), Galaxy 4K (FBC), VU Zero 4K, Edision OS nino 


Re: Why umpten hours to upgrade picons...? #5 nor50

  • Senior Member
  • 146 posts

+1
Neutral

Posted 14 June 2018 - 16:37

BTW, who/where etc to mention missing picons?



Re: Why umpten hours to upgrade picons...? #6 WanWizard

  • Forum Moderator
    PLi® Core member
  • 40,290 posts

+627
Excellent

Posted 14 June 2018 - 17:21

Picons are maintained here: https://www.picons.eu


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

Currently in active use: HD2400 (4xS2)VU+Duo2 (3xS2)VU+Zero, Edision OS mini+, ET10000 (4xS2)

For testing purposes: XP1000Formuler F1 (2xS2)Miraclebox Premium Micro (S2+C/T),  ET7500 (S2)ET8500 (S2), Zgemma H2.H (S2+C)Zgemma H5.2TC (S2+C/T), SAB TripleAlpha (S2+C/T), Galaxy 4K (FBC), VU Zero 4K, Edision OS nino 





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users