After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 740947 - deploy: Ensure that we can deploy using only /usr/lib/ostree-boot
deploy: Ensure that we can deploy using only /usr/lib/ostree-boot
Status: RESOLVED FIXED
Product: ostree
Classification: Infrastructure
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: OSTree maintainer(s)
OSTree maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2014-12-01 04:14 UTC by Colin Walters
Modified: 2014-12-02 21:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
deploy: Ensure that we can deploy using only /usr/lib/ostree-boot (1.60 KB, patch)
2014-12-01 04:14 UTC, Colin Walters
committed Details | Review

Description Colin Walters 2014-12-01 04:14:03 UTC
rpm-ostree at least has the option to generate a tree with just that
instead of /boot, but while we were enumerating the latter, we'd still
return paths from /boot.
Comment 1 Colin Walters 2014-12-01 04:14:05 UTC
Created attachment 291857 [details] [review]
deploy: Ensure that we can deploy using only /usr/lib/ostree-boot
Comment 2 Matthew Barnes 2014-12-02 21:14:56 UTC
Review of attachment 291857 [details] [review]:

Not sure I fully understand the context but the patch looks okay.

As I understand this you want to return paths relative to $DEPLOYROOT/usr/lib/ostree-boot instead of $DEPLOYROOT/boot, which may not exist.
Comment 3 Colin Walters 2014-12-02 21:50:30 UTC
Yeah, to clarify there are 3 possibilities:

1) Only $DEPLOYROOT/boot
2) Both $DEPLOYROOT/boot and $DEPLOYROOT/usr/lib/ostree-boot
3) Only $DEPLOYROOT/usr/lib/ostree-boot

The goal is #3, but it's a choice of the tree composer side.
Comment 4 Colin Walters 2014-12-02 21:52:13 UTC
Attachment 291857 [details] pushed as 37a0599 - deploy: Ensure that we can deploy using only /usr/lib/ostree-boot