[lxc-devel] [lxd/master] doc update

stgraber on Github lxc-bot at linuxcontainers.org
Tue Jul 9 16:08:40 UTC 2019


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 301 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20190709/46b392ff/attachment.bin>
-------------- next part --------------
From 586502f73d13e5c4c2c1f4b06d74652a06ddbd52 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Tue, 9 Jul 2019 11:54:37 -0400
Subject: [PATCH 1/2] README: Update linker flags
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Closes #5922

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
---
 doc/index.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/index.md b/doc/index.md
index 8b184ebbba..b69014a89d 100644
--- a/doc/index.md
+++ b/doc/index.md
@@ -77,9 +77,9 @@ And then download it as usual:
 go get -d -v github.com/lxc/lxd/lxd
 cd $GOPATH/src/github.com/lxc/lxd
 make deps
-export CGO_CFLAGS="${CGO_CFLAGS} -I${GOPATH}/deps/sqlite/ -I${GOPATH}/deps/dqlite/include/"
-export CGO_LDFLAGS="${CGO_LDFLAGS} -L${GOPATH}/deps/sqlite/.libs/ -L${GOPATH}/deps/dqlite/.libs/"
-export LD_LIBRARY_PATH="${GOPATH}/deps/sqlite/.libs/:${GOPATH}/deps/dqlite/.libs/:${LD_LIBRARY_PATH}"
+export CGO_CFLAGS="${CGO_CFLAGS} -I${GOPATH}/deps/sqlite/ -I${GOPATH}/deps/dqlite/include/ -I${GOPATH}/deps/raft/include/ -I${GOPATH}/deps/libco/"
+export CGO_LDFLAGS="${CGO_LDFLAGS} -L${GOPATH}/deps/sqlite/.libs/ -L${GOPATH}/deps/dqlite/.libs/ -L${GOPATH}/deps/raft/.libs -L${GOPATH}/deps/libco/"
+export LD_LIBRARY_PATH="${GOPATH}/deps/sqlite/.libs/:${GOPATH}/deps/dqlite/.libs/:${GOPATH}/deps/raft/.libs:${GOPATH}/deps/libco/:${LD_LIBRARY_PATH}"
 make
 ```
 

From d514fc34ba782369b050851be298b9f79f4203a1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Tue, 9 Jul 2019 12:01:12 -0400
Subject: [PATCH 2/2] README: Add basic install instructions
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
---
 doc/index.md | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/doc/index.md b/doc/index.md
index b69014a89d..1a80a4431f 100644
--- a/doc/index.md
+++ b/doc/index.md
@@ -25,7 +25,15 @@ Translations        | Weblate               | [![Translation status](https://hos
 Project status      | CII Best Practices    | [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/1086/badge)](https://bestpractices.coreinfrastructure.org/projects/1086)
 
 ## Installing LXD from packages
-Instructions on installing LXD for a wide variety of Linux distributions and operating systems [can be found on our website](https://linuxcontainers.org/lxd/getting-started-cli/).
+The LXD daemon only works on Linux but the client tool (`lxc`) is available on most platforms.
+
+OS                  | Format                                            | Command
+---                 | ---                                               | ---
+Linux               | [Snap](https://snapcraft.io/lxd)                  | snap install lxd
+Windows             | [Chocolatey](https://chocolatey.org/packages/lxc) | choco install lxc
+MacOS               | [Homebrew](https://formulae.brew.sh/formula/lxc)  | brew install lxc
+
+More instructions on installing LXD for a wide variety of Linux distributions and operating systems [can be found on our website](https://linuxcontainers.org/lxd/getting-started-cli/).
 
 ## Installing LXD from source
 We recommend having the latest versions of liblxc (>= 2.0.0 required)


More information about the lxc-devel mailing list