Skip to content

GNU uname should identify OS as illumos #195

Description

@jclulow

As of bug 1956, the uname binary provided by the operating system will report illumos for uname -o instead of the traditional Solaris. Unfortunately in a pkgsrc-based zone, at least under some conditions the GNU uname appears first in PATH. A naive script may run uname -o and see the Solaris value.

We should patch the pkgsrc copy of uname to report illumos as the system version does.

See example with current trunk packages:

$ /usr/bin/uname -o
illumos
$ /opt/local/bin/uname -o
Solaris

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions