Stop current memory usage being printed to stdout at process start if memory
ballooning if present. Bump PKGREVISION
This commit is contained in:
parent
911ad6756c
commit
4e0e1daf61
3 changed files with 6 additions and 5 deletions
|
@ -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}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue