summaryrefslogtreecommitdiff
path: root/strata/tools/e2fsprogs.def
diff options
context:
space:
mode:
authorPaul Sherwood <paul.sherwood@codethink.co.uk>2014-11-19 16:09:07 +0000
committerPaul Sherwood <paul.sherwood@codethink.co.uk>2014-11-19 16:09:07 +0000
commit53c7140bfe3317abeeaa85fc2f72cc8d9b052355 (patch)
tree7f02dd4c306b5619988b87b9a2a5cf28a5fcd02b /strata/tools/e2fsprogs.def
parente3e0baf91a5f0e1bcd1fad06345bbe4ec88fad1d (diff)
downloaddefinitions-53c7140bfe3317abeeaa85fc2f72cc8d9b052355.tar.gz
After morph-converter.shbaserock/ps/simple-defs
Diffstat (limited to 'strata/tools/e2fsprogs.def')
-rw-r--r--strata/tools/e2fsprogs.def20
1 files changed, 20 insertions, 0 deletions
diff --git a/strata/tools/e2fsprogs.def b/strata/tools/e2fsprogs.def
new file mode 100644
index 00000000..4704e329
--- /dev/null
+++ b/strata/tools/e2fsprogs.def
@@ -0,0 +1,20 @@
+name: e2fsprogs
+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
+ find "$td" \( -name blkid -o -name findfs -o -name fsck \) -delete
+ find "$td" \( -name blkid.8 -o -name findfs.8 \) -delete
+ mv "$td"/* "$DESTDIR"