1
0
mirror of https://github.com/krglaws/MyLFS.git synced 2026-01-13 20:19:09 +00:00
Files
MyLFS-big_bash_script/phase2/coreutils.sh
2022-03-26 17:55:10 -04:00

16 lines
490 B
Bash

# Coreutils Phase 2
./configure --prefix=/usr \
--host=$LFS_TGT \
--build=$(build-aux/config.guess) \
--enable-install-program=hostname \
--enable-no-install-program=kill,uptime
make
make DESTDIR=$LFS install
mv $LFS/usr/bin/chroot $LFS/usr/sbin
mkdir -p $LFS/usr/share/man/man8
mv $LFS/usr/share/man/man1/chroot.1 $LFS/usr/share/man/man8/chroot.8
sed -i 's/"1"/"8"/' $LFS/usr/share/man/man8/chroot.8