You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we create LOCAL_REPO_DIR if LOCAL_RPM_DIR is empty, repodata is created with root permissions.
To clean the environment for the next build, devops requires root permissions which causes an issue.
The text was updated successfully, but these errors were encountered:
Currently due to new dnf requirements, every repo enabled in .yum-mix.conf needs to be a dnf repo dir.
If its just an dir without dnf repodata, dnf will error out.
To fix this issue, Compatibility with latest DNF #731 fix was added in mixer.
The fix creates a repodata for the local repo listed in builder.conf if repodata doesn't exists. This repodata is created during mixer build stage which are executed under root. Hence the repodata ends up being created with root permissions. Even if repo listed is empty, we end up creating a repodata for that repo.
Dont create local-repo by default. Need to investigate what can break due to this change
Add repo commands to enable and disable a repo
ashleshaAtrey
changed the title
Do not create LOCAL_REPO_DIR if LOCAL_RPM_DIR is empty
Cleaning the environment in distro-factory fails due to root permission requirement
Mar 9, 2020
If we create LOCAL_REPO_DIR if LOCAL_RPM_DIR is empty, repodata is created with root permissions.
To clean the environment for the next build, devops requires root permissions which causes an issue.
The text was updated successfully, but these errors were encountered: