Springen naar inhoud


Foto

opkg tools ARM version


  • Please log in to reply
Er zijn 33 reacties in dit onderwerp

#1 Abu Baniaz

  • PLi® Contributor
  • 2414 berichten

+61
Good

Geplaatst op 28 augustus 2017 - 07:24

Is there an arm version of opkg tools?

Thanks in advance

Re: opkg tools ARM version #2 Caught

  • Senior Member
  • 471 berichten

+105
Excellent

Geplaatst op 30 augustus 2017 - 23:02

Try this one, and please give some feedback.

 

 

Bijgevoegde Bestanden


Veranderd door Caught, 30 augustus 2017 - 23:02

TV Samsung UE55F & Samsung UHD UE49KU

Xtrend 10K DVB-S2 tuner x3

Mutant HD51

DM500HD S 

Images: PLi
Triax 78 USALS
Triax 78 Triple LNB Quad


Re: opkg tools ARM version #3 Abu Baniaz

  • PLi® Contributor
  • 2414 berichten

+61
Good

Geplaatst op 31 augustus 2017 - 01:11

Thanks.

I got the following:


root@vusolo4k:~# cd /hdd/ipkg-tools
root@vusolo4k:/media/hdd/ipkg-tools# opkg-unbuild enigma2-plugin-systemplugins-autobouquetsmaker_2.1+git314+fdf5103-r1_vusolo4k.ipk
['/bin/opkg-unbuild', 'enigma2-plugin-systemplugins-autobouquetsmaker_2.1+git314+fdf5103-r1_vusolo4k.ipk']
ar: unrecognized file type
tar: invalid magic
tar: short read
tar: can't open 'enigma2-plugin-systemplugins-autobouquetsmaker_2.1+git314+fdf5103-r1_vusolo4k/data.tar.gz': No such file or directory
tar: can't open 'enigma2-plugin-systemplugins-autobouquetsmaker_2.1+git314+fdf5103-r1_vusolo4k/control.tar.gz': No such file or directory
root@vusolo4k:/media/hdd/ipkg-tools#


Re: opkg tools ARM version #4 Abu Baniaz

  • PLi® Contributor
  • 2414 berichten

+61
Good

Geplaatst op 31 augustus 2017 - 01:46

I was able to un-build another ipk file. Alter the control file and then re-build it. The re-created plugin, list missing picons worked fine on the arm receiver.

As a differnt test...
It seems that the un-build fails at the filetype recognition.
I could not un-build "enigma2-plugin-systemplugins-autobouquetsmaker_2.1+git314+fdf5103-r1_vusolo4k.ipk" which I got from the plugin server with the download command
However, I could un-build "enigma2-plugin-systemplugins-autobouquetsmaker_20170204_armv7ahf-vfp-neon.ipk" which I got from a forum.

I think, anything after the first "." is being treated as the file type, rather than everything after the last "."

Renaming the plugin allowed successful un-building.

from
 
enigma2-plugin-systemplugins-autobouquetsmaker_2.1+git314+fdf5103-r1_vusolo4k.ipk
to
enigma2-plugin-systemplugins-autobouquetsmaker_2_1+git314+fdf5103-r1_vusolo4k.ipk
I can unpack "enigma2-plugin-systemplugins-autobouquetsmaker_2.1+git314+fdf5103-r1_vusolo4k.ipk" using 7zip on my windows PC without a problem.
I tried ipkg-utils on the same ipk using Ubuntu 16.04 desktop, it did not un-build it either.

Re: opkg tools ARM version #5 Pr2

  • PLi® Contributor
  • 6046 berichten

+256
Excellent

Geplaatst op 31 augustus 2017 - 17:58

Why do you try something complicate? The .ipk extension is just a .tgz (tar gunzip) file, change the extension to .tgz and you can open it up with any decompressor on PC or use:

 

tar -xvzf myipk.tgz

 

Pr2


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: opkg tools ARM version #6 Caught

  • Senior Member
  • 471 berichten

+105
Excellent

Geplaatst op 31 augustus 2017 - 18:17

Well, complicated not at all... 

I did a quick modification last evening to get it work on my HD51 (arm) box, a small test showed un-build/build was ok.

This afthernoon I've tried to un-build the ipk's from Abu Baniaz also succeed.

To build you need to avoid "_" maybe that was the problem I dont know for sure, but if you use the legal characters ([a-z 0-9.+-]) (no underscore) than I guess It works.

Im agree there are other (better) methods  :) 


TV Samsung UE55F & Samsung UHD UE49KU

Xtrend 10K DVB-S2 tuner x3

Mutant HD51

DM500HD S 

Images: PLi
Triax 78 USALS
Triax 78 Triple LNB Quad


Re: opkg tools ARM version #7 betacentauri

  • PLi® Core member
  • 7185 berichten

+323
Excellent

Geplaatst op 31 augustus 2017 - 19:26

Why do you try something complicate? The .ipk extension is just a .tgz (tar gunzip) file, change the extension to .tgz and you can open it up with any decompressor on PC or use:

tar -xvzf myipk.tgz

Pr2


No. It's an ar archive.
To unpack it just execute this on the box:
ar x file.ipk
Then a control.tar.gz, a data.tar.gz and a debian-binary is generated.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: opkg tools ARM version #8 Abu Baniaz

  • PLi® Contributor
  • 2414 berichten

+61
Good

Geplaatst op 31 augustus 2017 - 23:54

Unless someone can give explicit instructions, opkg-tools remains easiest thing to use. The fact the upload in post 2 cannot handle more than one "." is a minor issue.

Using the "ar x file.ipk" instruction works with more than one "." in name of file.

Re: opkg tools ARM version #9 willy01

  • Senior Member
  • 268 berichten

+8
Neutral

Geplaatst op 27 september 2017 - 14:32

i´ve build one opkg tool ipk for ARM.

intressted?


Veranderd door willy01, 27 september 2017 - 14:34


Re: opkg tools ARM version #10 willy01

  • Senior Member
  • 268 berichten

+8
Neutral

Geplaatst op 27 september 2017 - 16:16

sorry, can´t delete post, don´t work with PLi :D



Re: opkg tools ARM version #11 Dimitrij

  • PLi® Core member
  • 9969 berichten

+335
Excellent

Geplaatst op 28 september 2017 - 16:07

create ipk for arm...

commands:

make folder

1)ipk-maker make_dir /tmp/IPK-BUILD

make ipk

2)chown -Rh root:root /tmp/IPK-BUILD
ipk-maker build /tmp/IPK-BUILD


Veranderd door Dimitrij, 28 september 2017 - 16:11

GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: opkg tools ARM version #12 Abu Baniaz

  • PLi® Contributor
  • 2414 berichten

+61
Good

Geplaatst op 28 september 2017 - 20:37

What about unmake please? I would hope a simple/straightforward process like opkg-tools



Re: opkg tools ARM version #13 Dimitrij

  • PLi® Core member
  • 9969 berichten

+335
Excellent

Geplaatst op 29 september 2017 - 06:02

examples:
  $program make_dir $IPKDIR
  $program build $IPKDIR
  $program unbuild $IPKDIR /tmp/any-package_0.1_all.ipk

GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: opkg tools ARM version #14 betacentauri

  • PLi® Core member
  • 7185 berichten

+323
Excellent

Geplaatst op 29 september 2017 - 06:05

To extract an ipk, just put it on a box and call
ar x ipk_name

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

Re: opkg tools ARM version #15 SpaceRat

  • Senior Member
  • 1030 berichten

+65
Good

Geplaatst op 1 oktober 2017 - 14:43

To extract an ipk, just put it on a box and call

ar x ipk_name

Won't work if build machine is running a decently current Linsuxx:

 

root@quadbox ~ # ar x enigma2_6.1+git24971+71e5aa1-r0_quadbox2400.ipk
ar: unrecognized file type
 
Shittybox-ar is incompatible with current binutils-ar.

1st box: Vu+ Ultimo 4k 4xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
2nd box: Gigablue Quad 4k 2xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
testing boxes: Vu+ Duo² + AX Quadbox HD2400 + 2x Vu+ Solo² + Octagon SF4008
Sats & Pay-TV: Astra 19.2°E + Hotbird 13°E with Redlight / SCT HD / SES Astra HD- / Sky V14 / 4th empire propaganda TV
Card-Server: Raspberry Pi + IPv6-capable oscam
Router: Linksys WRT1900ACS w/ LEDE + Fritz!Box 7390

Re: opkg tools ARM version #16 WanWizard

  • PLi® Core member
  • 68309 berichten

+1719
Excellent

Geplaatst op 1 oktober 2017 - 16:21

What is "decently current"?

 

I'm running "GNU ar version 2.27-24.fc26" locally and that has no issue with ipk's generated by our buildservers? My servers run "GNU ar version 2.25.1-22.base.el7" and our buildservers use "GNU ar (GNU Binutils for Ubuntu) 2.26.1", but work fine too.


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: opkg tools ARM version #17 SpaceRat

  • Senior Member
  • 1030 berichten

+65
Good

Geplaatst op 1 oktober 2017 - 16:52

I think it started with the version coming with Wiibuntu 16.04, not sure which version of Debilian that matches.

The full versions of ar seem to be compatible to each other, just not the busybox-ar to the newer full ars.
1st box: Vu+ Ultimo 4k 4xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
2nd box: Gigablue Quad 4k 2xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
testing boxes: Vu+ Duo² + AX Quadbox HD2400 + 2x Vu+ Solo² + Octagon SF4008
Sats & Pay-TV: Astra 19.2°E + Hotbird 13°E with Redlight / SCT HD / SES Astra HD- / Sky V14 / 4th empire propaganda TV
Card-Server: Raspberry Pi + IPv6-capable oscam
Router: Linksys WRT1900ACS w/ LEDE + Fritz!Box 7390

Re: opkg tools ARM version #18 athoik

  • PLi® Core member
  • 8458 berichten

+327
Excellent

Geplaatst op 1 oktober 2017 - 17:45

I think the problem on busybox ar occurs when you are using the option D on host ar.

  [D]          - use zero for timestamps and uids/gids
Most probably when creating packages under host, it's better to use fakeroot instead of D option.
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: opkg tools ARM version #19 mrvica

  • Senior Member
  • 1218 berichten

+80
Good

Geplaatst op 1 oktober 2017 - 17:56

I´ve read somwhere that the new tar version can ar too, so ar is no longer needed, can someone confirm that

Re: opkg tools ARM version #20 Abu Baniaz

  • PLi® Contributor
  • 2414 berichten

+61
Good

Geplaatst op 1 oktober 2017 - 19:36

Many thanks for the uploads.

 

Can someone give me step by step instructions (an idiot's guide)  on how to un-build, edit and re-build the ipk?




1 gebruiker(s) lezen dit onderwerp

0 leden, 1 bezoekers, 0 anonieme gebruikers