Skip to content

Commit

Permalink
update readmes
Browse files Browse the repository at this point in the history
  • Loading branch information
jxsl13 committed Mar 10, 2023
1 parent 9233e0a commit ce2c4ab
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 9 deletions.
58 changes: 55 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,60 @@ func main() {
}
```

### Info
### requirements

requires Linux kernel version 2.6.32
requires Linux kernel version 2.6.32 or newer, which is the smallest compilation target for Go.
This prevents us from running on pretty old operating systems like SLES 10 and older.

- SLES >= 11


## `distro`package

This package supports detecting different os families, architectures, distributions and distribution versions.

### supportes OS families
The `distro` package supports these families and detecting their distro (or os) version.

- aix (does not have distributions)
- darwin (different os names depending on version)
- linux (see below)
- solaris (see below)
- windows

### supported `linux` distributions

- Alpine Linux
- ALT Linux
- Amazon
- Arch Linux
- CentOS (and CentOS Stream, TencentOS)
- Clear Linux
- Cumulus Linux
- Debian
- Deepin
- Devuan
- Gentoo
- Linux Mint
- Mandriva
- OpenWrt
- Oracle Linux
- RHEL
- Slackware
- SMGL
- SUSE
- Ubuntu
- Uos

### supported `solaris` distributions

- NexentaOS
- OmniOS
- OpenIndiana
- SmartOS
- Solaris (= Oracle Solaris)

### `windows`

The windows versioning is the same as the version string provided by the `WinVer.exe`.

- SLES >= 11
13 changes: 7 additions & 6 deletions distro/README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
# distro

# `distro`package

This package supports detecting different os families, architectures, distributions and distribution versions.

## supportes OS families
The `distro` package supports these families and detecting their distro (or os) version.

- aix
- darwin
- linux
- solaris
- windows
- aix (does not have distributions)
- darwin (different os names depending on version)
- linux (see below)
- solaris (see below)
- windows

## supported `linux` distributions

Expand Down

0 comments on commit ce2c4ab

Please sign in to comment.