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

falter-berlin-autoupdate: if possible, use --ignore-minor-compat-version #440

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Akira25
Copy link
Member

@Akira25 Akira25 commented Sep 23, 2024

The option --ignore-minor-compat-version enables the sysupgrade command to do an update also in case, there is a minor compat-version upgrade. This is relevant for the change from swconfig to dsa.

Compile tested: no.
Run tested: Yes, on a Archer-C5v1 w/ Falter 1.2.3 (OpenWrt-21.02) and mikrotik_routerboard-750gr3 w/ OpenWrt-23.05

The option `--ignore-minor-compat-version` enables the sysupgrade command
to do an update also in case, there is a minor compat-version upgrade. This
is relevant for the change from swconfig to dsa.

Signed-off-by: Martin Hübner <[email protected]>
@FFHener
Copy link
Contributor

FFHener commented Oct 1, 2024

Why do we want to ignore the jump in Combat Version if the (custom) config from the router will likely not work after it? Just asking to understand your PR better as you requested a review from me.

@Akira25
Copy link
Member Author

Akira25 commented Oct 3, 2024

We want to ignore minor compat-version jumps only. This is needed i.e. for the devices changing from swconfig to DSA. They are incompatible at first glance, but we can migrate that case automatically. I was told, that Gluon did something similar already. @Noki / @pktpls and I agreed on this at the Community day.

Copy link
Contributor

@FFHener FFHener left a comment

Choose a reason for hiding this comment

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

Looks goot to me

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