Skip to content

Conversation

@cgwalters
Copy link
Contributor

This variable is dead code as far as I can tell. I think it got cargo culted from something similar in skopeo, where it is used:
https://github.com/containers/skopeo/blob/85598438ce295fc9acdc27a1d5f97b7501f411a5/Makefile#L75 etc.

(Instead it looks like there's a PODMANCMD here)

But I'm effectively using this PR as a way to suggest aligning with what we're doing in bootc, where we have a core principle that Makefile should never itself spawn containers (or VMs etc). All the rules in Makefile are things that should work when e.g. building RPMs or debs or the like.

Those tasks are things that are done via Justfile: https://github.com/bootc-dev/bootc/blob/main/Justfile

So for example to align, we'd add a Justfile here and then make validatepr would move to just validatepr.

None

This variable is dead code as far as I can tell. I think it
got cargo culted from something similar in skopeo, where it *is*
used:
https://github.com/containers/skopeo/blob/85598438ce295fc9acdc27a1d5f97b7501f411a5/Makefile#L75
etc.

(Instead it looks like there's a `PODMANCMD` here)

But I'm effectively using this PR as a way to suggest aligning
with what we're doing in bootc, where we have a core principle
that `Makefile` should *never* itself spawn containers (or VMs etc).
All the rules in Makefile are things that should work when e.g.
building RPMs or debs or the like.

Those tasks are things that are done via `Justfile`:
https://github.com/bootc-dev/bootc/blob/main/Justfile

So for example to align, we'd add a `Justfile` here and then
`make validatepr` would move to `just validatepr`.

Signed-off-by: Colin Walters <[email protected]>
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 31, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: cgwalters
Once this PR has been reviewed and has the lgtm label, please assign l0rd for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@cgwalters cgwalters changed the title Makefile: Drop dead CONTAINER_RUNTIME Makefile: Drop unused CONTAINER_RUNTIME Oct 31, 2025
@cgwalters
Copy link
Contributor Author

Also xref bootc-dev/bootc#1719

@afbjorklund
Copy link
Contributor

Seems to have been there since the beginning, to avoid the D-word and the swear jar: 9250747

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants