From: aq <aquynh@gmail.com>
To: xen-devel <xen-devel@lists.xensource.com>
Subject: [PATCH] check for filesystem libraries (for pygrub)
Date: Thu, 19 May 2005 10:20:43 +0900 [thread overview]
Message-ID: <9cde8bff05051818203f0004fa@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 285 bytes --]
hello,
here is a patch to check for filesystem libraries for pygrub. please
set +x on it.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
$ diffstat checkfslibs.patch
check_fslibs_devel | 19 +++++++++++++++++++
1 files changed, 19 insertions(+)
--
regards,
aq
[-- Attachment #2: checkfslibs.patch --]
[-- Type: application/octet-stream, Size: 619 bytes --]
===== tools/check/check_fslibs_devel 1.1 vs edited =====
--- 1.1/tools/check/check_fslibs_devel 2005-05-18 01:40:17 +09:00
+++ edited/tools/check/check_fslibs_devel 2005-05-18 01:42:10 +09:00
@@ -0,0 +1,19 @@
+#!/bin/bash
+# CHECK-BUILD
+
+function ext2_error {
+ echo 'Check for ext2fs library failed.'
+ exit 1
+}
+
+function reiser_error {
+ echo 'Check for reiserfs library failed.'
+ exit 1
+}
+
+set -e
+[ -e /usr/include/ext2fs ] || ext2_error
+[ -e /usr/include/ext2fs/ext2fs.h ] || ext2_error
+
+[ -e /usr/include/reiserfs ] || reiser_error
+[ -e /usr/include/reiserfs/reiserfs.h ] || reiser_error
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next reply other threads:[~2005-05-19 1:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-19 1:20 aq [this message]
2005-05-25 5:55 ` [PATCH] check for filesystem libraries (for pygrub) aq
2005-05-25 8:05 ` Keir Fraser
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=9cde8bff05051818203f0004fa@mail.gmail.com \
--to=aquynh@gmail.com \
--cc=xen-devel@lists.xensource.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.