milis/chroot-yapici.sh

15 lines
484 B
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#malf-milis in klonladığınız dizine giriniz.
#mps-bootstrap da gerekli ikili paket sunucu ayarını yapınız.
#./chroot-yapici çalıştırın.
tarih=`date +%Y-%m-%d`
export LFS=/mnt/lfs
if [ -d /mnt/lfs ];then
rm -r /mnt/lfs
fi
./lfs-mekanizma -ia
./mps-bootstrap -G
./mps-bootstrap -psk talimatname/temel/derleme.sira /mnt/lfs/
./mps-bootstrap -ik git -kok /mnt/lfs
chroot "/mnt/lfs" sh -c "/root/bin/otopostpre.sh"
mksquashfs /mnt/lfs /mnt/milis-bootstrap$tarih.sfs -comp xz