mirror of
https://github.com/Linux4Yourself/book.git
synced 2025-01-24 23:32:18 +08:00
2.0 KiB
2.0 KiB
Настройка
./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
--libdir=/usr/lib \
--disable-chfn-chsh \
--disable-login \
--disable-nologin \
--disable-su \
--disable-setpriv \
--disable-runuser \
--disable-pylibmount \
--disable-static \
--without-python \
--without-systemd \
--without-systemdsystemunitdir \
runstatedir=/run
Сборка
make
Тестирование
chown -Rv tester .
su tester -c "make -k check"
Установка
make install
Для multilib
Очистка
make distclean
Настройка
CC="gcc -m32" \
./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
--host=i686-pc-linux-gnu \
--libdir=/usr/lib32 \
--disable-chfn-chsh \
--disable-login \
--disable-nologin \
--disable-su \
--disable-setpriv \
--disable-runuser \
--disable-pylibmount \
--disable-static \
--without-python \
--enable-libmount-force-mountinfo \
--without-systemd \
--without-systemdsystemunitdir \
runstatedir=/run --disable-fdisks --disable-mount --disable-fsck
Сборка
make
Установка
make DESTDIR=$PWD/DESTDIR install
cp -Rv DESTDIR/usr/lib32/* /usr/lib32
rm -rf DESTDIR