From b9f7855cc00f4326007d2237a50668a2d50fcbe3 Mon Sep 17 00:00:00 2001 From: Sudip Mukherjee Date: Sun, 27 Nov 2022 20:20:36 +0000 Subject: [PATCH] Update for needlefish Signed-off-by: Sudip Mukherjee --- Docker_container/Readme.md | 12 ++++++------ Docker_container/elisa.dockerfile | 10 +++++----- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Docker_container/Readme.md b/Docker_container/Readme.md index 80c7b92..21e1f8c 100644 --- a/Docker_container/Readme.md +++ b/Docker_container/Readme.md @@ -33,9 +33,9 @@ Setup step (the easy way): ------------------------- $ setup_elisa.sh - $ cd home/AGL/koi/ + $ cd home/AGL/needlefish/ -The above command will ask you to enter your name and email and then will configure everything and will also clone the required source code at elisa/home/AGL/koi folder. +The above command will ask you to enter your name and email and then will configure everything and will also clone the required source code at elisa/home/AGL/needlefish folder. Setup step (the expert way): @@ -52,8 +52,8 @@ Setup step (the expert way): $ curl https://storage.googleapis.com/git-repo-downloads/repo > $HOME/bin/repo $ chmod a+x $HOME/bin/repo $ cd $AGL_TOP - $ mkdir koi - $ cd koi + $ mkdir needlefish + $ cd needlefish The next two commands (Setting your name and email adress for use by GIT) are not documented in AGL but needed before 'repo' can be used. @@ -65,7 +65,7 @@ Setup step (the expert way): Last two commands from AGL: -------------------------- - $ repo init -b koi -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo + $ repo init -b needlefish -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo $ repo sync Instructions from Elisa: @@ -91,7 +91,7 @@ Only the following should be sufficient. $ cd elisa $ docker run -it --rm -v $PWD:/src --workdir /src elisa - $ cd $AGL_TOP/koi + $ cd $AGL_TOP/needlefish $ source meta-agl/scripts/aglsetup.sh -f elisa-cluster-demo $ bitbake elisa-cluster-demo-platform $ exit diff --git a/Docker_container/elisa.dockerfile b/Docker_container/elisa.dockerfile index e62a5b3..24de799 100644 --- a/Docker_container/elisa.dockerfile +++ b/Docker_container/elisa.dockerfile @@ -5,7 +5,7 @@ RUN set -x && apt-get update && apt-get upgrade -y \ && apt-get install -y curl python\ gawk wget git-core diffstat unzip texinfo gcc-multilib \ build-essential chrpath socat libsdl1.2-dev xterm \ - cpio file locales + cpio file locales lz4 zstd RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && locale-gen en_US.UTF-8 RUN echo "#!/bin/bash\n\nif [ ! -d /src/home ]; then\n\tmkdir /src/home\nfi\n\n/bin/bash" > /bin/start.sh @@ -31,10 +31,10 @@ if [ ! -f \$HOME/bin/repo ]; then\n\ chmod a+x \$HOME/bin/repo\n\ fi\n\ export AGL_TOP=\$HOME/AGL\n\ -if [ ! -d \$AGL_TOP/koi ]; then\n\ - mkdir -p \$AGL_TOP/koi\n\ - cd \$AGL_TOP/koi\n\ - repo init -b koi -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo\n\ +if [ ! -d \$AGL_TOP/needlefish ]; then\n\ + mkdir -p \$AGL_TOP/needlefish\n\ + cd \$AGL_TOP/needlefish\n\ + repo init -b needlefish -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo\n\ repo sync\n\ git clone https://github.com/elisa-tech/meta-elisa.git\n\ fi" > /bin/setup_elisa.sh