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
8 years ago
Dmitry Bogatov
1875bce52e
Add support for guixsd into os explorer
9 years ago
Stephan Leemburg
9300eda3c6
Add scientific
9 years ago
smwltr
1882040a25
Adding suuport for OS Devuan
9 years ago
Stephan Leemburg
37fec8b3b5
Added Mitel as a redhat derived OS
9 years ago
Eivind Uggedal
1b25ef33b9
Slackware os and os_version explorer support.
12 years ago
Nico Schottelius
63573a9797
make package_data work
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Giel van Schijndel
9538ef6462
Properly detect OpenWRT in global explorers
...
Signed-off-by: Giel van Schijndel <giel+cdist@mortis.eu>
13 years ago
Matt Coddington
84ca02d7ca
alphabetize os explorer
13 years ago
Matt Coddington
211ee5b043
adding support for amazon linux
13 years ago
Christian G. Warden
b0e25e8784
fix typo
13 years ago
Nico Schottelius
b9335bb7ce
update os/os_version explorer to support owl (openwall linux)
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
c10fedaf8c
it's not preos, but cdist-preos
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
a5bfd41195
Detect owl
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
51da953e49
detect pre-os in explorer
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Ramon Salvadó
9e7048b25d
Fixed package_yum to work on CentOS
14 years ago
Nico Schottelius
e700437b01
also detect fedora
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
4e4e53aebd
+;; (esac)
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
81acb39ad6
explorer/os: add support for solaris
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
e896fc6d4e
explorer/os: add support for *bsd
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
14e7427508
add macosx support to explorer/os
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
30730a3ccc
+add suse support to explorer "os"
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
238b5119eb
begin to migrate from plural to singular, CONSISTENTLY
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Steven Armstrong
f3584aa727
add support for gentoo to explorer os
...
Signed-off-by: Steven Armstrong <steven.armstrong@inf.ethz.ch>
14 years ago
Steven Armstrong
3e89e05b30
add support for gentoo to explorer os
...
Signed-off-by: Steven Armstrong <steven.armstrong@inf.ethz.ch>
14 years ago
Nico Schottelius
16f51ca14d
Finish ugly explorer integration
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
7c6a61f751
+update header
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
4b5d7dda25
mega cleaunp discussion commit :-)
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
d171ad5e64
restructure explorer
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
3d556d0448
cleanup explorer naming
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
de28cf82e6
begin to cleanup obsoleted conf/lib directory
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
53b21178f7
fix support for ubuntu, add first support for redhat
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
15 years ago
Nico Schottelius
9ac20660ef
add cdist_package with dynamic backend selector
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
15 years ago
Nico Schottelius
49ab674edf
move lib below conf
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
15 years ago
Nico Schottelius
847054c77d
finish cdist-explore
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
15 years ago
Nico Schottelius
5f312787a5
add header
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
15 years ago