blob: 4207eb78b384cfd13631d57692f3391a053641bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
name: e2fsprogs
kind: chunk
build-system: autotools
configure-commands:
# We disable some components which are duplicated in util-linux, because
# the util-linux versions are newer.
#
# Note that --disable-fsck only disables the 'fsck' wrapper program, not
# the fsck.ext2/3/4 programs which we do need from this chunk.
- |
./configure --prefix="$PREFIX" --sysconfdir=/etc \
--disable-libuuid --disable-uuidd --disable-libblkid --disable-fsck
install-commands:
- |
# Newer versions of some programs are provided by util-linux. We can't
# disable these being built at configure-time, so instead we filter them
# out at install-time.
#
# Removing files from DESTDIR directly causes problems (during a
# cross-bootstrap the DESTDIR could be '/') so we use an additional staging
# directory.
td="$(mktemp -d)"
make DESTDIR="$td" install
make DESTDIR="$td" install-libs
find "$td" \( -name blkid -o -name findfs \) -delete
find "$td" \( -name blkid.8 -o -name findfs.8 \) -delete
mv "$td"/* "$DESTDIR"
|