[lxc-devel] [linuxcontainers.org/master] README.md - added note about git sparse-checkout

toby63 on Github lxc-bot at linuxcontainers.org
Mon Nov 23 20:21:13 UTC 2020


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 361 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20201123/aaf1b797/attachment.bin>
-------------- next part --------------
From 6a93d63a79fe57d270c9a3504456829dfe6ecf87 Mon Sep 17 00:00:00 2001
From: Tobias Gerold <tobias at g3ro.eu>
Date: Mon, 23 Nov 2020 20:24:45 +0100
Subject: [PATCH] README.md - added note about git sparse-checkout

Signed-off-by: Tobias Gerold <tobias at g3ro.eu>
---
 README.md | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/README.md b/README.md
index b11aab1..25d92a9 100644
--- a/README.md
+++ b/README.md
@@ -35,6 +35,19 @@ Install the following software (naming may depends on your distribution):
 ### Clone the repo
 
     git clone https://github.com/lxc/linuxcontainers.org
+  
+**Note:** The folder `downloads` is quite big, so you can skip that folder by using [git sparse-checkout](https://www.git-scm.com/docs/git-sparse-checkout) 
+(The only exception is, when you work on the downloads page).
+
+As a replacement for the missing `downloads` folder you need to create the following empty folders, before generating the website  (otherwise the generator shows an error):
+
+```
+downloads/cgmanager/
+downloads/distrobuilder/  
+downloads/lxc/  
+downloads/lxcfs/  
+downloads/lxd/
+```
 
 ### Generating the website
 


More information about the lxc-devel mailing list