Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable additional repos in combustion. #1739

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions backend_modules/libvirt/host/combustion
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ for i in ${additional_repos}; do
name=$(echo $i | cut -d= -f1)
url=$(echo $i | cut -d= -f2)
%{ if product_version == "uyuni-pr" }
zypper ar --no-gpgcheck $url $name
zypper ar --no-gpgcheck -f -e $url $name
%{ else }
zypper ar $url $name
zypper ar -f -e $url $name
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't really get it, the default is to have it enabled, then... I don't see how this change will help.

           -e, --enable
               Enable the repository (the default).

           -f, --refresh
               Enable autorefresh of the repository. The autorefresh is disabled by default when adding new
               repositories.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It installed the correct packages, so it was enabled when it was required.

suma-bv-50-server:/var/log # grep 35946_repo transactional-update.log 
Retrieving: mgradm-0.1.23-150500.3.6.1.x86_64 (35946_repo) (1/3),   3.0 MiB    
Retrieving: mgrctl-0.1.23-150500.3.6.1.x86_64 (35946_repo) (2/3),   2.8 MiB   
suma-bv-50-server:/var/log/zypp # grep 35946 history 
2024-10-16 01:29:47|install|mgradm|0.1.23-150500.3.6.1|x86_64|root@localhost|35946_repo|9fdc6132623d8bbd69d8e5f7097bfc9884b50715330856a4570c41e3bbe40acb|
2024-10-16 01:29:48|install|mgrctl|0.1.23-150500.3.6.1|x86_64|root@localhost|35946_repo|f6390165c22b0ff1b72912022487b53fbd36119ad5a7ae356cccbc41bda41c6d|
2024-10-16 01:29:48|patch  |SUSE-SUSE-Manager-Server-5.0-2024-35946|1|noarch|35946_repo|moderate|recommended|not-needed|applied|

%{ endif }
done

Expand Down
Loading