add flatpak script
required so that flatpak run is a valid command inside the container
This commit is contained in:
		
							parent
							
								
									19d231446f
								
							
						
					
					
						commit
						7751e78167
					
				
					 2 changed files with 16 additions and 1 deletions
				
			
		| 
						 | 
					@ -30,9 +30,16 @@ finish-args:
 | 
				
			||||||
# If we had external dependencies that weren't included in our SDK, we would list
 | 
					# If we had external dependencies that weren't included in our SDK, we would list
 | 
				
			||||||
# them here.
 | 
					# them here.
 | 
				
			||||||
modules:
 | 
					modules:
 | 
				
			||||||
 | 
					    - name: flatpak-script
 | 
				
			||||||
 | 
					      buildsystem: simple
 | 
				
			||||||
 | 
					      build-commands:
 | 
				
			||||||
 | 
					        - install -D flatpak.sh /app/bin/flatpak
 | 
				
			||||||
 | 
					      sources:
 | 
				
			||||||
 | 
					        - type: file
 | 
				
			||||||
 | 
					          path: sources/flatpak.sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: webpin
 | 
					    - name: webpin
 | 
				
			||||||
      buildsystem: meson
 | 
					      buildsystem: meson
 | 
				
			||||||
      sources:
 | 
					      sources:
 | 
				
			||||||
        - type: dir
 | 
					        - type: dir
 | 
				
			||||||
          path: .
 | 
					          path: .
 | 
				
			||||||
          
 | 
					 | 
				
			||||||
							
								
								
									
										8
									
								
								sources/flatpak.sh
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								sources/flatpak.sh
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,8 @@
 | 
				
			||||||
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# The build system puts this file as /app/bin/flatpak
 | 
				
			||||||
 | 
					# in the container
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# This is required so that the container sees "flatpak" as a valid command
 | 
				
			||||||
 | 
					# so that it will read the .desktop files
 | 
				
			||||||
 | 
					echo "flatpak"
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue