From 97bb6bde095909102c70666dc5f9b7290b998298 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Wed, 17 Jul 2024 15:31:25 +0200 Subject: [PATCH] bullseye->bookworm: automatically add non-free-firmware if non-free is enabled --- src/migrations/0027_migrate_to_bookworm.py.disabled | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/migrations/0027_migrate_to_bookworm.py.disabled b/src/migrations/0027_migrate_to_bookworm.py.disabled index 0416e8f05..4e22cbd75 100644 --- a/src/migrations/0027_migrate_to_bookworm.py.disabled +++ b/src/migrations/0027_migrate_to_bookworm.py.disabled @@ -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)