mirror of
				https://git.launchpad.net/livecd-rootfs
				synced 2025-11-04 10:54:07 +00:00 
			
		
		
		
	Add NOW env variable in autopkgtest
It was found out that autopkgtests didn't pass the NOW env variable which is generally provided by the launchpad-buildd build and thus the autpkgtests fail.
This commit is contained in:
		
							parent
							
								
									5ac0d924ce
								
							
						
					
					
						commit
						c86e4eff1a
					
				
							
								
								
									
										2
									
								
								debian/tests/default-bootstraps
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								debian/tests/default-bootstraps
									
									
									
									
										vendored
									
									
								
							@ -64,12 +64,14 @@ live_build_rootfs() {
 | 
			
		||||
         SUBPROJECT=$SUBPROJECT \
 | 
			
		||||
         SUITE=$SUITE \
 | 
			
		||||
         ARCH=$ARCH \
 | 
			
		||||
         NOW=$(date '+%Y%m%d') \
 | 
			
		||||
         lb config
 | 
			
		||||
    mkdir chroot
 | 
			
		||||
    # this part needs root rights, but right now the whole script ran as root by autopkgtest
 | 
			
		||||
    env PROJECT=$PROJECT \
 | 
			
		||||
         SUBPROJECT=$SUBPROJECT \
 | 
			
		||||
         ARCH=$ARCH \
 | 
			
		||||
         NOW=$(date '+%Y%m%d') \
 | 
			
		||||
         lb build
 | 
			
		||||
    echo "Build results for project: '$PROJECT' subproject: '$SUBPROJECT' template: '$TEMPLATE' in $PWD"
 | 
			
		||||
    du -sh *
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user