Hey Ziga,

> I wrote an extension for OpenWRT and would like to port it to Fon, but when
> I create .gz package and try to install it, it doesn't do anything....it
> just reloads the Applications page. I have the developer mode firmware.
> Anyone knows whats wrong?
How did you create the .tgz package?

> And I have another question, is it possible to install dependencies with
> .gz package?
Probably the easiest way to create the tgz, and install dependencies at
the same time, is to create a metapackage and let the (FON) build system
handle the rest. For an example, see the plugins in the fon/plugins/
directory (except plugin-torrent, which is a different kind of plugin).

Note that these plugins only install files from their dependencies, no
files of their own. This is possible, but you'll have to add a
Package/<name>/install rule to the Makefile then (but if you already
have a OpenWrt package, just create a new plugin metapackage that
depends on it).

Also, if you add a new plugin metapackage, don't forget to "install" it
using the ./scripts/feeds install script (or possibly re-running
./install.sh) and selecting the package in menuconfig (use "m", not
"y").

I hope this helps!

Gr.

Matthijs

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Development mailing list
[email protected]
http://fonosfera.org/mailman/listinfo/development

Reply via email to