420671b184aae4b15905967cf61540f2d29687eb
2 # SPDX-License-Identifier: (GPL-2.0-only OR LGPL-2.1-only)
3 # SPDX-FileCopyrightText: 2016-2018 EfficiOS Inc.
5 # First argument is the path to the kernel headers.
10 if [ -f "${KPATH}/localversion-rt" ]; then
11 VERSIONFILE
="${KPATH}/localversion-rt"
13 elif [ -f "${KPATH}/source/localversion-rt" ]; then
14 VERSIONFILE
="${KPATH}/source/localversion-rt"
20 RT_PATCH_VERSION
=$
(sed -rn 's/^-rt([0-9]+)$/\1/p' "${VERSIONFILE}")
22 if [ "x${RT_PATCH_VERSION}" = "x" ]; then
27 echo "${RT_PATCH_VERSION}"
This page took 0.03468 seconds and 5 git commands to generate.