User(s) browsing this thread: 1 Guest(s)
|
[200] HOWTO package ipk file
|
|
09-03-2011, 12:28 PM
|
|||
|
|||
|
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. |
|||
|
09-03-2011, 04:59 PM
|
|||
|
|||
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.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 |
|||
|
09-03-2011, 05:34 PM
|
|||
|
|||
|
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! |
|||
|
10-09-2011, 11:41 AM
(This post was last modified: 10-09-2011 12:36 PM by KidE79.)
|
|||
|
|||
|
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 |
|||
|
10-09-2011, 01:23 PM
|
|||
|
|||
|
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 definitionsI 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? |
|||
|
10-09-2011, 01:38 PM
|
|||
|
|||
|
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 |
|||
|
10-09-2011, 01:57 PM
|
|||
|
|||
|
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?
|
|||
|
« Next Oldest | Next Newest »
|

Twitter
Facebook
NMT Wiki
Search
Member List
Help
A-400 [13 May 2013]






![[+]](images/collapse_collapsed.gif)


