mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-22 03:52:52 +00:00
42 lines
866 B
Bash
42 lines
866 B
Bash
#!/bin/bash
|
|
|
|
cd /sources
|
|
tar xf util-linux-2.38.1.tar.xz
|
|
cd util-linux-2.38.1
|
|
|
|
./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
|
|
--bindir=/usr/bin \
|
|
--libdir=/usr/lib \
|
|
--sbindir=/usr/sbin \
|
|
--docdir=/usr/share/doc/util-linux-2.38.1 \
|
|
--disable-chfn-chsh \
|
|
--disable-login \
|
|
--disable-nologin \
|
|
--disable-su \
|
|
--disable-setpriv \
|
|
--disable-runuser \
|
|
--disable-pylibmount \
|
|
--disable-static \
|
|
--without-python \
|
|
--without-systemd \
|
|
--without-systemdsystemunitdir
|
|
|
|
if [ $? -ne 0 ]
|
|
then
|
|
exit 1
|
|
fi
|
|
|
|
make -j5
|
|
|
|
if [ $? -ne 0 ]
|
|
then
|
|
exit 1
|
|
fi
|
|
|
|
chown -Rv tester .
|
|
su tester -c "make -k check"
|
|
|
|
make install
|
|
|
|
cd /sources
|
|
rm -rf util-linux-2.38.1
|