mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
bullseye->bookworm: automatically add non-free-firmware if non-free is enabled
This commit is contained in:
parent
ca59886303
commit
97bb6bde09
1 changed files with 2 additions and 0 deletions
|
@ -371,6 +371,7 @@ class MyMigration(Migration):
|
|||
# - comments lines containing "backports"
|
||||
# - replace 'bullseye/updates' by 'bookworm/updates' (or same with -)
|
||||
# - make sure the yunohost line has the "signed-by" thingy
|
||||
# - replace "non-free" with "non-free non-free-firmware"
|
||||
# Special note about the security suite:
|
||||
# https://www.debian.org/releases/bullseye/amd64/release-notes/ch-information.en.html#security-archive
|
||||
for f in sources_list:
|
||||
|
@ -380,6 +381,7 @@ class MyMigration(Migration):
|
|||
"-e '/backports/ s@^#*@#@' "
|
||||
"-e 's@ bullseye/updates @ bookworm-security @g' "
|
||||
"-e 's@ bullseye-@ bookworm-@g' "
|
||||
"-e 's@ non-free@ non-free non-free-firmware@g' "
|
||||
"-e 's@deb.*http://forge.yunohost.org@deb [signed-by=/usr/share/keyrings/yunohost-bookworm.gpg] http://forge.yunohost.org@g' "
|
||||
)
|
||||
os.system(command)
|
||||
|
|
Loading…
Add table
Reference in a new issue