diff options
author | Javier Jardón <javier.jardon@codethink.co.uk> | 2015-05-19 15:45:20 +0100 |
---|---|---|
committer | Baserock Gerrit <gerrit@baserock.org> | 2015-05-19 15:37:21 +0000 |
commit | 508d657dd94478d41eb1ec93a1c1556c607d55e6 (patch) | |
tree | ad435e40d152414b1f5dcd94145842c8a9b01781 /strata/core | |
parent | 10d47bb5a09f8ae20879a17cc01039797a16621a (diff) | |
download | definitions-508d657dd94478d41eb1ec93a1c1556c607d55e6.tar.gz |
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
Diffstat (limited to 'strata/core')
-rw-r--r-- | strata/core/e2fsprogs.morph | 22 |
1 files changed, 22 insertions, 0 deletions
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" |