summaryrefslogtreecommitdiff
path: root/strata/tools/e2fsprogs.morph
diff options
context:
space:
mode:
Diffstat (limited to 'strata/tools/e2fsprogs.morph')
-rw-r--r--strata/tools/e2fsprogs.morph7
1 files changed, 7 insertions, 0 deletions
diff --git a/strata/tools/e2fsprogs.morph b/strata/tools/e2fsprogs.morph
index 9d3b32a8..801f8abe 100644
--- a/strata/tools/e2fsprogs.morph
+++ b/strata/tools/e2fsprogs.morph
@@ -2,10 +2,17 @@ name: e2fsprogs
kind: chunk
build-system: autotools
configure-commands:
+# Configure with the usual paths for binaries and config
+# but also disable whatever we can that is already provided by util-linux
+# Disabling e2fsprofs' libblkid does not work, but we don't have to
+# install it.
- |
./configure --prefix="$PREFIX" --sysconfdir=/etc \
--disable-libuuid --disable-uuidd --disable-fsck
install-commands:
+# e2fsprogs also includes tools that are provided by util-linux, so we
+# need to selectively exclude them. Removing them directly from DESTDIR
+# causes problems, so we need to remove them beforehand.
- |
td="$(mktemp -d)"
make DESTDIR="$td" install