Author Topic: Creation of ipk's  (Read 2617 times)

acpkendo

  • Full Member
  • ***
  • Posts: 169
    • View Profile
    • http://
Creation of ipk's
« on: November 05, 2004, 02:16:38 pm »
I've been trying to re-package a couple of app's for Sharp ROM's that they might install nicely in OZ.  However, I keep getting the same error, namely:

Code: [Select]
Cannot find package libsl_3.10-r0_arm.ipk
...
An error occurred, return value: 4.

I've been told in the past this is due to a mis-formatted control file.  Mine is as follows:

Code: [Select]
Package: libsl
Source:
Version: 3.10
Depends: oz-compat
Section: base
Priority: optional
Maintainer: Sharp
Architecture: arm
Description: Proprietary Sharp library for the SL series

I tried to follow the format of other OZ packages.  The data is in data.tar.gz (the libsl.so and links to it are in /opt/QtPalmtop/lib/), and I have a debian-binary file with "2.0" and a return.

Can someone let me know what I'm doing wrong, or point me to some documentation on this?  TIA. . .

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Creation of ipk's
« Reply #1 on: November 05, 2004, 02:35:49 pm »
I would recommend letting OE package the ipks. You can even do this with binary only stuff. See how we package e.g. sharp-sdmmc-support in OE.
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

lpotter

  • Sr. Member
  • ****
  • Posts: 450
    • View Profile
    • http://qtopia.net
Creation of ipk's
« Reply #2 on: November 07, 2004, 02:29:40 pm »
in the ipkg sources, there is a utility named ipkg-build, which will tell you what is needed/wrong with the control file.
Software Engineer, Systems Group, MES, Trolltech
irc.freenode.net #qtopia
http://qtopia.net

zenyatta

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
Creation of ipk's
« Reply #3 on: November 07, 2004, 05:41:10 pm »
You did not describe the process you use to package your ipk. I use ipkg-utils 1.7 and it's very much problem-free (previously I had an ant script which I kept customising but this works much better). I would try building with ipkg-utils if you're not doing that already.

z.
SL-5500, 256MB Kingston CF card, 128MB EDGE SD card, Thomson HED-155 headphones
OpenZaurus 3.5.3 / Opie (kernel 64-0)