mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-28 14:01:43 +01:00
os-release: Add COREOS_BOARD variable
os-release is requested in bug reports, and knowing which board the problem occurred on is often helpful. Signed-off-by: Geoff Levand <geoff@infradead.org>
This commit is contained in:
parent
8240215fe2
commit
3b8c558367
@ -59,6 +59,7 @@ PRETTY_NAME="$OS_PRETTY_NAME"
|
||||
ANSI_COLOR="38;5;75"
|
||||
HOME_URL="https://coreos.com/"
|
||||
BUG_REPORT_URL="https://github.com/coreos/bugs/issues"
|
||||
COREOS_BOARD="$FLAGS_board"
|
||||
EOF
|
||||
sudo ln -sf "../usr/lib/os-release" "${ROOT_FS_DIR}/etc/os-release"
|
||||
sudo ln -sf "../../lib/os-release" "${ROOT_FS_DIR}/usr/share/coreos/os-release"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user