[FE training-materials-updates] Warn that "repo sync" can take a long time

michael.opdenacker at free-electrons.com michael.opdenacker at free-electrons.com
Mon Jun 4 15:52:19 CEST 2012

- Log -----------------------------------------------------------------

commit 4aae559f222125528c5285e9632910088932a2c6
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date:   Mon Jun 4 15:50:56 2012 +0200

    Warn that "repo sync" can take a long time

diff --git a/labs/android-first-compilation/android-first-compilation.tex b/labs/android-first-compilation/android-first-compilation.tex
index 014f5a2..1e8857f 100644
--- a/labs/android-first-compilation/android-first-compilation.tex
+++ b/labs/android-first-compilation/android-first-compilation.tex
@@ -56,7 +56,14 @@ repo init -u https://android.googlesource.com/platform/manifest \
 repo sync
-And we are now ready to begin !
+\code{repo sync} will synchronize the files for all the source repositories listed
+in the manifest. If you have a slow connection to the Internet, this could even
+take hours to complete. 
+If this takes too much time, your instructor may distribute a ready-made archive
+containing what \code{repo sync} would have downloaded. 
+Once this is done, we are ready to begin!
 \section{Compile a filesystem}


commit a7148a13c40ec43b9f6c551ef7b7578cf5728960
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date:   Mon Jun 4 15:37:47 2012 +0200

    Install packages in one shot
    This way, there is no waiting time between the several
    "apt-get install commands". If the connection is slow,
    this will allow the instructor to continue the lectures.

diff --git a/labs/android-first-compilation/android-first-compilation.tex b/labs/android-first-compilation/android-first-compilation.tex
index a0a50b3..014f5a2 100644
--- a/labs/android-first-compilation/android-first-compilation.tex
+++ b/labs/android-first-compilation/android-first-compilation.tex
@@ -11,23 +11,23 @@ After this lab, you will be able to:
 Go to the \code{/home/<user>/felabs/android/aosp} directory.
 \section{Install needed packages}
 Install the needed packages to fetch and build Android:
-sudo apt-get install git-core gnupg flex bison gperf
-sudo apt-get install build-essential zip curl zlib1g-dev
-sudo apt-get install libc6-dev lib32ncurses5-dev ia32-libs
-sudo apt-get install x11proto-core-dev libx11-dev
-sudo apt-get install lib32readline5-dev lib32z-dev
-sudo apt-get install libgl1-mesa-dev g++-multilib mingw32
-sudo apt-get install tofrodos python-markdown libxml2-utils
-sudo apt-get install xsltproc openjdk-6-jdk
+sudo apt-get install git-core gnupg flex bison gperf build-essential \
+     zip curl zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libs \
+     x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev \
+     libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown \
+     libxml2-utils xsltproc openjdk-6-jdk
 sudo apt-get clean
+If you have a slow connection to the Internet, installing these packages
+could take several tens of minutes. Your instructor will then take advantage
+of this waiting time to continue with the lectures. 
 \section{Fetch the source code}
 Android consists of many separate Git repositories, each containing a piece


Summary of changes:
 .../android-first-compilation.tex                  |   27 ++++++++++++--------
 1 file changed, 17 insertions(+), 10 deletions(-)

More information about the training-materials-updates mailing list