diff options
author | sborrill <sborrill@pkgsrc.org> | 2012-03-15 14:06:08 +0000 |
---|---|---|
committer | sborrill <sborrill@pkgsrc.org> | 2012-03-15 14:06:08 +0000 |
commit | 47f773496f6c0d0ceab90e35aee7393fdfd2d5d6 (patch) | |
tree | b268b5b200b8e39e8c6d5565080bb96795e1f949 | |
parent | 6c1ca68ea8a2dce2d7a7af36c44730c97c2ebf92 (diff) | |
download | pkgsrc-47f773496f6c0d0ceab90e35aee7393fdfd2d5d6.tar.gz |
Stop current memory usage being printed to stdout at process start if memory
ballooning if present.
Bump PKGREVISION
-rw-r--r-- | sysutils/xe-guest-utilities/Makefile | 3 | ||||
-rw-r--r-- | sysutils/xe-guest-utilities/distinfo | 4 | ||||
-rw-r--r-- | sysutils/xe-guest-utilities/patches/patch-xe-update-guest-attrs | 4 |
3 files changed, 6 insertions, 5 deletions
diff --git a/sysutils/xe-guest-utilities/Makefile b/sysutils/xe-guest-utilities/Makefile index f23a88fe442..aa39a7b91d0 100644 --- a/sysutils/xe-guest-utilities/Makefile +++ b/sysutils/xe-guest-utilities/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2012/03/06 11:09:06 sborrill Exp $ +# $NetBSD: Makefile,v 1.5 2012/03/15 14:06:08 sborrill Exp $ # # Values from XenServer 6.0.2 = 6, 0, 2, 52898 @@ -10,6 +10,7 @@ XENTEENY= 2 XENBUILD= 52898 VERSION= ${XENMAJOR}.${XENMINOR}.${XENTEENY} +PKGREVISION= 1 DISTNAME= xe-guest-utilities_5.6.0-595 CATEGORIES= sysutils PKGNAME= xe-guest-utilities-${VERSION} diff --git a/sysutils/xe-guest-utilities/distinfo b/sysutils/xe-guest-utilities/distinfo index be057668f17..4391a66fdee 100644 --- a/sysutils/xe-guest-utilities/distinfo +++ b/sysutils/xe-guest-utilities/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.1.1.1 2011/10/03 16:57:03 sborrill Exp $ +$NetBSD: distinfo,v 1.2 2012/03/15 14:06:08 sborrill Exp $ SHA1 (xe-guest-utilities_5.6.0-595.tar.gz) = 7373f2cc37ba3761ee92051513e09787371eb77e RMD160 (xe-guest-utilities_5.6.0-595.tar.gz) = f526fd9ae1b47f22860915aba825ddd440b445b8 Size (xe-guest-utilities_5.6.0-595.tar.gz) = 454235 bytes SHA1 (patch-xe-daemon) = 3107fa2e018d66a2ca37b1c2a748c65aa1be3e2f -SHA1 (patch-xe-update-guest-attrs) = 0d30c8a8567d489a831c1063383ba67476efa4db +SHA1 (patch-xe-update-guest-attrs) = 64c2ce41b4db1cf7c3a3f0deb1a1d61e7365cbea diff --git a/sysutils/xe-guest-utilities/patches/patch-xe-update-guest-attrs b/sysutils/xe-guest-utilities/patches/patch-xe-update-guest-attrs index f2911faa5c1..a51eae672c0 100644 --- a/sysutils/xe-guest-utilities/patches/patch-xe-update-guest-attrs +++ b/sysutils/xe-guest-utilities/patches/patch-xe-update-guest-attrs @@ -1,4 +1,4 @@ -$NetBSD: patch-xe-update-guest-attrs,v 1.1.1.1 2011/10/03 16:57:03 sborrill Exp $ +$NetBSD: patch-xe-update-guest-attrs,v 1.2 2012/03/15 14:06:08 sborrill Exp $ --- xe-update-guest-attrs.orig 2011-09-23 15:39:33.000000000 +0100 +++ xe-update-guest-attrs 2011-09-23 15:44:30.000000000 +0100 @@ -156,7 +156,7 @@ $NetBSD: patch-xe-update-guest-attrs,v 1.1.1.1 2011/10/03 16:57:03 sborrill Exp - -# whether I support ballooning or not -xenstore_write_cached "control/feature-balloon" "1" -+sysctl -n machdep.xen.balloon.current 2>/dev/null ++sysctl -n machdep.xen.balloon.current > /dev/null 2>&1 +if [ "$?" = 0 ]; then + xenstore_write_cached "control/feature-balloon" "1" +else |