All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xen-tools dependency check fix
@ 2007-09-25  8:50 Christoph Egger
  2007-09-25  8:57 ` Keir Fraser
  0 siblings, 1 reply; 4+ messages in thread
From: Christoph Egger @ 2007-09-25  8:50 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 594 bytes --]


Hi!

zlib and crypto libs are part of the base system in *BSD.
So no need to check for them on *BSD.

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>


-- 
AMD Saxony, Dresden, Germany
Operating System Research Center

Legal Information:
AMD Saxony Limited Liability Company & Co. KG
Sitz (Geschäftsanschrift):
   Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland
Registergericht Dresden: HRA 4896
vertretungsberechtigter Komplementär:
   AMD Saxony LLC (Sitz Wilmington, Delaware, USA)
Geschäftsführer der AMD Saxony LLC:
   Dr. Hans-R. Deppe, Thomas McCoy

[-- Attachment #2: tools_check.diff --]
[-- Type: text/plain, Size: 670 bytes --]

diff -r ad339d88639d tools/check/check_crypto_lib
--- a/tools/check/check_crypto_lib	Mon Sep 24 21:52:10 2007 +0100
+++ b/tools/check/check_crypto_lib	Tue Sep 25 10:50:26 2007 +0000
@@ -2,6 +2,14 @@
 # CHECK-BUILD CHECK-INSTALL
 
 RC=0
+
+case $(uname -s) in
+FreeBSD|NetBSD|OpenBSD)
+	exit 0
+	;;
+*)
+	;;
+esac
 
 PATH=/sbin:$PATH
 set -e
diff -r ad339d88639d tools/check/check_zlib_lib
--- a/tools/check/check_zlib_lib	Mon Sep 24 21:52:10 2007 +0100
+++ b/tools/check/check_zlib_lib	Tue Sep 25 10:50:26 2007 +0000
@@ -2,6 +2,14 @@
 # CHECK-BUILD CHECK-INSTALL
 
 RC=0
+
+case $(uname -s) in
+FreeBSD|NetBSD|OpenBSD)
+	exit 0
+	;;
+*)
+	;;
+esac
 
 PATH=/sbin:$PATH
 

[-- 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] 4+ messages in thread

* Re: [PATCH] xen-tools dependency check fix
  2007-09-25  8:50 [PATCH] xen-tools dependency check fix Christoph Egger
@ 2007-09-25  8:57 ` Keir Fraser
  2007-09-25  9:17   ` Christoph Egger
  0 siblings, 1 reply; 4+ messages in thread
From: Keir Fraser @ 2007-09-25  8:57 UTC (permalink / raw)
  To: Christoph Egger, xen-devel




On 25/9/07 09:50, "Christoph Egger" <Christoph.Egger@amd.com> wrote:

> zlib and crypto libs are part of the base system in *BSD.
> So no need to check for them on *BSD.

The checks should succeed though, right? So why not just leave the scripts
as they are?

 -- Keir

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

* Re: [PATCH] xen-tools dependency check fix
  2007-09-25  8:57 ` Keir Fraser
@ 2007-09-25  9:17   ` Christoph Egger
  2007-09-25  9:18     ` Keir Fraser
  0 siblings, 1 reply; 4+ messages in thread
From: Christoph Egger @ 2007-09-25  9:17 UTC (permalink / raw)
  To: Keir Fraser; +Cc: xen-devel

On Tuesday 25 September 2007 10:57:19 Keir Fraser wrote:
> On 25/9/07 09:50, "Christoph Egger" <Christoph.Egger@amd.com> wrote:
> > zlib and crypto libs are part of the base system in *BSD.
> > So no need to check for them on *BSD.
>
> The checks should succeed though, right? So why not just leave the scripts
> as they are?

Basically yes, but the non-portable command is ldconfig. Different options, 
different outputs, even between the different BSDs.
So the patch goes the easiest way to deal with that.



-- 
AMD Saxony, Dresden, Germany
Operating System Research Center

Legal Information:
AMD Saxony Limited Liability Company & Co. KG
Sitz (Geschäftsanschrift):
   Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland
Registergericht Dresden: HRA 4896
vertretungsberechtigter Komplementär:
   AMD Saxony LLC (Sitz Wilmington, Delaware, USA)
Geschäftsführer der AMD Saxony LLC:
   Dr. Hans-R. Deppe, Thomas McCoy

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

* Re: [PATCH] xen-tools dependency check fix
  2007-09-25  9:17   ` Christoph Egger
@ 2007-09-25  9:18     ` Keir Fraser
  0 siblings, 0 replies; 4+ messages in thread
From: Keir Fraser @ 2007-09-25  9:18 UTC (permalink / raw)
  To: Christoph Egger; +Cc: xen-devel




On 25/9/07 10:17, "Christoph Egger" <Christoph.Egger@amd.com> wrote:

>> The checks should succeed though, right? So why not just leave the scripts
>> as they are?
> 
> Basically yes, but the non-portable command is ldconfig. Different options,
> different outputs, even between the different BSDs.
> So the patch goes the easiest way to deal with that.

Ah, ok.

 K.

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

end of thread, other threads:[~2007-09-25  9:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-25  8:50 [PATCH] xen-tools dependency check fix Christoph Egger
2007-09-25  8:57 ` Keir Fraser
2007-09-25  9:17   ` Christoph Egger
2007-09-25  9:18     ` 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.