chroot-yapici

This commit is contained in:
milisbir 2016-04-20 21:15:07 +00:00
parent 0d2913d85e
commit 0f30951e30
4 changed files with 18 additions and 1 deletions

4
bin/otopostpre.sh Executable file
View File

@ -0,0 +1,4 @@
for i in /tmp/*.POST; do bash $i; done
rm /tmp/*.POST
rm /tmp/*.PRE
mps -Ggit

12
chroot-yapici.sh Executable file
View File

@ -0,0 +1,12 @@
klon_yol="/sources/milis.git"
cd $klon_yol
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 "otopostpre.sh"
mksquashfs /mnt/lfs /mnt/milis_bootstrap.sfs -comp xz

View File

@ -121,6 +121,7 @@ ikinci_ayarlar(){
cp -a $AYARLAR $LFS/root/
cp -a $ANADIZIN/lfs-mekanizma $LFS/root/
cp -a $ANADIZIN/rootfs/* $LFS/
cp /etc/resolv.conf $LFS/etc/
gerekli_dizinler
lokalizasyon
fstab_olustur

View File

@ -4,7 +4,7 @@
versiyon="0.4"
iletisim="milisarge@gmail.com"
paketdepo="/tmp/paketler/"
sunucu="192.168.1.23:8000/"
sunucu="192.168.1.111:8000/"
#sunucu="http://milis.gungre.ch/packages/"
git_sunucu="https://github.com/milisarge/malfs-milis"
ikaynak=""