[19. April 2013] A-400 Advanced Network Setup now available | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Post Reply 
[200] HOWTO package ipk file
09-03-2011, 12:28 PM
Post: #1
HOWTO package ipk file
i've been wresteling with creating ipkg file but for somehow i always loose my detailed info about the package.
I newly tried ipkg-utils package but i always get an md5sum mismatch if i want to install the package.

What method are you guys using? i have some 30 packages ready to be packaged and released.

A little help ould be appreciated.
Find all posts by this user
Add Thank You Quote this message in a reply
09-03-2011, 04:59 PM
Post: #2
RE: HOWTO package ipk file
(09-03-2011 12:28 PM)KidE79 Wrote:  i've been wresteling with creating ipkg file but for somehow i always loose my detailed info about the package.
I newly tried ipkg-utils package but i always get an md5sum mismatch if i want to install the package.

What method are you guys using? i have some 30 packages ready to be packaged and released.

A little help ould be appreciated.
Install the package ipkg-utils from ipkg. It provides the below python scripts.
ipkg-make-index - To make the index of your existing ipkg and create a Packages file.
ipkg-build - To build ipkg format by specifying the directory.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
Add Thank You Quote this message in a reply
09-03-2011, 05:34 PM
Post: #3
RE: HOWTO package ipk file
KidE79, feel free to update the NMT wiki with your findings!
http://www.networkedmediatank.com/wiki/index.php/Ipkg

It could use a refresh.

Audio, video, disco - I hear, I see, I learn.
Wiki. Wiki? Wiki!
Find all posts by this user
Add Thank You Quote this message in a reply
10-09-2011, 11:41 AM (This post was last modified: 10-09-2011 12:36 PM by KidE79.)
Post: #4
RE: HOWTO package ipk file
could you please explain exactly how to handle the ipkg-make-index and ipkg-build commands since i cant find a reference of manual for it.


(10-09-2011 11:41 AM)KidE79 Wrote:  could you please explain exactly how to handle the ipkg-make-index and ipkg-build commands since i cant find a reference of manual for it.

e.g. it would be nice to know what the differen5t switches do

/usr/local/bin/ipkg-make-index [-h] [-s] [-m] [-l Packages.filelist] [-p Packages] [-r Packages.old] [-L localesdir] [-v] packagesdir

Usage: /usr/local/bin/ipkg-build [-c] [-C] [-o owner] [-g group] <pkg_directory> [<destination_directory>]

If i do a
Find all posts by this user
Add Thank You Quote this message in a reply
10-09-2011, 01:23 PM
Post: #5
RE: HOWTO package ipk file
i managed to build a test paclage with ipkg-build but again i lose the package description like shown below

Code:
ncurses-term - 5.2-1 - terminal type definitions
ncurses-term - 5.9-20110813

I used exact the same control file as the original package but yet again without any luck.

Beside the ipkg-build what does the make-index add for features/functionality?
Find all posts by this user
Add Thank You Quote this message in a reply
10-09-2011, 01:38 PM
Post: #6
RE: HOWTO package ipk file
ipkg-make-index will find all packages in the specified directory and get the control file from the .ipk file and index them according to ascending order and creates 3 files, Packages which is the master file required to install the packages, Packages.filelist which contains the list of files included in the packages and Packages.gz is the compressed format of Packages. The syntax is follows.
Code:
ipkg-make-index -p Packages . (current directory)

Normally I'll remove all the Packages* files from the package directory and I'll run the above command every time.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
Add Thank You Quote this message in a reply
10-09-2011, 01:57 PM
Post: #7
RE: HOWTO package ipk file
ok thats clear but i still end up with packages that miss the package info as described above. How can i fix this?
Find all posts by this user
Add Thank You Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [200] Alternative Linux Terminal Utils package with Telnet/SSH/MC/Transmission Roman_V_M 109 50,024 05-19-2013 12:45 PM
Last Post: parpagnas
  [100/200/300/400] Can anyone give me the file of multicast IPTV Player (FlashLite) fareign 4 764 02-17-2013 12:12 AM
Last Post: sunny1081
  [100/200/300/400] File Manager for Networked Media Tank v 1.1.1 Beta - Released 25/1/2010 vaidyasr 479 225,907 02-14-2013 10:40 AM
Last Post: jhmiller
  [200] lundftpd installation, configuration and setup package dc11ab 110 22,498 11-19-2012 09:24 PM
Last Post: Roob
  [200/300] [HowTo] Install ownCloud vaidyasr 2 1,735 10-07-2012 10:10 PM
Last Post: yahavrave
Question [200] Any hints how to package software for C.S.I/opkg? marmotamarmota 0 604 06-27-2012 03:19 PM
Last Post: marmotamarmota
  [200/300] [HowTo] Run Webserver as nmt user vaidyasr 2 1,544 05-29-2012 02:53 AM
Last Post: vaidyasr
  [200/300] [HowTo] Install/Use YAMJ MovieJukebox in 200/300 Series vaidyasr 2 1,476 01-24-2012 04:47 AM
Last Post: lundman
  [200] File manager does not work stryker74 2 916 01-10-2012 11:04 PM
Last Post: stryker74
  [200] NZBget Error - Could Not Move File astronyu 3 1,124 11-22-2011 08:11 AM
Last Post: astronyu

Forum Jump: