mirror of
				https://github.com/fspc/gbootroot.git
				synced 2025-10-30 15:25:34 -04:00 
			
		
		
		
	Added the correct options for mkfs.jffs.
This commit is contained in:
		
							parent
							
								
									f7921951e1
								
							
						
					
					
						commit
						d87f6a9cdd
					
				| @ -145,10 +145,10 @@ elsif ( $filesystem =~ /^mkfs\.jffs/ ) { | |||||||
|     $uml->command("umount /mnt2"); |     $uml->command("umount /mnt2"); | ||||||
|     $uml->command("mount -t hostfs none -o $jffs_dir /mnt2"); |     $uml->command("mount -t hostfs none -o $jffs_dir /mnt2"); | ||||||
|     if ( $filesystem =~ /^mkfs\.jffs\s*$/ ) { |     if ( $filesystem =~ /^mkfs\.jffs\s*$/ ) { | ||||||
| 	$uml->command("mkfs.jffs2 -r /mnt1 -o /mnt2/$jffs2_name  -e 0x20000 -p"); | 	$uml->command("mkfs.jffs -d /mnt1 -o /mnt2/$jffs2_name  -e 0x20000"); | ||||||
|     } |     } | ||||||
|     else { |     else { | ||||||
| 	$uml->command("$filesystem -r /mnt1 -o /mnt2/$jffs2_name"); | 	$uml->command("$filesystem -d /mnt1 -o /mnt2/$jffs2_name"); | ||||||
|     } |     } | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user