All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] check for filesystem libraries (for pygrub)
@ 2005-05-19  1:20 aq
  2005-05-25  5:55 ` aq
  0 siblings, 1 reply; 3+ messages in thread
From: aq @ 2005-05-19  1:20 UTC (permalink / raw)
  To: xen-devel

[-- 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-05-25  8:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-19  1:20 [PATCH] check for filesystem libraries (for pygrub) aq
2005-05-25  5:55 ` aq
2005-05-25  8:05   ` Keir Fraser

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.