File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
vmupdate/agent/source/plugins Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change 3737
3838"""
3939
40+ prefs_pipewire_data = """\
41+ Package: src:pipewire
42+ Pin: release n=bookworm-backports
43+ Pin-Priority: 600
44+
45+ """
46+
4047
4148def add_backports_repo ():
4249 # find URL flavor used for deb.debian.org
@@ -82,20 +89,26 @@ def check_package_not_from_backports(package):
8289
8390def bookworm_backports (os_data , log , ** kwargs ):
8491 """
85- Update firmware packages from backports repository.
92+ Update firmware and/or pipewire packages from backports repository.
8693
8794 https://github.com/QubesOS/qubes-issues/issues/9815
95+ https://github.com/QubesOS/qubes-issues/issues/8560
96+ https://github.com/QubesOS/qubes-issues/issues/8916
8897 """
8998 if os_data .get ("codename" , "" ) == "bookworm" :
9099 # check what packages need to be updated to backports version
91100 update_firmware = check_package_not_from_backports (
92101 "firmware-linux-nonfree"
93102 )
94- if not update_firmware :
103+ update_pipewire = check_package_not_from_backports ("pipewire" )
104+ if not update_firmware and not update_pipewire :
95105 return
96106 add_backports_repo ()
97107 # then pin firmware packages to backports repo
98108 if not os .path .exists (prefs_path ):
99109 with open (prefs_path , "w" ) as prefs :
100110 if update_firmware :
101111 prefs .write (prefs_firmware_data )
112+
113+ if update_pipewire :
114+ prefs .write (prefs_pipewire_data )
You can’t perform that action at this time.
0 commit comments