From f419b8dad42b1d3012d2227ddc5c9d9c3743aaf0 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Tue, 27 Nov 2018 02:34:01 +0000 Subject: Remove dependency on lxd daemon Closes GH-4 --- README | 11 +++++++++++ build.sh | 10 +--------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/README b/README index 4c4fd32..7e5cfbf 100644 --- a/README +++ b/README @@ -16,3 +16,14 @@ It's recommended you use Debian or Ubuntu on the build system. The following add Configuration ------------- Refer to the top of build.sh. + +Usage +----- +./build.sh [-a|--arch ] [-v|--version ] [-p|--packages ] [-f|--files] [--help] + +Example +------- +./build.sh -v 18.06.1 +lxc image import bin/openwrt-18.06.1-x86-64-lxd.tar.gz --alias openwrt +lxc launch openwrt router +lxc exec router passwd root diff --git a/build.sh b/build.sh index 5ab166d..adb2e4c 100755 --- a/build.sh +++ b/build.sh @@ -221,19 +221,11 @@ EOF # template: hostname.tpl } -build_image() { - lxc image import $lxc_tar -} - download_rootfs download_sdk download_procd build_procd build_metadata build_tarball -build_image -echo \# start -echo "lxc launch $image " -echo \# set root password -echo "lxc exec passwd root" +echo "Tarball built: $lxc_tar" -- cgit v1.2.3