[Cerowrt-devel] ar71xx CC builds and tc

Toke Høiland-Jørgensen toke at toke.dk
Sun Aug 16 06:01:52 EDT 2015


Maciej Soltysiak <maciej at soltysiak.com> writes:

> On trunk with ceropackages, I'm getting errors when installing sqm-scripts:
>
> root at OpenWrt:/etc# opkg install sqm-scripts
> Installing sqm-scripts (1.0-3) to root...
> Downloading
> http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/packages/sqm-scripts_1.0-3_all.ipk.

It looks like this is pulling in the package from the openwrt snapshots
repo.

> * satisfy_dependencies_for: Cannot satisfy the following dependencies for
> sqm-scripts:
> * kernel (= 4.1.4-1-68b085cb2174718ce2247e1fbff8c9c1) * kernel (=
> 4.1.4-1-68b085cb2174718ce2247e1fbff8c9c1) * kernel (=
> 4.1.4-1-68b085cb2174718ce2247e1fbff8c9c1) * kernel (=
> 4.1.4-1-68b085cb2174718ce2247e1fbff8c9c1) * kernel (=
> 4.1.4-1-68b085cb2174718ce2247e1fbff8c9c1) *
> * opkg_install_cmd: Cannot install package sqm-scripts.

This is a kernel version mismatch issue. Unfortunately, when a package
depends on a kernel module, the build system makes the dependency be for
a specific version of the kernel, so you can't just pull packages from
incompatible repos.


To get your self-built version of the package onto the router, you can
do one of:

1. Select it in menuconfig to be built into the image as you generate it
   (press Y). Then it will be included as you flash.

2. Manually SCP the .ipk from bin/ar71xx/packages/cero/ to the
   router after flashing, then installing with opkg.

3. Make the contents of bin/ar71xx/packages available on a web server
   and point the opkg.conf on your router at that.

-Toke



More information about the Cerowrt-devel mailing list