Linux kernel excluded from pulling from Backports
This commit is contained in:
		
							
								
								
									
										10
									
								
								post-inst.sh
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								post-inst.sh
									
									
									
									
									
								
							@@ -127,9 +127,13 @@ Signed-By:		/usr/share/keyrings/debian-archive-keyring.gpg
 | 
				
			|||||||
EOF
 | 
					EOF
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	cat << EOF | tee /etc/apt/preferences.d/backports.pref &> /dev/null
 | 
						cat << EOF | tee /etc/apt/preferences.d/backports.pref &> /dev/null
 | 
				
			||||||
Package: *
 | 
					Package:		*
 | 
				
			||||||
Pin: release n=${VERSION_CODENAME}*
 | 
					Pin:			release	n=${VERSION_CODENAME}*
 | 
				
			||||||
Pin-Priority: 990
 | 
					Pin-Priority:	990
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Package:		linux-*
 | 
				
			||||||
 | 
					Pin:			release	n=${VERSION_CODENAME}-backports
 | 
				
			||||||
 | 
					Pin-Priority:	-1
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if [[ "${VERSION_CODENAME}" == 'bookworm' ]]; then
 | 
						if [[ "${VERSION_CODENAME}" == 'bookworm' ]]; then
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user