milis/chroot-yapici.sh

16 lines
531 B
Bash
Executable File
Raw Permalink 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"
chroot "/mnt/lfs" sh -c "/root/bin/mps -trot"
mksquashfs /mnt/lfs /mnt/milis-bootstrap-$tarih.sfs -comp xz