Jump to content


Photo

opkg tools ARM version


  • Please log in to reply
33 replies to this topic

Re: opkg tools ARM version #21 Persian Prince

  • Senior Member
  • 1,982 posts

+247
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
  • 2,435 posts

+62
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,982 posts

+247
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
  • 68,564 posts

+1,737
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), 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 #25 Dimitrij

  • PLi® Core member
  • 9,995 posts

+338
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.

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


Re: opkg tools ARM version #26 Persian Prince

  • Senior Member
  • 1,982 posts

+247
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,528 posts

+140
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
  • 2,435 posts

+62
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
  • 101 posts

+19
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
  • 101 posts

+19
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
  • 2,435 posts

+62
Good

Posted 26 January 2022 - 14:57

Thank you.



Re: opkg tools ARM version #32 Abu Baniaz

  • PLi® Contributor
  • 2,435 posts

+62
Good

Posted 20 December 2022 - 02:18

I have updated to Ubuntu 22.04 and this is failing again.

 

All I want to do is to unpack ABM, remove the dependencies from control file, and then remake the ipk fro benefit of people on older images who cannot  update. The gcc version is dependent on build machine.

 

Any help will be greatly appreciated. 


Edited by Abu Baniaz, 20 December 2022 - 02:18.


Re: opkg tools ARM version #33 WanWizard

  • PLi® Core member
  • 68,564 posts

+1,737
Excellent

Posted 20 December 2022 - 12:52

I still use ar, on Fedora Linux:

[wanwizard@alfred] $ ar V
GNU ar version 2.38-25.fc37
Copyright (C) 2022 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.

 


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 #34 Dimitrij

  • PLi® Core member
  • 9,995 posts

+338
Excellent

Posted 20 December 2022 - 16:37

1)

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

 

2)

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

 

 

3)when update ar

ln -sfn /usr/bin/arm-linux-gnueabihf-ar /usr/bin/ar

 

 

Attached Files


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



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users