Commit Graph

7 Commits

Author SHA1 Message Date
Philippe Grégoire 69c6de9f9c
explorer/os: get ID from /etc/os-release
/etc/os-release was introduced by systemd[1] and is now
more and more common; even on systems without systemd (e.g. lede).
In addition to detecting the OS based on specific attributes,
this file provides the ID marker to describe the OS.

This commit adds support for OS detection via /etc/os-release.
According to [2], it is already lowercase.

[1] http://0pointer.de/blog/projects/os-release
[2] https://www.freedesktop.org/software/systemd/man/os-release.html
2017-08-19 16:41:50 -04:00
dmitrybogatov 1875bce52e Add support for guixsd into os explorer 2016-09-02 21:33:11 +02:00
Stephan Leemburg 9300eda3c6 Add scientific 2016-06-22 13:32:51 +02:00
smwltr 1882040a25 Adding suuport for OS Devuan 2016-04-12 12:18:47 +09:00
Stephan Leemburg 37fec8b3b5 Added Mitel as a redhat derived OS 2016-02-23 11:54:08 +01:00
Eivind Uggedal 1b25ef33b9 Slackware os and os_version explorer support. 2013-01-28 08:30:54 -05:00
Nico Schottelius 63573a9797 make package_data work
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-29 22:50:27 +01:00