Refactor qmk_install.sh (#10681)
This commit is contained in:
		
							parent
							
								
									3afe0ea9b9
								
							
						
					
					
						commit
						c21d5a0973
					
				
					 19 changed files with 360 additions and 369 deletions
				
			
		
							
								
								
									
										15
									
								
								util/install/fedora.sh
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										15
									
								
								util/install/fedora.sh
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,15 @@
 | 
			
		|||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
_qmk_install() {
 | 
			
		||||
    echo "Installing dependencies"
 | 
			
		||||
 | 
			
		||||
    # TODO: Check whether devel/headers packages are really needed
 | 
			
		||||
    sudo dnf -y install \
 | 
			
		||||
        clang diffutils git gcc glibc-headers kernel-devel kernel-headers make unzip wget zip \
 | 
			
		||||
        python3 \
 | 
			
		||||
        avr-binutils avr-gcc avr-libc \
 | 
			
		||||
        arm-none-eabi-binutils-cs arm-none-eabi-gcc-cs arm-none-eabi-newlib \
 | 
			
		||||
        avrdude dfu-programmer dfu-util
 | 
			
		||||
 | 
			
		||||
    python3 -m pip install --user -r $QMK_FIRMWARE_DIR/requirements.txt
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue