Skip to content

Commit 705b76b

Browse files
Use LINUX_VERSION in update_linux, if defined
1 parent 161495e commit 705b76b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

cloudlab/bin/update_linux

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# Copyright (c) 2020-2023 Homa Developers
3+
# Copyright (c) 2020-2026 Homa Developers
44
# SPDX-License-Identifier: BSD-1-Clause
55

66
# This script uses files on the current machine to update the kernel one
@@ -15,8 +15,8 @@
1515
# (e.g. "update_linux 4 2" means node2 through node5 will be updated).
1616
# "first" defaults to 1.
1717

18-
v=`uname -r`
19-
#v=5.17.7+
18+
v="${LINUX_VERSION:-$(uname -r)}"
19+
echo Using version $v
2020

2121
if [ $# -eq 2 ]; then
2222
first=$2

0 commit comments

Comments
 (0)