swap düzeltme ve sd kart kurulum fix
This commit is contained in:
		
							parent
							
								
									894239f81e
								
							
						
					
					
						commit
						087b792b48
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -151,7 +151,7 @@ def initrdOlustur(hedef):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def grubKur(hedef):
 | 
					def grubKur(hedef):
 | 
				
			||||||
	hedef = hedef[:-1]
 | 
						hedef = hedef[:-1]
 | 
				
			||||||
	if hedef = "/dev/mmcblk0": #SD kart'a kurulum fix
 | 
						if hedef == "/dev/mmcblk0": #SD kart'a kurulum fix
 | 
				
			||||||
		os.system("grub-install --boot-directory=/mnt/boot /dev/mmcblk0")
 | 
							os.system("grub-install --boot-directory=/mnt/boot /dev/mmcblk0")
 | 
				
			||||||
	else:
 | 
						else:
 | 
				
			||||||
		os.system("grub-install --boot-directory=/mnt/boot " + hedef)
 | 
							os.system("grub-install --boot-directory=/mnt/boot " + hedef)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue