1
0
mirror of https://github.com/rancher/os.git synced 2025-08-14 21:15:15 +00:00
os/scripts/build

23 lines
563 B
Plaintext
Raw Normal View History

2016-05-06 17:12:09 +00:00
#!/bin/bash
set -e
version_gt() {
test "$(printf '%s\n' "$@" | sort -V | head -n 1)" != "$1";
}
if [ "$KERNEL_CHECK" != "0" ]; then
echo "Host Kernel: $(uname -r)"
echo "BurmillaOS Kernel: $KERNEL_VERSION"
# if [ $(uname -r) != $KERNEL_VERSION ] && ! version_gt $(uname -r) $KERNEL_VERSION; then
# echo "Your host kernel must be greater than BurmillaOS KERNEL_VERSION"
# exit 1
# fi
fi
echo -------------------------./build-target
2016-05-06 17:12:09 +00:00
$(dirname $0)/build-target
echo -------------------------./build-host
2016-05-06 17:12:09 +00:00
$(dirname $0)/build-host