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

yupdate - added suport for patching containers (bsc#1207069) #1073

Merged
merged 1 commit into from
Jan 12, 2023

Conversation

lslezak
Copy link
Member

@lslezak lslezak commented Jan 12, 2023

Problem

Solution

  • Detect a container presence with systemd-detect-virt --container, fallback to testing some container specific files.
  • If a container is detected then allow patching the system.

Testing

  • Tested manually
yast-container PC:/ # yupdate patch yast/yast-packager master
Downloading https://github.com/yast/yast-packager/archive/master.tar.gz
Preparing files...
Copying to system...
Updated: /usr/share/YaST2/include/checkmedia/ui.rb
Updated: /usr/share/applications/YaST2/org.opensuse.yast.CheckMedia.desktop
Updated: /usr/share/applications/YaST2/org.opensuse.yast.SWSingle.desktop
Updated: /usr/share/applications/YaST2/org.opensuse.yast.SWSource.desktop
Updated: /usr/share/applications/org.opensuse.yast.Packager.desktop
Number of modified files: 5

@coveralls
Copy link

Coverage Status

Coverage: 40.793% (+0.02%) from 40.77% when pulling bc076fe on yupdate_in_container into ece31be on master.

@lslezak lslezak merged commit 33324cc into master Jan 12, 2023
@lslezak lslezak deleted the yupdate_in_container branch January 12, 2023 08:34
@yast-bot
Copy link
Contributor

✔️ Public Jenkins job #247 successfully finished
✔️ Created OBS submit request #1057929

@yast-bot
Copy link
Contributor

✔️ Internal Jenkins job #143 successfully finished
✔️ Created IBS submit request #288027

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants