aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-12-08 16:45:14 +0000
committerLaurent Bercot <ska@appnovation.com>2023-12-08 16:45:14 +0000
commitc152fe514655a94d45b200e5801d4178ebf6bf1c (patch)
treed232e1fab0a346e13e67e94452bc4e58c1febaa3
parent0a561c2947dda6222153bb8f32d35cff93eaf5af (diff)
downloadlh-bootstrap-c152fe514655a94d45b200e5801d4178ebf6bf1c.tar.xz
Fix some inaccuracies in the doc (thanks Firas)
Signed-off-by: Laurent Bercot <ska@appnovation.com>
-rw-r--r--doc/DEPENDENCIES-BUILD.md26
-rw-r--r--doc/INTERNALS.md1
2 files changed, 2 insertions, 25 deletions
diff --git a/doc/DEPENDENCIES-BUILD.md b/doc/DEPENDENCIES-BUILD.md
index e1d97de..1c4f302 100644
--- a/doc/DEPENDENCIES-BUILD.md
+++ b/doc/DEPENDENCIES-BUILD.md
@@ -110,28 +110,6 @@ slightly deviating from the standard (looking at you, Ubuntu); using
our own tools is insurance against that.
-### util-linux
-
-Makefile directory: sub/util-linux
-
- To make the qemu image, we need losetup -P, to set up a loopback
-mount that supports partitions. But the -P option to losetup only
-appear in latest versions of util-linux, and not all distributions
-ship a recent enough version. (Looking at you, Ubuntu and Debian
-stable.)
- So we download and build util-linux. Except the util-linux
-build system is a bloated plate of noodles, that can have a lot
-of dependencies - in particular a dependency to ncurses, and we
-DO NOT want to build ncurses if it can be avoided. Fortunately,
-none of the tools we need require ncurses. So we end up building
-those individual binaries from util-linux and avoid pulling in
-the kitchen sink.
- Currently, the binaries we build are: losetup, fdisk, mkswap,
-mount, umount. This list can change as the package evolves; the
-current list is described in the UTLX_PROGLIST variable definition
-in the sub/util-linux/Makefile file.
-
-
### xz-utils
Makefile directory: sub/xz
@@ -152,8 +130,8 @@ Makefile directory: sub/kmod
practicality. Modules are compressed, to save storage space.
Traditionally, there are compressed with gzip (and have extension
`.ko.gz`), but xz is generally a better compressor than gzip:
-it decompresses faster and the compressed data is smaller. So
-we use xz to compress the modules (extension `.ko.xz`). On the
+the compressed data is smaller.
+So we use xz to compress the modules (extension `.ko.xz`). On the
HOST, we load the modules with busybox modprobe, which supports
both extensions. So far, so good.
diff --git a/doc/INTERNALS.md b/doc/INTERNALS.md
index ab7aa54..d7e8a16 100644
--- a/doc/INTERNALS.md
+++ b/doc/INTERNALS.md
@@ -81,7 +81,6 @@ Then `./make` builds the software for the HOST, installing it into the
- Linux kernel headers
- musl
- skarnet.org packages
-- some binaries from util-linux
- xz-utils
- kmod