[hostinfo] There is no config file for this module

- the empty config file would fail in tests
 - move the documentation part of it to CMakeLists.txt
This commit is contained in:
Adriaan de Groot 2019-11-28 16:10:01 +01:00
parent b70e5d7e0f
commit b4e9ec7eb1
2 changed files with 19 additions and 20 deletions

View File

@ -1,3 +1,22 @@
# Configuration for hostinfo
#
# There isn't anything to configure for the hostinfo module.
#
# Hostinfo puts information about the host system into Calamares
# GlobalStorage. This information is generally unchanging. Put
# this module somewhere early in the exec: section to pick up
# the variables. Use a contextualprocess module later to
# react to the values, if needed.
#
# GlobalStorage keys:
#
# - *hostOS* the OS this module was built under; value is "Linux" or
# "FreeBSD" or blank.
# - *hostOSName* the NAME value from /etc/os-release if it exists,
# otherwise the same as *hostOS*.
# - *hostCPU* the make (brand) of the CPU, if it can be determined.
# Values are "Intel" or "AMD" or blank.
calamares_add_plugin( hostinfo calamares_add_plugin( hostinfo
TYPE job TYPE job
EXPORT_MACRO PLUGINDLLEXPORT_PRO EXPORT_MACRO PLUGINDLLEXPORT_PRO

View File

@ -1,20 +0,0 @@
# Configuration for hostinfo
#
# There isn't anything to configure for the hostinfo module.
#
# Hostinfo puts information about the host system into Calamares
# GlobalStorage. This information is generally unchanging. Put
# this module somewhere early in the exec: section to pick up
# the variables. Use a contextualprocess module later to
# react to the values, if needed.
#
# GlobalStorage keys:
#
# - *hostOS* the OS this module was built under; value is "Linux" or
# "FreeBSD" or blank.
# - *hostOSName* the NAME value from /etc/os-release if it exists,
# otherwise the same as *hostOS*.
# - *hostCPU* the make (brand) of the CPU, if it can be determined.
# Values are "Intel" or "AMD" or blank.
---
# There is no configuration to be done.