diff --git a/files/scripts/dev/disableRepos.sh b/files/scripts/dev/disableRepos.sh new file mode 100644 index 0000000..2279b18 --- /dev/null +++ b/files/scripts/dev/disableRepos.sh @@ -0,0 +1,9 @@ +#!/usr/bin/bash + +set -eoux pipefail + +sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/fedora-cisco-openh264.repo + +sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/atim-lazygit-fedora-41.repo +sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/atim-starship-fedora-41.repo +sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/atim-ubuntu-fonts-fedora-41.repo diff --git a/files/scripts/home/disableRepos.sh b/files/scripts/home/disableRepos.sh new file mode 100644 index 0000000..55885ed --- /dev/null +++ b/files/scripts/home/disableRepos.sh @@ -0,0 +1,7 @@ +#!/usr/bin/bash + +set -eoux pipefail + +sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/fedora-cisco-openh264.repo + +sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/atim-ubuntu-fonts-fedora-41.repo diff --git a/recipes/dev/dev-recipe.yml b/recipes/dev/dev-recipe.yml index 9f9724b..4349711 100644 --- a/recipes/dev/dev-recipe.yml +++ b/recipes/dev/dev-recipe.yml @@ -30,3 +30,7 @@ modules: file-conflict-policy: skip - from-file: common/autofirma.yml + + - type: script + scripts: + - dev/disableRepos.sh diff --git a/recipes/recipe-home.yml b/recipes/recipe-home.yml index ef5f1b1..8a4d18a 100644 --- a/recipes/recipe-home.yml +++ b/recipes/recipe-home.yml @@ -37,4 +37,8 @@ modules: - from-file: common/autofirma.yml + - type: script + scripts: + - home/disableRepos.sh + - type: signing # this sets up the proper policy & signing files for signed images to work fully