Skip to content

Commit

Permalink
generic: fix ability to specify a kernel image as first argument
Browse files Browse the repository at this point in the history
The parameters were not kept when we reexecuted through tmux.
  • Loading branch information
vincentbernat committed Aug 14, 2015
1 parent 3a7d05c commit 7718b70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lab-generic/setup
Expand Up @@ -539,6 +539,7 @@ EOF
exit 1
}
PROGNAME="$(readlink -f "$0")"
PROGARGS="$@"
ROOT="$(readlink -f "${ROOT:-/}")" # Root filesystem
KERNEL="$(readlink -f "${1:-/boot/vmlinuz-$(uname -r)}")" # Kernel
PATH="$PATH":/usr/local/sbin:/usr/sbin:/sbin
Expand Down
1 change: 1 addition & 0 deletions lab-latency/setup
Expand Up @@ -648,6 +648,7 @@ EOF
exit 1
}
PROGNAME="$(readlink -f "$0")"
PROGARGS="$@"
ROOT="$(readlink -f "${ROOT:-/}")" # Root filesystem
KERNEL="$(readlink -f "${1:-/boot/vmlinuz-$(uname -r)}")" # Kernel
PATH="$PATH":/usr/local/sbin:/usr/sbin:/sbin
Expand Down

0 comments on commit 7718b70

Please sign in to comment.