recipes: tools/tar: limit package name on upgrade, otherwise it won't be available...
[dragora.git] / CHEATSHEET.md
blobd3591e128241e5acfca614fe9cd86992d213ffbe
1 # Dragora's Cheat Sheet
3 ## Bootstrapping
5 Prerequisities:
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:
13 `apt update`
15 `apt upgrade`
17 `apt install build-essential flex git lzip texinfo unzip zlib1g zlib1g-dev`
19 Instructions:
21 1. `./bootstrap -s0 2>&1 | tee stage0-log.txt`
23 2. `./bootstrap -s1 2>&1 | tee stage1-log.txt`
25 3. `./enter-chroot`
27 4. `qi -o /usr/src/qi/recipes/*.order | qi -b -S -p -i - 2>&1 | tee build-log.txt`
29 5. `passwd root`
31 6. `exit`
33 7. `./bootstrap -s2 2>&1 | tee stage2-log.txt`
35 8. Burn or emulate the (hybrid) ISO image from
36   *OUTPUT.bootstrap/stage2/cdrom/dragora-live.iso*.
38 Hint:
40 To speed up the build procedure multiple jobs can be passed to the compiler.<br/>
41 Just give the -j option to the *bootstrap* script and pass the same one to the<br/>
42 connected *qi* in the pipe.  Consider the value for -j taking into account the<br/>
43 number of processors + 1, for example `-j3`
46 ---
48 Under the terms of the GNU Free Documentation License,
49 http://www.gnu.org/licenses/fdl.html
51 Updated: 2018-12-29