Skip to content

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

@Izder456

Description

@Izder456

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions