summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-05-30 17:50:05 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-05-30 17:50:05 (EDT)
commitff7ec1c3ad55579e8b58392d269b600bdd6ae1f6 (patch)
tree7609df74c1dedd10ee9b4ed504603dce7b93627a
parent8f19f4805ac01b529f43483e6aa224267e9f1e33 (diff)
Note portability of installation bootstrap tool.
-rwxr-xr-xdev/todo.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/dev/todo.html b/dev/todo.html
index 62161cd..5593b18 100755
--- a/dev/todo.html
+++ b/dev/todo.html
@@ -45,6 +45,7 @@
<p>A tool similar to <a href="http://anonscm.debian.org/gitweb/?p=d-i/debootstrap.git;a=tree">debootstrap</a> of Debian needs to be written to bootstrap the installation of a basic system. It can be used for building packages (see "Package Cross Building Tool" below) or installing the operating system on hardware targets.</p>
<p>Basically, the tool would fetch from the package archive the index of packages, determine which packages need to be installed, download each package, and unpack each package. Since the package manager may not be available, the tool must handle dependency resolution and package unpacking on its own.</p>
<p>We can't use debootstrap, since the formats of our binary packages and package archives differ slightly from those of Debian. But we can model our tool after debootstrap or even just fork debootstrap.</p>
+<p>If written portably (i.e. in conformance with POSIX.1), this tool could be used to make base system images on any UNIX-like operating system with an implementation of tar. On any operating system that also has a chroot program, this tool can be used with the package cross building tool described below to build packages for this distribution. Therefore, these tools can be thought of as a "Software Development Kit" ("SDK") for the distribution, usable on any capable development system.</p>
<h2 id="pkg-x-build-tool">Package Cross Building Tool</h2>
<p>A tool similar to pbuilder and sbuild of Debian needs to be written to build packages within a chroot environment containing a base system installed by the installation bootstrap tool. It needs to support cross building of packages using multiarch cross toolchains.</p>
<h2 id="ma-x-toolchains">Multiarch Cross Toolchain Packages</h2>