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

image-tools: T6168: compat mode update should preserve console type #3192

Merged
merged 1 commit into from Mar 28, 2024

Conversation

jestabro
Copy link
Contributor

@jestabro jestabro commented Mar 26, 2024

Change Summary

In compatibility mode, the 'default' index in grub.cfg was always the entry for 'tty' console type; fix to use correct entry for current console.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes)
  • Migration from an old Vyatta component to vyos-1x, please link to related PR inside obsoleted component
  • Other (please describe):

Related Task(s)

Related PR(s)

Component(s) name

Proposed changes

How to test

Smoketest result

Checklist:

  • I have read the CONTRIBUTING document
  • I have linked this PR to one or more Phabricator Task(s)
  • I have run the components SMOKETESTS if applicable
  • My commit headlines contain a valid Task id
  • My change requires a change to the documentation
  • I have updated the documentation accordingly

@jestabro jestabro self-assigned this Mar 26, 2024
@vyosbot vyosbot requested review from a team, dmbaturin, sarthurdev, zdc, sever-sever and c-po and removed request for a team March 26, 2024 19:22
Add system image in compatibility mode would set the default boot
without reference to console_type; fix the translation of default to
the correct index in compat grub.cfg.
@jestabro jestabro force-pushed the compat-update-serial-console branch from f0e40f5 to 1cb05f4 Compare March 27, 2024 03:26
@jestabro jestabro marked this pull request as ready for review March 27, 2024 03:26
@vyosbot vyosbot requested a review from a team March 27, 2024 03:27
@jestabro jestabro marked this pull request as draft March 27, 2024 14:30
@jestabro
Copy link
Contributor Author

Moved to draft while considering @c-po test case.

@jestabro
Copy link
Contributor Author

A few related issues/bugs will be separate PRs under task https://vyos.dev/T6176. This one can proceed as is.

@jestabro jestabro marked this pull request as ready for review March 27, 2024 15:45
@vyosbot vyosbot requested a review from a team March 27, 2024 15:45
@c-po c-po merged commit 63b9889 into vyos:current Mar 28, 2024
11 checks passed
@jestabro
Copy link
Contributor Author

@Mergifyio backport sagitta

Copy link

mergify bot commented Apr 17, 2024

backport sagitta

✅ Backports have been created

dmbaturin added a commit that referenced this pull request Apr 17, 2024
image-tools: T6168: compat mode update should preserve console type (backport #3192)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 participants