add Buildroot

fix #1520
This commit is contained in:
Francois Perrad 2024-10-02 11:28:06 +02:00
parent c25180a6da
commit 58bff4f54e
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"