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 \
|
|
|
|
--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"
|