Re: howto: making ipk/opk

2009-03-02 Thread Helge Hafting
Aapo Rantalainen wrote:
 A) There are many broken packages on opkg.org. They can be downloaded
 and installed and they work. But adding opkg.org repository and
 installing packages from repository cause Segmentation Faults and Not
 found errors (opkg error -2).

That is an opkg bug, because opkg shouldn't crash just because it gets a
bad package. Instead, it ought to give an error message along the lines 
of broken package.

Helge Hafting

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


howto: making ipk/opk

2009-02-27 Thread Aapo Rantalainen
A) There are many broken packages on opkg.org. They can be downloaded
and installed and they work. But adding opkg.org repository and
installing packages from repository cause Segmentation Faults and Not
found errors (opkg error -2).

B) People has made cool little scripts and python-things, but they
can't release them because packaging is so mysterious.


I want share to you one simple way to make package.
Read full text:
http://cc.oulu.fi/~rantalai/freerunner/packaging/

briefly:
Make directory and file-structure under it.
Put things in CONTROL/control
Use ipkg-buildpackage-script (v 1.1 2001/07/26) by Oliver Kurth


-Aapo Rantalainen

P.S. If you know some other easy way to make ipk/opk please share it with us.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: howto: making ipk/opk

2009-02-27 Thread Joel Newkirk
On Fri, 27 Feb 2009 23:32:49 +0200
Aapo Rantalainen aapo.rantalai...@gmail.com wrote:

 A) There are many broken packages on opkg.org. They can be downloaded
 and installed and they work. But adding opkg.org repository and
 installing packages from repository cause Segmentation Faults and Not
 found errors (opkg error -2).

I'm getting these with the FSO-M5 repo right now.

 B) People has made cool little scripts and python-things, but they
 can't release them because packaging is so mysterious.
 
 
 I want share to you one simple way to make package.
 Read full text:
 http://cc.oulu.fi/~rantalai/freerunner/packaging/
 
 briefly:
 Make directory and file-structure under it.
 Put things in CONTROL/control
 Use ipkg-buildpackage-script (v 1.1 2001/07/26) by Oliver Kurth
 
 
 -Aapo Rantalainen
 
 P.S. If you know some other easy way to make ipk/opk please share it
 with us.

What's wrong with good old 'ipkg-build'?  Script included in your path
if using the toolchain, under /usr/local/openmoko/arm/bin.

j

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: howto: making ipk/opk

2009-02-27 Thread Aapo Rantalainen

 What's wrong with good old 'ipkg-build'?  Script included in your path
 if using the toolchain, under /usr/local/openmoko/arm/bin.


Thanks for pointing this. I have copied wrong script to server. It is
almost same than in toolchain.
One of my point is user needs no whole toolchain to package
bash/python scripts to ipk.

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community