Bug 1729430
| Summary: | rpm2flatpak: Do not hardcode sysconfdir to /etc | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Milan Crha <mcrha> | ||||
| Component: | udisks2 | Assignee: | Vojtech Trefny <vtrefny> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 30 | CC: | gnome-sig, tbzatek, vtrefny | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | udisks2-2.8.4-1.fc30 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2019-08-08 00:55:10 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
upstream PR: https://github.com/storaged-project/udisks/pull/678 Thank you for the patch. FYI, I'm going to release udisks-2.8.4 sometime next week so I'll update the Fedora packages accordingly. No need to build extra package just for this tiny change. > No need to build extra package just for this tiny change.
Definitely, no hurry at all. I found it only accidentally.
FEDORA-2019-65574a0e7a has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-65574a0e7a udisks2-2.8.4-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-65574a0e7a udisks2-2.8.4-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 1589811 [details] proposed patch While trying to build udisks2 flatpak from rpm I faced an issue with hardcoded sysconfdir in the %configure macro call in the .spec file. The flatpak build has it in /app/etc/ instead, thus it breaks the build there. There can be done two approaches: a) change the --sysconfdir=/etc to --sysconfdir=%{_sysconfdir} b) do not declare --sysconfdir at all, because it's already provided, with correct value, in the %configure macro.