2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-04 23:12:28 +00:00
repo/core/util-linux/build

29 lines
641 B
Plaintext
Raw Normal View History

2019-07-06 17:05:49 +00:00
#!/bin/sh -e
2019-07-20 17:13:20 +00:00
# During ./configure, disable kill and sulogin as they are provided
# by busybox.
2019-07-06 17:05:49 +00:00
./configure \
--prefix=/usr \
--localstatedir=/var \
--bindir=/usr/bin \
--sbindir=/usr/bin \
--libdir=/usr/lib \
--disable-nls \
--enable-libuuid \
--enable-libblkid \
--enable-fsck \
--disable-makeinstall-chown \
--disable-rpath \
2019-07-20 17:13:20 +00:00
--disable-kill \
--disable-sulogin \
2019-07-06 17:05:49 +00:00
--without-udev \
--without-python \
--without-systemd
make
make DESTDIR="$1" install
2019-07-19 13:48:32 +00:00
2019-07-20 17:13:20 +00:00
# Remove getopt as it is provided by busybox. (For some reason
# ./configure does not support it)
2019-07-19 13:48:32 +00:00
rm -f "$1/usr/bin/getopt"