Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packages from the configured repositories do not run on the current image #2

Closed
blinkenlight opened this issue Aug 11, 2015 · 1 comment

Comments

@blinkenlight
Copy link

The current pre-compiled image seems to be configured to use the package repositories of the OpenWRT trunk; however, it seems to be generated with different options than those packages are, resulting in "not found" errors even after packages are correctly installed, leading to a general uselessness of the entire image. The problem might possibly be related to what readelf returns examining a system executable that runs (busybox) vs. package-installed executables that do not:

root@box:/media/DAVDrive$ readelf -a nano | grep equest
      [Requesting program interpreter: /lib/ld-musl-mipsel-sf.so.1]
root@box:/media/DAVDrive$ readelf -a uhttpd | grep equest
      [Requesting program interpreter: /lib/ld-musl-mipsel-sf.so.1]
root@box:/media/DAVDrive$ readelf -a busybox | grep equest
      [Requesting program interpreter: /lib/ld-uClibc.so.0]
@selfbg
Copy link

selfbg commented Aug 17, 2015

You're right. We will try to fix our image as soon as possible.
A workaround will be to manually change the repositories

Edit /etc/opkg.conf

dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
src/gz chaos_calmer_base http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/rt305x/packages/base
src/gz chaos_calmer_telephony http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/rt305x/packages/telephony
src/gz chaos_calmer_packages http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/rt305x/packages/packages
src/gz chaos_calmer_routing http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/rt305x/packages/routing
src/gz chaos_calmer_luci http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/rt305x/packages/luci
src/gz chaos_calmer_management http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/rt305x/packages/management
# src/gz chaos_calmer_targets http://downloads.openwrt.org/chaos_calmer/15.05-rc3/ramips/rt305x/packages/targets
option check_signature 1

Then create new key file:

vi /etc/opkg/keys/de98a2dd1d0f8a07

And paste the following:

untrusted comment: openwrt.org 15.05 release key
RWTemKLdHQ+KBxOILy8gyk+5PaDVdfyJ32TFnY/jnQOrBAd1wobbLNYz

@selfbg selfbg closed this as completed Aug 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants