aboutsummaryrefslogtreecommitdiff
path: root/core/util-linux/build
blob: 28e318c51a2112970aa24aebc70daaf2e171186f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh -e

# During ./configure, disable kill and sulogin as they are provided
# by busybox.
./configure \
    --prefix=/usr \
    --localstatedir=/var \
    --bindir=/usr/bin \
    --sbindir=/usr/bin \
    --libdir=/usr/lib \
    --enable-libuuid \
    --enable-libblkid \
    --enable-fsck \
    --disable-makeinstall-chown \
    --disable-rpath \
    --disable-kill \
    --disable-sulogin \
    --without-udev \
    --without-python \
    --without-systemd \
    --disable-nologin \
    --disable-logger

make
make DESTDIR="$1" install
rm -f "$1/usr/bin/getopt"