OpenWrt Forum Archive

Topic: New in this community

The content of this topic has been archived on 4 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello everybody. Mi name's Javier and I'm from Spain.
I have a Fon Router with kamikaze installed and I'd like to make my own packages. I'd spend some days looking and reading posts, tutorials, etc about how to compile packages.
I follow this tutorial and this one too and finished I was able to compile a small hello world (spanish version, of course wink) and make the corresponding ipk package. I send this package to my router by ssh and when I try to install I obtain this out:

root@OpenWrt:~# ipkg install /mnt/holamundo_0.1.1-1_mips.ipk 
Installing holamundo (0.1.1-1) to root...
Nothing to be done
An error ocurred, return value: 28.
Collected errors:
Only have 0 available blocks on filesystem /, pkg holamundo needs 18

I think this is because the package is compiled as part of the firmware image, so it's going to install all files in /bin instead of /jffs/bin (I think, but I'm not sure), so my question is: How can I compile a package regardless the firmware image? I've seen that if I write my Makefile in kamikaze/package/holamundo (p.e), when I try to compile, it says that this package is skipping, so I must tu run make menuconfig, choose this package, save configuration and try to recompile again, obtaining the out I wrote before when I try to install the final package.

So I think I need some kind of config file, but I don't know what file and I don't know where to see. Anybody can help me please?
Thanks and advance.

Javier

My first post and my first auto-reply....

looking in the web I found that /etc/ipkg.conf holds information about where to install the packages. In order to install the packages into the /jffs directory as root, the line

dest root /jffs

must be defined into the file, so ipkg can install the package into jffs filesystem.

Well, my "holamundo" works ok.

thanks anyway. I hope to contribude in this forum as I learn.

P.D: All doubts and comments about this things must be posted in "develop" it isn't true?

(Last edited by javieralso on 13 Mar 2009, 23:47)

The discussion might have continued from here.