mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-04 14:30:30 +03:00 
			
		
		
		
	gitlab-ci: fix binfmt support for focal to run apksigner
This manually mounts the binfmt_misc dir if its not present. It seems the Ubuntu/focal release stopped auto-mounting binfmt_misc: https://bugs.launchpad.net/binfmt-support/+bug/1878413
This commit is contained in:
		
							parent
							
								
									72e85bcccf
								
							
						
					
					
						commit
						cfa88a5335
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -92,8 +92,10 @@ ubuntu_lts_ppa:
 | 
			
		|||
    - echo "deb http://ppa.launchpad.net/fdroid/fdroidserver/ubuntu $RELEASE main" >> /etc/apt/sources.list
 | 
			
		||||
    - apt-get update
 | 
			
		||||
    - apt-get dist-upgrade
 | 
			
		||||
    - mount | grep binfmt_misc || mount -t binfmt_misc binfmt_misc /proc/sys/fs/binfmt_misc
 | 
			
		||||
    - apt-get install --install-recommends binfmt-support fdroidserver git python3-defusedxml python3-setuptools
 | 
			
		||||
    - grep binfmt /proc/modules || apt -qy purge apksigner
 | 
			
		||||
    - ls -l /proc/sys/fs/binfmt_misc || true
 | 
			
		||||
    - test -e /proc/sys/fs/binfmt_misc/jarwrapper || apt -qy purge apksigner
 | 
			
		||||
    - cd tests
 | 
			
		||||
    - ./run-tests
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue