From a7bf03217af780f4245af555efdbfdc7ca9e2935 Mon Sep 17 00:00:00 2001 From: Stephane Desneux Date: Thu, 11 May 2017 01:06:09 +0200 Subject: Introduce flavours for containers Multiple variations over a common base must be supported when creating AGL containers. This commit introduces 'flavours' to achive this goal (see README.md for details). Current supported flavours: * generic : same image as before * xds : new image dedicated to AGL DevKit Change-Id: I0aa65a1d9e83a2d7aed43e0b135dc43c5537bc53 Signed-off-by: Stephane Desneux --- INSTALL/tasks.d/50_sdk | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 INSTALL/tasks.d/50_sdk (limited to 'INSTALL/tasks.d/50_sdk') diff --git a/INSTALL/tasks.d/50_sdk b/INSTALL/tasks.d/50_sdk new file mode 100644 index 0000000..1a44fd9 --- /dev/null +++ b/INSTALL/tasks.d/50_sdk @@ -0,0 +1,15 @@ +#!/bin/bash + +# install specific scripts +mkdir -p /usr/local/bin +for x in $INSTDIR/tools/scripts_sdk/*; do + install --mode=755 $x /usr/local/bin/ +done + +# install node.js and tools (npm, gulp, bower) if needed +if [[ -z $(which node) ]]; then + curl -sL https://deb.nodesource.com/setup_6.x | bash - + apt-get install nodejs + npm install --global gulp bower +fi + -- cgit