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

Update OpenBSD step to incorporate checking if on -CURRENT so we can pass the correct flags to sysupgrade(8) and pkg_add(1) #922

Closed
Izder456 opened this issue Oct 4, 2024 · 1 comment
Labels
C-feature request New feature request

Comments

@Izder456
Copy link
Contributor

Izder456 commented Oct 4, 2024

Update OpenBSD step to incorporate checking if on -CURRENT so we can pass the correct flags to sysupgrade(8) and pkg_add(1)

Which tool is this about?

Topgrade OpenBSD step

Which operating systems are supported by this tool?

OpenBSD-STABLE (& OpenBSD-CURRENT)

What should Topgrade do to figure out if the tool needs to be invoked?

Pull from uname -r to check if suffixed by -current

Which exact commands should Topgrade run?

If uname -r has -current suffix:

  • pkg_add -Dsnap -u (for pkg)
  • sysupgrade -sn (for system)

Does it have a --dry-run option? i.e., print what should be done and exit.

No.

Does it need the user to confirm the execution? And does it provide a --yes option to skip this step?

No.

More information

I'm self-assigning this. I'll send a PR once finished testing.

@Izder456
Copy link
Contributor Author

Izder456 commented Oct 4, 2024

PR #923 active

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature request New feature request
Projects
None yet
Development

No branches or pull requests

1 participant