From 29a739ef923dff1c955fa138f367a72774c70366 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Schr=C3=B6der?= Date: Sat, 3 Sep 2016 01:09:03 +0200 Subject: [PATCH] update build instructions --- .travis.yml | 6 ++++++ build-uml-image.sh | 2 +- openwrt-bootstrap.sh | 6 ++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 25f3de0..56b6fce 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,12 @@ addons: apt: packages: - lcov + - bc + - binutils + - bzip2 + - flex + - util-linux + - gawk cache: directories: - openwrt diff --git a/build-uml-image.sh b/build-uml-image.sh index adb48ce..003a4a0 100755 --- a/build-uml-image.sh +++ b/build-uml-image.sh @@ -23,6 +23,6 @@ tar -czf openwrt-juci-uml.tar.gz openwrt-uml* echo "Build completed!" echo "You can now run your uml target here using: " -echo " ./openwrt/openwrt-uml-vmlinux ubd0=$PWD/openwrt/openwrt-uml-ext4.img eth0=tuntap,tap0" +echo " ./openwrt/openwrt-uml-vmlinux ubd0=$PWD/openwrt-uml-ext4.img eth0=tuntap,tap0" echo "Note: for network access you need to actually set up tuntap device on your host system!" diff --git a/openwrt-bootstrap.sh b/openwrt-bootstrap.sh index 19dc61d..925206d 100755 --- a/openwrt-bootstrap.sh +++ b/openwrt-bootstrap.sh @@ -25,6 +25,12 @@ CONFIG_PACKAGE_juci-full-openwrt=y CONFIG_PACKAGE_orange-rpcd=y CONFIG_BUSYBOX_CUSTOM=y CONFIG_BUSYBOX_CONFIG_SHA1SUM=y +CONFIG_BUSYBOX_CONFIG_IP=y +CONFIG_BUSYBOX_CONFIG_FEATURE_IP_ADDRESS=y +CONFIG_BUSYBOX_CONFIG_FEATURE_IP_LINK=y +CONFIG_BUSYBOX_CONFIG_FEATURE_IP_ROUTE=y +CONFIG_BUSYBOX_CONFIG_FEATURE_IP_TUNNEL=y +CONFIG_BUSYBOX_CONFIG_FEATURE_IP_RULE=y END # update defaults for other packages