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

29 lines
641 B
Plaintext
Raw Normal View History

2019-07-06 11:05:49 -06:00
#!/bin/sh -e
2019-07-20 11:13:20 -06:00
# During ./configure, disable kill and sulogin as they are provided
# by busybox.
2019-07-06 11:05:49 -06: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 11:13:20 -06:00
--disable-kill \
--disable-sulogin \
2019-07-06 11:05:49 -06:00
--without-udev \
--without-python \
--without-systemd
make
make DESTDIR="$1" install
2019-07-19 07:48:32 -06:00
2019-07-20 11:13:20 -06:00
# Remove getopt as it is provided by busybox. (For some reason
# ./configure does not support it)
2019-07-19 07:48:32 -06:00
rm -f "$1/usr/bin/getopt"