mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Add compatibility for non-FHS 3.0 systems
* Added `shell.nix` definition for temporary development environment for Nix(OS) * Set uuidgen and other binaries check to not rely on hard-codded paths
This commit is contained in:
@@ -94,7 +94,7 @@ function cli_entrypoint() {
|
||||
if [[ "${ARMBIAN_BUILD_UUID}" != "" ]]; then
|
||||
display_alert "Using passed-in ARMBIAN_BUILD_UUID" "${ARMBIAN_BUILD_UUID}" "debug"
|
||||
else
|
||||
if [[ -f /usr/bin/uuidgen ]]; then
|
||||
if command -v uuidgen 1>/dev/null; then
|
||||
ARMBIAN_BUILD_UUID="$(uuidgen)"
|
||||
else
|
||||
display_alert "uuidgen not found" "uuidgen not installed yet" "info"
|
||||
|
||||
Reference in New Issue
Block a user