From: Mark McLoughlin <markmc@redhat.com>
To: Marcelo Tosatti <mtosatti@redhat.com>
Cc: kvm@vger.kernel.org, Mark McLoughlin <markmc@redhat.com>
Subject: [PATCH 1/2] kvm: configure: if all else fails, really infer kernel version from .config
Date: Mon, 26 Jan 2009 10:43:21 +0000 [thread overview]
Message-ID: <1232966602-28492-1-git-send-email-markmc@redhat.com> (raw)
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
---
configure | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure b/configure
index 493c178..1fd133c 100755
--- a/configure
+++ b/configure
@@ -126,7 +126,7 @@ if [ -n "$no_uname" ]; then
elif [ -e "$kerneldir/include/config/kernel.release" ]; then
depmod_version=`cat "$kerneldir/include/config/kernel.release"`
elif [ -e "$kerneldir/.config" ]; then
- depmod_version=$(awk '/Linux kernel version:/ { print $NF }'
+ depmod_version=$(awk '/Linux kernel version:/ { print $NF }' \
"$kerneldir/.config")
else
echo
--
1.6.0.6
next reply other threads:[~2009-01-26 10:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-26 10:43 Mark McLoughlin [this message]
2009-01-26 10:43 ` [PATCH 2/2] kvm: configure: --with-patched-kernel doesn't need kernelversion Mark McLoughlin
2009-01-26 10:57 ` Glauber Costa
2009-01-26 11:10 ` Mark McLoughlin
2009-01-26 19:28 ` [PATCH 1/2] kvm: configure: if all else fails, really infer kernel version from .config Marcelo Tosatti
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1232966602-28492-1-git-send-email-markmc@redhat.com \
--to=markmc@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=mtosatti@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox