An opkg for Cockpit?

I've been using Cockpit for a while:

It's nice because it's light on resources, using near nix when not actively queried (runs a passive web service that responds only when you need it) and provides an overview of performance and resource use and management tools across a LAN all my Llinux servers including Pis.

The conspicuous absence for the moment is the router/gateway and it would be nice to see it on the same interface. Cockpit project don't build an opkg. but there's no reason it can't be (runs fine on ARM boxes and is intended to be light on resource use).

I've had a look into it and there's some fine documentation on how to build opkgs:

https://openwrt.org/docs/guide-developer/using_the_sdk

But it looks like fair commitment just to get the whole dev environment ready to try, so I'm, wondering:

  1. Has it already been done and does an opkg exist in some repo or other?
  2. Is anyone who's set up with a build environment inspired to give it a try and build an opkg?

Regards,

Bernd.

Turns out this has been considered and isn't possible just yet:

But what's needed is on the ideas list:

Oh well.

opkg is an upstream software, outside OpenWrt.
https://git.yoctoproject.org/cgit/cgit.cgi/opkg/

We are just using a tailored version based on a really really ancient version of opkg.
https://git.openwrt.org/?p=project/opkg-lede.git;a=summary

Original upstream version that our version is based on.

PKG_SOURCE_URL:=http://git.yoctoproject.org/git/opkg
PKG_SOURCE_DATE:=2011-04-08
PKG_SOURCE_VERSION:=9c97d5ecd795709c8584e972bfdf3aee3a5b846d

2011-04-08 google@wwsnet.net Fix compilation after r617

Jow has made lots of local modifications to it (see the opkg-lede log), but principally we are using stuff based on year 2011 version of opkg.

Thanks, very interesting. Begs the question why OpenWRT doesn't keep its opkg up to date and relies on such an old tailored version (the age old risk of forking software). Are there specifc customisations that yocotproject didn't want to merge in? I'm sort of curious as I have a QNAP NAS that uses opkg as well (and heir own qpkg as it happens).

Yocto's version of opkg has become too bloated for our usecase. Libarchive and libsolv dependencies are adding a lot of weight to it.