Merge pull request #1551 from fperrad/buildroot

add Buildroot
This commit is contained in:
Michael Boelen 2024-10-02 16:52:02 +02:00 committed by GitHub
commit 484e99f89e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View File

@ -6,6 +6,7 @@
- FILE-6398 - Only perform test if we know if Linux kernel is monolithic/modular
- KRNL-5622 - Test if systemctl binary is set
- OS detection for Fedora Linux Asahi Remix
- OS detection for Buildroot
---------------------------------------------------------------------------------

View File

@ -202,6 +202,12 @@
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 '"')
;;
"buildroot")
LINUX_VERSION="Buildroot"
OS_NAME="Buildroot"
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 '"')
;;
"bunsenlabs")
LINUX_VERSION="BunsenLabs"
OS_NAME="BunsenLabs"