aboutsummaryrefslogtreecommitdiff
path: root/core/util-linux/build
blob: f93ababb8a16f4985f3cc14e07f1da5fade29350 (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
27
28
#!/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 \
    --disable-su \
    --disable-login \
    --without-udev \
    --without-python \
    --without-systemd \
    --disable-nologin \
    --disable-logger

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