mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-03 22:44:27 -05:00 
			
		
		
		
	imx6: apalis: add missing jffs2reset to ramfs during sysupgrade
jffs2reset is used to cleanup the rootfs_data overlay, but it's
currently missing in the ramfs during sysupgrade leading to the
following error:
 Switching to ramdisk...
 Performing system upgrade...
 /lib/upgrade/do_stage2: line 27: jffs2reset: not found
Fixes: 2f1a11d008 ("imx6: apalis: fix config survival after sysupgrade -n")
Signed-off-by: Petr Štetiar <ynezz@true.cz>
			
			
This commit is contained in:
		
							parent
							
								
									5e9a6d08d2
								
							
						
					
					
						commit
						0711b515f6
					
				@ -4,7 +4,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
. /lib/imx6.sh
 | 
					. /lib/imx6.sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
RAMFS_COPY_BIN='blkid'
 | 
					RAMFS_COPY_BIN='blkid jffs2reset'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
enable_image_metadata_check() {
 | 
					enable_image_metadata_check() {
 | 
				
			||||||
	case "$(board_name)" in
 | 
						case "$(board_name)" in
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user