opkg tools ARM version
Re: opkg tools ARM version #2
Re: opkg tools ARM version #3
Posted 31 August 2017 - 01:11
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
Posted 31 August 2017 - 01:46
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.ipkto
enigma2-plugin-systemplugins-autobouquetsmaker_2_1+git314+fdf5103-r1_vusolo4k.ipkI 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
Posted 31 August 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
Posted 31 August 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
Posted 31 August 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.
Re: opkg tools ARM version #8
Re: opkg tools ARM version #9
Re: opkg tools ARM version #10
Re: opkg tools ARM version #11
Re: opkg tools ARM version #12
Re: opkg tools ARM version #13
Re: opkg tools ARM version #14
Re: opkg tools ARM version #15
Posted 1 October 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
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
Posted 1 October 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 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: opkg tools ARM version #17
Posted 1 October 2017 - 16:52
The full versions of ar seem to be compatible to each other, just not the busybox-ar to the newer full ars.
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
Posted 1 October 2017 - 17:45
[D] - use zero for timestamps and uids/gidsMost probably when creating packages under host, it's better to use fakeroot instead of D option.
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916
Re: opkg tools ARM version #19
Re: opkg tools ARM version #20
4 user(s) are reading this topic
0 members, 4 guests, 0 anonymous users