[OpenWrt-Users] package feed(s) for a git/svn build of kamikaze?

Robert P. J. Day rpjday at crashcourse.ca
Fri Mar 14 10:08:10 CET 2008


  i just ran into a bit of a package installation problem with my new
build of kamikaze for my WL500GP and i want to make sure i'm not
misunderstanding something.  (i've documented the problem here:

http://www.crashcourse.ca/wiki/index.php/Building_WL500GP_firmware_from_scratch)

  if i choose to install kamikaze version 7.09 on my router, i can
either install the pre-built image, or i can build it myself from the
source tree -- either way works fine.  in either case, once it's
running, i can install additional packages since the initial
/etc/ipkg.conf file contains:

 src release http://downloads.openwrt.org/kamikaze/7.09/$S/packages
 src packages http://downloads.openwrt.org/kamikaze/packages/$A
 dest root /
 dest ram /tmp

not surprisingly, both of those package directories exist and i
interpret them thusly:

  * "release" refers to those packages that were built specifically
for version 7.09 of kamikaze for routers with this chipset.  in my
case, the directory expands to:

  http://downloads.openwrt.org/kamikaze/7.09/brcm47xx-2.6/packages

  * "packages", which is a more generic packages directory in which
those packages seem to be tied simply to a general architecture, in my
case:

  http://downloads.openwrt.org/kamikaze/packages/mipsel/

so far, so good.  so the "release" feed is specific to a release and
chipset, while "packages" has wider applicability across an entire
architecture.  sure, i'm good with that.

  but if i choose to build a new openwrt image from the git/svn
repository, that works, i can certainly flash the image, and it
certainly runs, but i can't install any new packages since the initial
/etc/ipkg.conf file in a git/svn build contains:

 src snapshots http://downloads.openwrt.org/snapshots/$S/packages
 dest root /
 dest ram /tmp

normally, that would make perfect sense, except there is no such
directory so, when i try to install a new package on this router after
it's booted with that new image, i'm pretty much screwed.  so what do
i do?

  first impression is that i certainly don't want to add a feed line
for the kamikaze 7.09 package directory -- that's ostensibly for 7.09
versions only, and there's nothing that indicates that those packages
would be appropriate for a newer build.

  can i add a line for the more generic mipsel package directory?
even *that's* not clear as all of those packages were built back at
the time of 7.09 -- check their timestamps.  i would have thought that
a "snapshots" directory would be *exactly* what i wanted -- a
constantly updated set of packages that keeps up with the source
tree.  but since that doesn't exist, what does one do here?

  has anyone else run into this, and how have they handled it?  thanks
muchly for all your patience thus far.

rday
--


========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
    Have classroom, will lecture.

http://crashcourse.ca                          Waterloo, Ontario, CANADA
========================================================================


More information about the openwrt-users mailing list