forked from kiss-community/repo
e2fsprogs: Remove util-linux dependency
This commit is contained in:
parent
7621366b5b
commit
8c7acc6932
@ -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"
|
||||
|
@ -1,3 +1,2 @@
|
||||
linux-headers make
|
||||
pkgconf make
|
||||
util-linux
|
||||
|
@ -1 +1 @@
|
||||
1.45.5 1
|
||||
1.45.5 2
|
||||
|
Loading…
Reference in New Issue
Block a user