diff options
author | Jonathan Bauer | 2014-03-24 13:54:20 +0100 |
---|---|---|
committer | Jonathan Bauer | 2014-03-24 13:54:20 +0100 |
commit | 7a72dc1402ec97478404b7ac3d548605b70a4456 (patch) | |
tree | 8cc7e43935fe3de7d74d9bf4cbec2a08f7de545a /remote/setup_target | |
parent | [rfs-s32] adapted to new kernel functions (diff) | |
download | tm-scripts-7a72dc1402ec97478404b7ac3d548605b70a4456.tar.gz tm-scripts-7a72dc1402ec97478404b7ac3d548605b70a4456.tar.xz tm-scripts-7a72dc1402ec97478404b7ac3d548605b70a4456.zip |
[setup_target] kernel version check
only check if kernel version changed since last build for the "kernel" module and not the new "kernel-system" module
Diffstat (limited to 'remote/setup_target')
-rwxr-xr-x | remote/setup_target | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/remote/setup_target b/remote/setup_target index 172bc7d4..f9e91f96 100755 --- a/remote/setup_target +++ b/remote/setup_target @@ -283,7 +283,7 @@ generate_target() { # to check if the built version is corresponding to the # current kernel version. If not we had a kernel update # and need to ask the user what to do - if [[ "$MODULES" == *kernel* ]]; then + if [[ "$MODULES" =~ .*\ kernel\ .* ]]; then # if so, check what kernels have been built if [ -e "${MODULES_DIR}/kernel/ksrc/KVERSION" ]; then local BUILT_KERNEL_VERSION=$(cat "${MODULES_DIR}/kernel/ksrc/KVERSION") |