1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/parsers/operatingsystem
Alexander Morozov 292a15e40a Use /usr/lib/os-release if /etc/os-release is missing.
As per os-release spec, /usr/lib/os-release file should be tried if
/etc/os-release is missing.

http://www.freedesktop.org/software/systemd/man/os-release.html

Thanks James Hunt <james.o.hunt@intel.com> and
Dimitri John Ledkov <dimitri.j.ledkov@intel.com> for contribution.

Close #17174

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-11-16 16:21:31 -08:00
..
operatingsystem_freebsd.go make docker compile on freebsd 2015-07-29 21:25:56 +03:00
operatingsystem_linux.go Use /usr/lib/os-release if /etc/os-release is missing. 2015-11-16 16:21:31 -08:00
operatingsystem_unix_test.go Use /usr/lib/os-release if /etc/os-release is missing. 2015-11-16 16:21:31 -08:00
operatingsystem_windows.go Lint on pkg/* packages 2015-07-27 21:26:21 +02:00