summaryrefslogtreecommitdiff
path: root/strata/foundation
diff options
context:
space:
mode:
authorTiago Gomes <tiago.gomes@codethink.co.uk>2015-02-04 14:58:47 +0000
committerTiago Gomes <tiago.gomes@codethink.co.uk>2015-02-12 11:35:23 +0000
commit57ce68fea03e8985888ab2a875f5efbc79d7b07a (patch)
treeec6a9183a3c9471fa2c8ecbce608fb614a35a567 /strata/foundation
parent9979c36b008d1803d90fb4dfe849233b28b03196 (diff)
downloaddefinitions-57ce68fea03e8985888ab2a875f5efbc79d7b07a.tar.gz
Update to btrfs-progs v3.18.2
acl and e2fsprogs are new dependencies of btrfs-progs.
Diffstat (limited to 'strata/foundation')
-rw-r--r--strata/foundation/acl.morph4
-rw-r--r--strata/foundation/btrfs-progs.morph4
-rw-r--r--strata/foundation/e2fsprogs.morph21
3 files changed, 27 insertions, 2 deletions
diff --git a/strata/foundation/acl.morph b/strata/foundation/acl.morph
new file mode 100644
index 00000000..4489f5d5
--- /dev/null
+++ b/strata/foundation/acl.morph
@@ -0,0 +1,4 @@
+name: acl
+kind: chunk
+install-commands:
+- make DESTDIR="$DESTDIR" install-dev
diff --git a/strata/foundation/btrfs-progs.morph b/strata/foundation/btrfs-progs.morph
index 356c3f06..d5cb83f0 100644
--- a/strata/foundation/btrfs-progs.morph
+++ b/strata/foundation/btrfs-progs.morph
@@ -1,6 +1,6 @@
name: btrfs-progs
kind: chunk
build-commands:
-- make
+- make DISABLE_DOCUMENTATION=1
install-commands:
-- make DESTDIR="$DESTDIR" prefix="$PREFIX" install
+- make DESTDIR="$DESTDIR" prefix="$PREFIX" DISABLE_DOCUMENTATION=1 install
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"