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

Add a hardknott recovery media image recipe #277

Merged
merged 7 commits into from
Nov 18, 2021

Conversation

amstewart
Copy link
Contributor

This PR adds an image recipe nilrt-recovery-image, which installs the modern, hardknott safemode image to unprovisioned targets. It also removes the historic and confusingly named restore- images and the deprecated, historic lvcomms and minimal recipes.

This PR replaces ni/meta-nilrt PR #276.

There is more work to do on the images/ directory, but it is not as relevant to getting the recovery media pipeline online, so can be deferred to later.

Testing

This recipe builds on my dev machine's nicentral repo. I did not bother checking the deprecated images, for obvious reasons.

@ni/rtos

chaitu236 and others added 7 commits November 16, 2021 21:54
Moved safemode-restore-image into recipes-core/images.

Removed safemode-image recipe and merged its contents into
safemode-restore-image.

Signed-off-by: Chaitanya Vadrevu <chaitanya.vadrevu@ni.com>
We no longer build safemode-restore-image by fetching packages from
internal shares. So remove the code.

Signed-off-by: Chaitanya Vadrevu <chaitanya.vadrevu@ni.com>
Signed-off-by: Alex Stewart <alex.stewart@ni.com>
The "restore image" and "restore mode" terminology has mixed meanings
and can be confused for long-deprecated NILRT features. It is also not
clear to a modern user that these targets represent the
installation/recovery media ISO.

Refactor the safemode-restore-image recipe to nilrt-recovery-image, for
clarity.

Signed-off-by: Alex Stewart <alex.stewart@ni.com>
The hardknott recovery media image is 'nilrt-recovery-image'. Other
images called '*restore*' are deprecated images; remove them to reduce
confusion.

Signed-off-by: Alex Stewart <alex.stewart@ni.com>
The LVComms image variant is no longer a distinct image type for NILRT
and no pipeline should be building it. Remove these image recipes to
reduce the chance for confusion.

Signed-off-by: Alex Stewart <alex.stewart@ni.com>
The `minimal-nilrt-*` image recipes were used when NILRT-NXG existed as
a distinct image variant. Since CG and NXG were consolidated, these
targets are no longer used and should not be built by any pipeline.

Remove the deprecated recipes to avoid confusion.

Signed-off-by: Alex Stewart <alex.stewart@ni.com>
Copy link
Contributor

@chaitu236 chaitu236 left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks!

@amstewart amstewart merged commit 88452fd into ni:nilrt/master/hardknott Nov 18, 2021
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.

3 participants