* Bring src/config/linux-version closer to upstream since upstream now
handles unversioned source directories. There is one remaining change
required to search for UTS_RELEASE in the correct header path.
openafs-modules-dkms package. In the possible cases where the tree
may not be present to be removed, failing package removal doesn't
make sense. (Further addresses LP #368471.)
+ * Bring src/config/linux-version closer to upstream since upstream now
+ handles unversioned source directories. There is one remaining change
+ required to search for UTS_RELEASE in the correct header path.
* Translation updates:
- Russian, thanks Yuri Kozlov. (Closes: #534807)
CAN_BUILD=""
for VERS in $LINUX_VERS ; do
- dir=$LINUX_SRCDIR
+ dir=$LINUX_SRCDIR$VERS
if [ ! -d $dir ] ; then
dir=$LINUX_SRCDIR
if [ ! -d $dir ] ; then
continue
fi
fi
- header=$LINUX_SRCDIR/include/linux/version.h
+ header=$LINUX_SRCDIR$VERS/include/linux/version.h
if [ ! -f $header ] ; then
header=$LINUX_SRCDIR/include/linux/version.h
if [ ! -f $header ] ; then
fi
fi
- vers=`fgrep UTS_RELEASE $LINUX_SRCDIR$VERS/include/linux/version.h |
+ vers=`fgrep UTS_RELEASE "$header" |
awk 'BEGIN { FS="\"" } { print $2 }'`
if [ "x$vers" = "x" ] ; then
echo "ERROR: Cannot build for Linux kernel $VERS:"