chroot-yapici
This commit is contained in:
		
							parent
							
								
									0d2913d85e
								
							
						
					
					
						commit
						0f30951e30
					
				
					 4 changed files with 18 additions and 1 deletions
				
			
		
							
								
								
									
										4
									
								
								bin/otopostpre.sh
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										4
									
								
								bin/otopostpre.sh
									
										
									
									
									
										Executable 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
									
								
							
							
						
						
									
										12
									
								
								chroot-yapici.sh
									
										
									
									
									
										Executable 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
 | 
			
		||||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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=""
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue