prepare-root.sh: turn localtime to absolute symlink in factory
This commit is contained in:
		
							parent
							
								
									70a2d51fa4
								
							
						
					
					
						commit
						a6973aa806
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -376,7 +376,7 @@ echo 'LANG=en_US.UTF-8' > "$sysroot"/usr/share/factory/cfg/locale.conf
 | 
			
		|||
 | 
			
		||||
#---------------
 | 
			
		||||
# localtime
 | 
			
		||||
mv "$sysroot"/etc/localtime "$sysroot"/usr/share/factory/cfg/localtime
 | 
			
		||||
ln -s /usr/share/zoneinfo/GMT "$sysroot"/usr/share/factory/cfg/localtime
 | 
			
		||||
ln -fsnr "$sysroot"/cfg/localtime "$sysroot"/etc/localtime
 | 
			
		||||
 | 
			
		||||
#---------------
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue