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

ramips-mt7621: enable swconfig to DSA migration #2560

Merged
merged 3 commits into from
Jun 26, 2022

Conversation

blocktrron
Copy link
Member

@blocktrron blocktrron commented Jun 18, 2022

This Pull-Request implements a migration path for ramips-mt7621 based devices from OpenWrt 19.07 to OpenWrt 22.03.

It implements a mechanism to skip the minor config-version check for a given sysupgrade image, as Gluon regenerates OpenWrt config upon sysupgrade anyhow.

It also patches the image device-compat version in order to allow upgrades from older sysupgrade versions which did not implement this feature.

The OpenWrt image-generation specific patch can be dropped safely in the future, as soon as a Upgrade Path from those Gluon versions is not desired anymore.

Closes #2300 #2391

ToDo:

@blocktrron blocktrron requested a review from neocturne June 18, 2022 00:47
@blocktrron blocktrron added the 1. severity: blocker This issue/pr is required for the next release label Jun 18, 2022
@blocktrron blocktrron added this to the 2022.1 milestone Jun 18, 2022
@blocktrron blocktrron force-pushed the dsa-migration branch 2 times, most recently from 74e0cad to dc77603 Compare June 19, 2022 15:06
@blocktrron
Copy link
Member Author

blocktrron commented Jun 22, 2022

Blocked by #2568

@herbetom
Copy link
Contributor

resolves #2300

b804281 autoupdater: ignore minor compat-version
Set the compat-version of the sysupgrade image to 1.0 in order to allow
upgrades from Gluon-sources which are based on swconfig and do not
ignore mismatching minor compat-versions.

Signed-off-by: David Bauer <mail@david-bauer.net>
Add a migration script to migrate the device path of PCIe WiFi hardware
from OpenWrt 19.07 to the one used with OpenWrt 21.02+.

Signed-off-by: David Bauer <mail@david-bauer.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. severity: blocker This issue/pr is required for the next release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ramips-mt7621: sysupgrade rejects images with newer SUPPORT_VERSION
3 participants