1 # Dragora's Cheat Sheet
7 - A working C compiler, system toolchain, utilities.
9 - Enough hard disk space (7GB+) for the whole process.
11 - A superuser account is needed to perform all the steps.
13 - Clone or sync the git repository.
15 - Obtain or sync the sources (tarballs). See the *sources/README.md* file.
17 Bootstrapping from Debian systems:
23 `apt install build-essential flex git lzip genisoimage texinfo unzip zlib1g zlib1g-dev liblz1 liblz-dev`
27 Creates a cross compiler for your native architecture:
29 `./bootstrap -s0 2>&1 | tee stage0-log.txt`
31 Prepare a temporary system using the recent cross compiler:
33 `./bootstrap -s1 2>&1 | tee stage1-log.txt`
35 Enter the temporary system:
39 Start replacing the temporary system with the final system:
41 `qi -o /usr/src/qi/recipes/*.order | qi -b -S -p -i - 2>&1 | tee build-log.txt`
43 Set custom modifications, like a password for the superuser:
47 Exit from the temporal session (enter-chroot):
51 Produce an ISO image from the Stage 2:
53 `./bootstrap -s2 2>&1 | tee stage2-log.txt`
55 Burn or emulate the (hybrid) ISO image at
56 *OUTPUT.bootstrap/stage2/cdrom/dragora-live.iso*.
60 To speed up the build procedure multiple jobs can be passed to the compiler.<br/>
61 Just give the -j option to the *bootstrap* script and pass the same one to the<br/>
62 connected *qi* in the pipe. Consider the value for -j taking into account the<br/>
63 number of processors + 1, for example `-j3`
68 Under the terms of the GNU Free Documentation License,
69 http://www.gnu.org/licenses/fdl.html