There are a number of start scripts, in `build-$arch` format, for
building installer pairs of kernel and initrd.gz towards different
-archivetctures. For that to work you probably will need to
+architectures. For that to work you probably will need to
# apt-get install binfmt-support qemu-user-static
== Running build-installer.sh
-The script `./build-installer.sh` is run by a non-root user on the
-command line. It prepares three `build` subdirectories:
+In more detail, the common and actual build script,
+`./build-installer.sh`, is invoked via the architecture setup files.
+It prepares three `$TARGET_ARCH/build/` sub directories:
1. `$TARGET_ARCH/build/sources` contains the Packages files for the
sources, which are the `main`, `non-free-firmware` and
`main/debian-installer` components of the Devuan `$DISTNAME`
- repository.
+ repository. These files are obtained from
+ `http://deb.devuan.org/merged` using `wget`, then unpacked and
+ stored in the `.../sources/` sub duirectory.
2. `$TARGET_ARCH/build/media` is a media filesystem with a repository
pool of slightly bespoke structure. It includes in particular