genbuild_h: timestamps should not depend on LANG or LC_ALL
Fixes reproducible builds. Change-Id: I3b0a21f93daee09605c0c2a05c1739e04f44527f Signed-off-by: Alexander Couzens <lynxis@fe80.eu> Reviewed-on: http://review.coreboot.org/10447 Tested-by: build bot (Jenkins) Reviewed-by: Peter Stuge <peter@stuge.se>
This commit is contained in:
		
				
					committed by
					
						 Peter Stuge
						Peter Stuge
					
				
			
			
				
	
			
			
			
						parent
						
							7710379da9
						
					
				
				
					commit
					d9bc2fadc4
				
			| @@ -27,7 +27,7 @@ if [ -d "${top}/.git" ] && [ -f "$(command -v git)" ]; then | |||||||
| 	DATE=$(git log --pretty=format:%ct -1) | 	DATE=$(git log --pretty=format:%ct -1) | ||||||
| else | else | ||||||
| 	GITREV=Unknown | 	GITREV=Unknown | ||||||
| 	TIMESOURCE="LANG= TZ=UTC date" | 	TIMESOURCE="LANG=C LC_ALL=C TZ=UTC date" | ||||||
| 	DATE=$(date +%s) | 	DATE=$(date +%s) | ||||||
| fi | fi | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user