summaryrefslogtreecommitdiff
path: root/strata/foundation/e2fsprogs.morph
diff options
context:
space:
mode:
authorTiago Gomes <tiago.gomes@codethink.co.uk>2015-02-12 11:42:13 +0000
committerTiago Gomes <tiago.gomes@codethink.co.uk>2015-02-12 11:42:13 +0000
commit124189b2955f30c383fc47c150ff2123568134a8 (patch)
treec8e571ae499c394881957750a4f05a4d5bf5be1a /strata/foundation/e2fsprogs.morph
parent1319309d3ff4eb85cb0e7e6cb178cb56ff116524 (diff)
parent1b012d96c08bed47579dd79fc91177c566e7162a (diff)
downloaddefinitions-124189b2955f30c383fc47c150ff2123568134a8.tar.gz
Merge branch 'baserock/tiagogomes/armv8l64'
Reviewed by: * Javier Jardón <jjardon@gnome.org> * Sam Thursfield <sam.thursfield@codethink.co.uk>
Diffstat (limited to 'strata/foundation/e2fsprogs.morph')
-rw-r--r--strata/foundation/e2fsprogs.morph21
1 files changed, 21 insertions, 0 deletions
diff --git a/strata/foundation/e2fsprogs.morph b/strata/foundation/e2fsprogs.morph
new file mode 100644
index 00000000..a57eb15a
--- /dev/null
+++ b/strata/foundation/e2fsprogs.morph
@@ -0,0 +1,21 @@
+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 --disable-libblkid
+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-libs
+ find "$td" \( -name blkid -o -name findfs -o -name fsck \) -delete
+ find "$td" \( -name blkid.8 -o -name findfs.8 \) -delete
+ mv "$td"/* "$DESTDIR"