Jump to content


Photo

opkg tools ARM version


  • Please log in to reply
30 replies to this topic

Re: opkg tools ARM version #21 Persian Prince

  • Senior Member
  • 1,965 posts

+246
Excellent

Posted 1 October 2017 - 21:09

For creating ipk you can use https://forums.openp...d-generator-10/

For extracting ipk you can use 7-zip in windows with * option ;)

Open Vision sources: https://github.com/OpenVisionE2


Re: opkg tools ARM version #22 Abu Baniaz

  • PLi® Contributor
  • 1,984 posts

+53
Good

Posted 1 October 2017 - 22:48

I meant with the files that people are posting. BTW, 7zip does not unpack the control files and pre/post install files

 

The goal is unpack an ipk, change files, update it, repack it, share it.

 

opkg tools does this as a self-sufficient plugin.



Re: opkg tools ARM version #23 Persian Prince

  • Senior Member
  • 1,965 posts

+246
Excellent

Posted 2 October 2017 - 02:05

I think you don't know what 7-zip could do in windows then ;)

Soon I'll record a video for you (7-zip + IPK Creator) :)

Open Vision sources: https://github.com/OpenVisionE2


Re: opkg tools ARM version #24 WanWizard

  • PLi® Core member
  • 62,107 posts

+1,461
Excellent

Posted 2 October 2017 - 14:52

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

 

On my own servers (RHEL7) and on our buildservers that doesn't work with the ipk's our buildserver generates.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), SAB AlphaTriple HD (S2+T2), (Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will have periods of inactivity, during which I don't respond to posts or PM.

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


Re: opkg tools ARM version #25 Dimitrij

  • PLi® Core member
  • 8,619 posts

+286
Excellent

Posted 3 October 2017 - 20:31

New EN version

/usr/bin/ipk-maker make_dir /tmp/IPK-BUILD

chown -Rh root:root /tmp/IPK-BUILD
/usr/bin/ipk-maker build /tmp/IPK-BUILD

Edited by Dimitrij, 3 October 2017 - 20:40.

Duo 4K/Lunix3-4K/Solo 4K


Re: opkg tools ARM version #26 Persian Prince

  • Senior Member
  • 1,965 posts

+246
Excellent

Posted 7 October 2017 - 07:19

Simple video example for extracting ipk inside windows using 7-zip ;)

Attached Files


Open Vision sources: https://github.com/OpenVisionE2


Re: opkg tools ARM version #27 Loui (PD1LOI)

  • Senior Member
  • 4,058 posts

+109
Excellent

Posted 27 January 2019 - 20:35

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 :)


Bij mij werkt het ook op mijn Mutant HD51.

Edited by Loui (PD1LOI), 27 January 2019 - 20:36.


Re: opkg tools ARM version #28 Abu Baniaz

  • PLi® Contributor
  • 1,984 posts

+53
Good

Posted 24 January 2022 - 08:58

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?

 

Are there any updated instructions please? LraiZer's script does not work on newer versions of linux.

 

https://forums.openpli.org/topic/55844-autobouquet-plugin/#entry809255

Edited by Abu Baniaz, 24 January 2022 - 09:26.


Re: opkg tools ARM version #29 LraiZer

  • Senior Member
  • 95 posts

+18
Neutral

Posted 25 January 2022 - 22:47

For Ubuntu 20.04.3 LTS, try install the missing required tools ar and fakeroot.

 

sudo apt install binutils fakeroot
 
also change this code in both the unpack and the repack scripts to find .xz as well as .gz archives
 
 
from
for f in *.tar.gz;
to
for f in *.tar.*z;
 
 


Re: opkg tools ARM version #30 LraiZer

  • Senior Member
  • 95 posts

+18
Neutral

Posted 26 January 2022 - 00:48

Are there any updated instructions please? LraiZer's script does not work on newer versions of linux.

https://forums.openpli.org/topic/55844-autobouquet-plugin/#entry809255

 

 

 

For Ubuntu 20.04.3 LTS, try install the missing required tools ar and fakeroot.

 

sudo apt install binutils fakeroot
 
also change this code in both the unpack and the repack scripts to find .xz as well as .gz archives
 
 
from
for f in *.tar.gz;
to
for f in *.tar.*z;

 

 

also change this code in the repack script so that archive manager in Ubuntu can detect the repacked .ipk as a valid archive type. debian-binary needs to be first packaged file read by the archive manager.

 

from

ar -r $BASENAME *.tar.gz debian-binary

to

ar -r $BASENAME debian-binary *.tar.gz


Re: opkg tools ARM version #31 Abu Baniaz

  • PLi® Contributor
  • 1,984 posts

+53
Good

Posted 26 January 2022 - 14:57

Thank you.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users