aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@iot.bzh>2017-01-02 14:54:03 +0100
committerStephane Desneux <stephane.desneux@iot.bzh>2017-02-10 16:15:00 +0100
commitee3da797768540af9cbb8d9f28917bac331fd8fb (patch)
treef78db9e4513b0bcadec350b2b45800ef4990bcdf
parentf33025186a05ee0a6221e8d48b52a4ec61831c07 (diff)
create_container: mark clearly as an example, not a mandatory script
Change-Id: I96f1f44b4770b18e7d5a1a6859dde13d179a735d Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
-rwxr-xr-xcontrib/create_container (renamed from create_container)16
1 files changed, 16 insertions, 0 deletions
diff --git a/create_container b/contrib/create_container
index 0ac21ae..f03a96f 100755
--- a/create_container
+++ b/contrib/create_container
@@ -1,5 +1,21 @@
#!/bin/bash
+##########################################
+# WARNING WARNING WARNING WARNING
+#
+# This script is an example to start a new AGL container
+#
+# You should customize it to fit your environment and in particular
+# adjust the paths and permissions where needed.
+#
+# Note that sharing volumes with host system is not mandatory: it
+# was just added for performances reasons: building from a SSD is
+# just faster than using the container filesystem: that's why /xdt is
+# mounted from there. Same applies to ~/mirror and ~/share, which are
+# just 2 convenient folders to store reference build caches (used in prepare_meta script)
+#
+##########################################
+
CURDIR=$(cd $(dirname $0) && pwd -P)
DEFIMAGE=$(make -s -C $CURDIR show-image)