1 # Dragora's Cheat Sheet
7 - Clone or sync the git repository.
9 - Obtain or sync the sources (tarballs). See the *sources/README.md* file.
11 Bootstrapping from Debian systems:
17 `apt install build-essential flex git lzip genisoimage texinfo unzip zlib1g zlib1g-dev`
21 Creates a cross compiler for your native architecture:
23 `./bootstrap -s0 2>&1 | tee stage0-log.txt`
25 Prepare a temporary system using the recent cross compiler:
27 `./bootstrap -s1 2>&1 | tee stage1-log.txt`
29 Enter the temporary system:
33 Start replacing the temporary system with the final system:
35 `qi -o /usr/src/qi/recipes/*.order | qi -b -S -p -i - 2>&1 | tee build-log.txt`
37 Set custom modifications, like a password for the superuser:
41 Exit from change root:
45 Produce an ISO image from the Stage 2:
47 `./bootstrap -s2 2>&1 | tee stage2-log.txt`
49 Burn or emulate the (hybrid) ISO image at
50 *OUTPUT.bootstrap/stage2/cdrom/dragora-live.iso*.
54 To speed up the build procedure multiple jobs can be passed to the compiler.<br/>
55 Just give the -j option to the *bootstrap* script and pass the same one to the<br/>
56 connected *qi* in the pipe. Consider the value for -j taking into account the<br/>
57 number of processors + 1, for example `-j3`
62 Under the terms of the GNU Free Documentation License,
63 http://www.gnu.org/licenses/fdl.html