With the Qemu version shipped with Debian Stretch, the `man-db` package
being installed for Buster in the image triggers many of these errors:
    qemu: Unsupported syscall: 383
This is a manifestation of the following bug:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891109
This is resolved in the current Qemu version shipped with Debian Buster.
		
	
			
		
			
				
	
	
		
			15 lines
		
	
	
		
			380 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			380 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
| FROM debian:buster
 | |
| 
 | |
| ENV DEBIAN_FRONTEND noninteractive
 | |
| 
 | |
| RUN apt-get -y update && \
 | |
|     apt-get -y install \
 | |
|         git vim parted \
 | |
|         quilt coreutils qemu-user-static debootstrap zerofree zip dosfstools \
 | |
|         bsdtar libcap2-bin rsync grep udev xz-utils curl xxd file kmod\
 | |
|     && rm -rf /var/lib/apt/lists/*
 | |
| 
 | |
| COPY . /pi-gen/
 | |
| 
 | |
| VOLUME [ "/pi-gen/work", "/pi-gen/deploy"]
 |