mirror of https://github.com/CISOfy/lynis.git
osdetection: add OpenEmbedded and Poky
Signed-off-by: Armin Kuster <akuster@mvista.com>
This commit is contained in:
parent
59a3c4b536
commit
2b82fa6eba
|
@ -308,6 +308,12 @@
|
|||
OS_REDHAT_OR_CLONE=1
|
||||
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||
;;
|
||||
"nodistro")
|
||||
LINUX_VERSION="openembedded"
|
||||
OS_NAME="OpenEmbedded"
|
||||
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||
OS_VERSION_FULL=$(grep "^VERSION=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||
;;
|
||||
"opensuse-tumbleweed")
|
||||
LINUX_VERSION="openSUSE Tumbleweed"
|
||||
# It's rolling release but has a snapshot version (the date of the snapshot)
|
||||
|
@ -330,6 +336,14 @@
|
|||
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||
OS_VERSION_FULL=$(grep "^PRETTY_NAME=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||
;;
|
||||
"poky")
|
||||
LINUX_VERSION="Poky"
|
||||
OS_NAME="openembedded"
|
||||
LINUX_VERSION_LIKE="openembedded"
|
||||
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||
OS_VERSION_FULL=$(grep "^PRETTY_NAME=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||
|
||||
;;
|
||||
"pop")
|
||||
LINUX_VERSION="Pop!_OS"
|
||||
LINUX_VERSION_LIKE="Ubuntu"
|
||||
|
|
Loading…
Reference in New Issue