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

cliwrap: make install-to-root idempotent #4848

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

jlebon
Copy link
Member

@jlebon jlebon commented Feb 29, 2024

Right now, if a system is already cliwrapped, doing install-to-root will incorrectly think the already wrapped entrypoints are the real binaries and do the wrong thing.

Fix this by checking if the directory holding wrapped binaries already exists. If yes, then no-op.

Right now, if a system is already cliwrapped, doing `install-to-root`
will incorrectly think the already wrapped entrypoints are the real
binaries and do the wrong thing.

Fix this by checking if the directory holding wrapped binaries already
exists. If yes, then no-op.

Fixes: coreos/fedora-coreos-tracker#1679
jlebon added a commit to jlebon/fedora-coreos-config that referenced this pull request Feb 29, 2024
This reverts commit 3789b06.

The reported issue that motivated the revert[[1]] is due to an
rpm-ostree bug[[2]].

We can trivially work around this bug until the rpm-ostree fix lands in
FCOS, so let's do that and re-enable cliwrap.

[1]: coreos/fedora-coreos-tracker#1679
[2]: coreos/rpm-ostree#4848
@cgwalters cgwalters merged commit 26bf668 into coreos:main Feb 29, 2024
17 checks passed
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.

2 participants