 27c9d80f51
			
		
	
	27c9d80f51
	
	
		
			
	
		
	
	
		
			Some checks failed
		
		
	
	Build Kernel / Build all affected Kernels (push) Has been cancelled
				
			Build all core packages / Build all core packages for selected target (push) Has been cancelled
				
			Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
				
			Build Toolchains / Build Toolchains for each target (push) Has been cancelled
				
			Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
				
			Coverity scan build / Coverity x86/64 build (push) Has been cancelled
				
			
		
			
				
	
	
		
			26 lines
		
	
	
		
			873 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			873 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| From 5ede3f8aed9a1a579bf7304142600d1f3500add9 Mon Sep 17 00:00:00 2001
 | |
| From: Daniel Golle <daniel@makrotopia.org>
 | |
| Date: Mon, 12 Jun 2023 03:58:42 +0100
 | |
| Subject: [PATCH 2/2] init: bypass device lookup for /dev/fit* rootfs
 | |
| 
 | |
| Allow 'rootwait' as /dev/fit* can show up late if the underlaying
 | |
| device is probed late.
 | |
| 
 | |
| Signed-off-by: Daniel Golle <daniel@makrotopia.org>
 | |
| ---
 | |
|  init/do_mounts.c | 3 ++-
 | |
|  1 file changed, 2 insertions(+), 1 deletion(-)
 | |
| 
 | |
| --- a/init/do_mounts.c
 | |
| +++ b/init/do_mounts.c
 | |
| @@ -645,7 +645,8 @@ void __init prepare_namespace(void)
 | |
|  
 | |
|  	if (saved_root_name[0]) {
 | |
|  		root_device_name = saved_root_name;
 | |
| -		if (!strncmp(root_device_name, "mtd", 3) ||
 | |
| +		if (!strncmp(root_device_name, "fit", 3) ||
 | |
| +		    !strncmp(root_device_name, "mtd", 3) ||
 | |
|  		    !strncmp(root_device_name, "ubi", 3)) {
 | |
|  			mount_block_root(root_device_name, root_mountflags);
 | |
|  			goto out;
 |