# Building from a fresh install of Debian 9.

[sudo] apt update
[sudo] apt upgrade
[sudo] apt install build-essential flex git lzip texinfo unzip zlib1g zlib1g-dev

# optional packages I often install out of habit
[sudo] apt install dialog emacs mailutils man sendmail

git clone https://git.savannah.nongnu.org/git/dragora.git

# Obtain the tarballs, see README.md at sources/ directory

# Start the build processes
./bootstrap -s0
[sudo] ./bootstrap -s1
[sudo]  ./enter-chroot
qi -o /usr/src/qi/recipes/*.order | qi -b -S -p -i - 2>&1 | tee build-log.txt
passwd root
exit

# make the iso
./bootstrap -s2

# Try to boot or burn the iso.
# Done.
