Plans to update the onion omega2-source docker container?
-
Onion publishes https://hub.docker.com/r/onion/omega2-source but this container hasn't been updated for several months, it looks like prior to the upgrade to LEDE 18.
Any plans to publish a newer container? I'd rebuild the container here but I can't find the originating Dockerfile so maybe it was built manually??
-
@Chris-Morgan just update the system yourself:
#switch to the latest openwrt branch
git checkout openwrt-18.06#cleanup the feeds
./scripts/feeds clean
./scripts/feeds update -a
./scripts/feeds install -ash scripts/onion-feed-setup.sh
#to create the required .config, create a symlink to the appropriate config file
ln -s .config.O2 .config#you may need to run make menuconfig, then run
make -j6 V=s
#personally i prefet to first run make clean before make just to be sure there is no residual rubbish floating around
This is based on some earlier post by @cas with some addition of my own.
-
Official image has been updated based on the very latest in the Github source repo (openwrt-18.06 b228) ! Check it out here: https://hub.docker.com/r/onion/omega2-source/tags
We've tested compilation and it seems to build fine. Let us know how it goes!
Thanks to @Chris-Morgan for collaborating on this!
-
Having a hard time getting your B228 image to build. Any advice? Before I started, I cancelled / quit / deleted / removed all images and containers from my Windows 10 Docker system. Here's the trace:
C:\Users\ThinkStation>docker pull onion/omega2-source:b228
b228: Pulling from onion/omega2-source
7413c47ba209: Pull complete 0fe7e7cbb2e8: Pull complete 1d425c982345: Pull complete 344da5c95cec: Pull complete e222fd265b6c: Pull complete d9550b1ae9b6: Pull complete 828e762f4e38: Pull complete Digest: sha256:6bf05eb531ece478c1f22e3e7a9a522466e2a48f781c06a52df01afec2f10904
Status: Downloaded newer image for onion/omega2-source:b228
docker.io/onion/omega2-source:b228C:\Users\ThinkStation>make
'make' is not recognized as an internal or external command,
operable program or batch file.C:\Users\ThinkStation>docker run -it onion/omega2-source /bin/bash
Unable to find image 'onion/omega2-source:latest' locally
latest: Pulling from onion/omega2-source
Digest: sha256:6bf05eb531ece478c1f22e3e7a9a522466e2a48f781c06a52df01afec2f10904
Status: Downloaded newer image for onion/omega2-source:latest
root@7f1783d8454f:~/source# make
Collecting package info: doneing...eds/onion/avrdude
WARNING: Makefile 'package/feeds/onion/transmission-console-app/Makefile' has a dependency on 'Onion-Console', which does not exist
WARNING: Makefile 'package/feeds/onion/transmission-console-app/Makefile' has a dependency on 'transmission-daemon', which does not exist
WARNING: Makefile 'package/feeds/onion/zeromq/Makefile' has a build dependency on 'libuuid', which does not exist
make[2]: Entering directory '/root/source/scripts/config'
conf.c: In function 'check_stdin':
conf.c:78:3: warning: format not a string literal and no format arguments [-Wformat-security]
printf(_("aborted!\n\n"));
^~~~~~
conf.c:79:3: warning: format not a string literal and no format arguments [-Wformat-security]
printf(_("Console input/output is redirected. "));
^~~~~~
conf.c:80:3: warning: format not a string literal and no format arguments [-Wformat-security]
printf(_("Run 'make oldconfig' to update configuration.\n\n"));
^~~~~~
conf.c: In function 'conf_askvalue':
conf.c:90:3: warning: format not a string literal and no format arguments [-Wformat-security]
printf(_("(NEW) "));
^~~~~~
conf.c: In function 'conf_choice':
conf.c:291:5: warning: format not a string literal and no format arguments [-Wformat-security]
printf(_(" (NEW)"));
^~~~~~
conf.c: In function 'check_conf':
conf.c:439:6: warning: format not a string literal and no format arguments [-Wformat-security]
printf(_("\n Restart config...\n*\n"));
^~~~~~
conf.c: In function 'main':
conf.c:620:6: warning: format not a string literal and no format arguments [-Wformat-security]
_("\n*** The configuration requires explicit update.\n\n"));
^
conf.c:674:4: warning: format not a string literal and no format arguments [-Wformat-security]
fprintf(stderr, _("\n*** Error during writing of the configuration.\n\n"));
^~~~~~~
conf.c:678:4: warning: format not a string literal and no format arguments [-Wformat-security]
fprintf(stderr, _("\n*** Error during update of the configuration.\n\n"));
^~~~~~~
conf.c:689:4: warning: format not a string literal and no format arguments [-Wformat-security]
fprintf(stderr, _("\n*** Error during writing of the configuration.\n\n"));
^~~~~~~
make[2]: Leaving directory '/root/source/scripts/config'
time: target/linux/prereq#0.14#0.05#0.29
Checking 'rsync'... ok.
make[1] world
make[2] tools/compile...
...
...
make[3] -C feeds/packages/libs/glib2 host-compile
make[3] -C feeds/packages/utils/kmod compile
make[3] -C feeds/packages/libs/libid3tag compile
make[3] -C feeds/packages/libs/libgcrypt compile
make[3] -C feeds/packages/libs/libidn2 compile
make[3] -C feeds/packages/libs/gnutls compile
make[3] -C feeds/packages/libs/libvorbis compile
make[3] -C feeds/packages/libs/libvorbisidec compile
make[3] -C feeds/packages/utils/mariadb host-compile
make[3] -C feeds/packages/net/nginx compile
make -r world: build failed. Please re-run make with -j1 V=s to see what's going on
/root/source/include/toplevel.mk:216: recipe for target 'world' failed
make: *** [world] Error 1
root@7f1783d8454f:~/source#
-
@peanut which if the preceding warnings do you expect to make the build fail?
-
@peanut Im in the same situation. Build fails. Did you stumble on any luck?
-
@rajvigneshtn please run make again with -j 1 V=s. Parameters and post the log.