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

mockbuild/buildroot: Make btrfs-control available if host supports it #602

Merged

Conversation

Conan-Kudo
Copy link
Member

In order to be able to successfully build images properly inside of mock
using btrfs filesystems, we need the btrfs-control device to exist.

However, we also need mock to gracefully ignore this if the host does
not support Btrfs and does not provide the btrfs-control device.

mock/py/mockbuild/buildroot.py Outdated Show resolved Hide resolved
@Conan-Kudo
Copy link
Member Author

@praiskup @xsuchy Can either of you look at this ASAP? We need this in for appliance image builds using Btrfs...

Cf. https://pagure.io/fedora-infrastructure/issue/9138

@xsuchy
Copy link
Member

xsuchy commented Jul 20, 2020

@Conan-Kudo Pavel is on holiday for remaining of the week. I will do the review.

Will be the release next week sufficient? Or do you need it sooner?

@Conan-Kudo
Copy link
Member Author

Sooner, unfortunately. This is one of the things making it impossible to image builds using Btrfs on the target root filesystem.

@xsuchy
Copy link
Member

xsuchy commented Jul 20, 2020

Beside that permission, LGTM.

In order to be able to successfully build images properly inside of mock
using btrfs filesystems, we need the btrfs-control device to exist.

However, we also need mock to gracefully ignore this if the host does
not support Btrfs and does not provide the btrfs-control device.
@xsuchy xsuchy merged commit 2209055 into rpm-software-management:master Jul 21, 2020
@xsuchy
Copy link
Member

xsuchy commented Jul 21, 2020

Thank you.

@Conan-Kudo Conan-Kudo deleted the add-btrfs-control-device branch July 21, 2020 10:38
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.

None yet

3 participants