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 37
37
38
38
"""
39
39
40
+ prefs_pipewire_data = """\
41
+ Package: src:pipewire
42
+ Pin: release n=bookworm-backports
43
+ Pin-Priority: 600
44
+
45
+ """
46
+
40
47
41
48
def add_backports_repo ():
42
49
# find URL flavor used for deb.debian.org
@@ -82,20 +89,26 @@ def check_package_not_from_backports(package):
82
89
83
90
def bookworm_backports (os_data , log , ** kwargs ):
84
91
"""
85
- Update firmware packages from backports repository.
92
+ Update firmware and/or pipewire packages from backports repository.
86
93
87
94
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
88
97
"""
89
98
if os_data .get ("codename" , "" ) == "bookworm" :
90
99
# check what packages need to be updated to backports version
91
100
update_firmware = check_package_not_from_backports (
92
101
"firmware-linux-nonfree"
93
102
)
94
- if not update_firmware :
103
+ update_pipewire = check_package_not_from_backports ("pipewire" )
104
+ if not update_firmware and not update_pipewire :
95
105
return
96
106
add_backports_repo ()
97
107
# then pin firmware packages to backports repo
98
108
if not os .path .exists (prefs_path ):
99
109
with open (prefs_path , "w" ) as prefs :
100
110
if update_firmware :
101
111
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