Fix Documentation/filesystems/ramfs-rootfs-initramfs.txt
First a file hello.c is created, then the file hello2.c is compiled. Change this to hello.c Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Signed-off-by: Rob Landley <rob@landley.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
		
					parent
					
						
							
								fca692c0a9
							
						
					
				
			
			
				commit
				
					
						dd1c53a64a
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -263,7 +263,7 @@ User Mode Linux, like so:
 | 
			
		|||
    sleep(999999999);
 | 
			
		||||
  }
 | 
			
		||||
  EOF
 | 
			
		||||
  gcc -static hello2.c -o init
 | 
			
		||||
  gcc -static hello.c -o init
 | 
			
		||||
  echo init | cpio -o -H newc | gzip > test.cpio.gz
 | 
			
		||||
  # Testing external initramfs using the initrd loading mechanism.
 | 
			
		||||
  qemu -kernel /boot/vmlinuz -initrd test.cpio.gz /dev/zero
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue