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

makefile: remove dependencies from build-variant task #376

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

rpkelly
Copy link
Contributor

@rpkelly rpkelly commented Sep 17, 2024

Issue number:

Closes #

Description of changes:
Due to the changes in build requirements created by the switch to building from kits, only the sdk and the kits should now be required to build a botlerocket variant

Testing done:
Used resulting twoliter binary to build a bottlerocket variant from the bottlerocket repo.

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

@@ -857,7 +857,7 @@ cargo build \
]

[tasks.build-variant]
dependencies = ["fetch", "build-sbkeys", "publish-setup", "validate-kits"]
dependencies = ["fetch-sdk", "build-sbkeys", "publish-setup", "validate-kits"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

build-variant can also trigger the equivalent of build-package tasks, and for those we do need to run fetch-sources (for first-party sources under sources/) and fetch-vendored (for packages that need bundled Go modules prepared).

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