-
Notifications
You must be signed in to change notification settings - Fork 68
go.mod: update osbuild/images to v0.128.0 #864
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
Conversation
This is going to need changes in the test scripts that rely on the fstab stage to verify mountpoints. |
Tests should be passing now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, this is veyy nice! Really cool that you switched from fstab to proper mount units \o/
test/test_manifest.py
Outdated
@@ -9,7 +9,8 @@ | |||
import pytest | |||
|
|||
import testutil | |||
from containerbuild import build_container_fixture # pylint: disable=unused-import | |||
from containerbuild import \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(just curious) why split this line? I really don't mind, is it for aesthetics or some editor defaults?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops. That was isort
. I keep it on but I need to be careful when it changes things I'm not modifying.
|
1d5128c
to
421ebe7
Compare
Requires osbuild/images#1366 |
421ebe7
to
6b3d7f6
Compare
A major part of this update is the ability to use mount units instead of defining mountpoints in /etc/fstab. For bootc disk images, this is always enabled [1] and requires no further configuration. Closes osbuild#756 [1] osbuild/images@43f1a32
We need to import the fixtures and use them indirectly, which makes it appear like an unused import. Instead of disabling the linter on the line, let's suppress the warning by using _ as the import name. I find this nicer.
Some tests rely on reading the fstab options from the manifest to verify that filesystems and swap partitions generate the right options. These have been changed to instead look for org.osbuild.systemd.unit.create stages with filenames ending in .mount and .swap.
6b3d7f6
to
f496784
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
A major part of this update is the ability to use mount units instead of defining mountpoints in /etc/fstab.
For bootc disk images, this is always enabled [1] and requires no further configuration.
Closes #756
[1] osbuild/images@43f1a32