Skip to content

makefile: remove dependencies from build-variant task#376

Open
rpkelly wants to merge 1 commit intobottlerocket-os:developfrom
rpkelly:develop
Open

makefile: remove dependencies from build-variant task#376
rpkelly wants to merge 1 commit intobottlerocket-os:developfrom
rpkelly:develop

Conversation

@rpkelly
Copy link
Copy Markdown
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.


[tasks.build-variant]
dependencies = ["fetch", "build-sbkeys", "publish-setup", "validate-kits"]
dependencies = ["fetch-sdk", "build-sbkeys", "publish-setup", "validate-kits"]
Copy link
Copy Markdown
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