2019-07-06 11:05:49 -06:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--localstatedir=/var \
|
|
|
|
--bindir=/usr/bin \
|
|
|
|
--sbindir=/usr/bin \
|
|
|
|
--libdir=/usr/lib \
|
|
|
|
--enable-libuuid \
|
|
|
|
--enable-libblkid \
|
|
|
|
--enable-fsck \
|
2022-10-20 02:59:50 -06:00
|
|
|
--enable-chfn-chsh \
|
|
|
|
--disable-chfn-chsh-password \
|
2019-07-06 11:05:49 -06:00
|
|
|
--disable-makeinstall-chown \
|
|
|
|
--disable-rpath \
|
|
|
|
--without-udev \
|
|
|
|
--without-python \
|
|
|
|
--without-systemd
|
|
|
|
|
|
|
|
make
|
2021-07-17 21:26:18 -06:00
|
|
|
make install
|
2020-02-10 13:50:44 -07:00
|
|
|
|
|
|
|
# Fix broken --sbindir.
|
|
|
|
mv -f "$1/usr/sbin/"* "$1/usr/bin"
|
|
|
|
rmdir "$1/usr/sbin"
|
2021-07-12 02:58:19 -06:00
|
|
|
|
|
|
|
rm -rf \
|
|
|
|
"$1/usr/share/doc" \
|
|
|
|
"$1/usr/share/bash-completion"
|
|
|
|
|