aboutsummaryrefslogtreecommitdiff
path: root/core/e2fsprogs/build
diff options
context:
space:
mode:
Diffstat (limited to 'core/e2fsprogs/build')
-rwxr-xr-xcore/e2fsprogs/build19
1 files changed, 19 insertions, 0 deletions
diff --git a/core/e2fsprogs/build b/core/e2fsprogs/build
new file mode 100755
index 00000000..a01968a7
--- /dev/null
+++ b/core/e2fsprogs/build
@@ -0,0 +1,19 @@
+#!/bin/sh -e
+
+./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin \
+ --sysconfdir=/etc \
+ --enable-symlink-install \
+ --disable-uuidd \
+ --disable-libuuid \
+ --disable-libblkid \
+ --disable-elf-shlibs \
+ --disable-fsck
+
+# MKDIR_P fixes an install issue on musl/busybox.
+make
+make MKDIR_P="install -d" DESTDIR="$1" install install-libs
+
+# Make static libraries writable.
+chmod -v u+w "$1/usr/lib/"*.a