e2fsprogs: Remove util-linux dependency

This commit is contained in:
Dylan Araps 2020-02-08 22:14:02 +02:00
parent 7621366b5b
commit 8c7acc6932
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
3 changed files with 15 additions and 9 deletions

View File

@ -1,19 +1,26 @@
#!/bin/sh -e
export LDFLAGS="$LDFLAGS -static"
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--sysconfdir=/etc \
--enable-symlink-install \
--enable-libuuid \
--enable-libblkid \
--disable-uuidd \
--disable-libuuid \
--disable-libblkid \
--disable-elf-shlibs \
--disable-fsck
--disable-fsck \
--disable-elf-shlibs
# MKDIR_P fixes an install issue on musl/busybox.
make
make MKDIR_P="install -d" DESTDIR="$1" install install-libs
make MKDIR_P="install -d" DESTDIR="$1" install-progs-recursive
# Make static libraries writable.
chmod -v u+w "$1/usr/lib/"*.a
# Remove utilities which conflict with util-linux.
rm -f "$1/usr/bin/blkid" \
"$1/usr/bin/uuidgen" \
"$1/usr/bin/findfs" \
"$1/usr/share/man/man8/findfs.8" \
"$1/usr/share/man/man8/blkid.8" \
"$1/usr/share/man/man1/uuidgen.1"

View File

@ -1,3 +1,2 @@
linux-headers make
pkgconf make
util-linux

View File

@ -1 +1 @@
1.45.5 1
1.45.5 2