From 508d657dd94478d41eb1ec93a1c1556c607d55e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Tue, 19 May 2015 15:45:20 +0100 Subject: Move e2fsprogs from foundation to core stratum So cross- systems doesnt depend on the whole foundation (cross- systems include morph, which depends on ostree, wich depends on e2fsprogs) Change-Id: I77918e2a2a66e9bd7c8ce77d2447e390d192a1c8 --- strata/core/e2fsprogs.morph | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 strata/core/e2fsprogs.morph (limited to 'strata/core') diff --git a/strata/core/e2fsprogs.morph b/strata/core/e2fsprogs.morph new file mode 100644 index 00000000..55ac486c --- /dev/null +++ b/strata/core/e2fsprogs.morph @@ -0,0 +1,22 @@ +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-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 + make DESTDIR="$td" install-libs + find "$td" \( -name blkid -o -name findfs -o \) -delete + find "$td" \( -name blkid.8 -o -name findfs.8 \) -delete + mv "$td"/* "$DESTDIR" -- cgit v1.2.1