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

start-local-vm: rework image selection to use latest symlink #2696

Conversation

markusboehme
Copy link
Member

Issue number: n/a

Description of changes: The start-local-vm hasn't been using the latest symlink to find the set of images to run with yet. That was needlessly complicated and actually broke with semi-recent changes to buildsys. Fix this by using the latest symlink and reworking the image selection code.

Testing done: Launched local VMs with unified and split images, with and without --force-extract.

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.

The `start-local-vm` hasn't been using the `latest` symlink to find the
set of images to run with yet. That was needlessly complicated and
actually broke with semi-recent changes to buildsys.

Drop the code to clean up old extracted images. All extracted images now
reside in the version-specific directories and can be removed with the
other image build artifacts.

Signed-off-by: Markus Boehme <markubo@amazon.com>
@markusboehme markusboehme merged commit 48d46b4 into bottlerocket-os:develop Jan 5, 2023
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.

None yet

4 participants