[luci] Building OpenWRT package

Jo-Philipp Wich xm at subsignal.org
Mon Nov 2 08:35:56 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

> I'm kind of newbie. I've created my own luci-app that is working fine in 
> my dev environment (on a x86 PC). Now I'd like to test it on my
> WRT54GL. So how do I prepare ipkg package? I couldn't find any 
> documentation for that. Did I missed it?
> 
> Basically, I have my local LuCI tree with all my code located in
> luci/applications/my-awesome-app. Now what? :)

Depends, you can either add it to the LuCI source tree or make it a
standalone package. I attached a sample OpenWrt Makefile which can be
used to make standalone LuCI packages.

You need to create a directory in package/myapp/ in your OpenWrt build
root and put the makefile there. Edit it to suit your needs. Within the
"myapp" package directory you can create the following directories:

  Directory                   Location in the firmware image

  luasrc/                     /usr/lib/lua/luci/
  htdocs/                     /www/
  root/                       /



Regards,
JoW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrui9sACgkQdputYINPTPPBUQCff72YKJ0w7+I4Cpvoeq3ub13p
ax4An0YkFuwus7GMS4W/27mtCklp46NE
=MmRK
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Makefile
Url: http://lists.subsignal.org/pipermail/luci/attachments/20091102/a0c77e04/attachment.txt 


More information about the luci mailing list