hg export of fix attached.
On 07/ 6/11 09:29 AM, Danek Duvall wrote:
Steve Lawrence wrote:
I'd like to make this change to the linked image code, to support a
coming brand name:
+1
Danek
# HG changeset patch
# User Steve Lawrence <[email protected]>
# Date 1309970516 25200
# Node ID eaa2867ae30ed558d65e9d71c6b1a02791e58154
# Parent 04032d3e71d93a6d68465cf754e42c57cd1e0eef
18662 linked images must support solaris brand
diff --git a/src/modules/client/linkedimage/zone.py
b/src/modules/client/linkedimage/zone.py
--- a/src/modules/client/linkedimage/zone.py
+++ b/src/modules/client/linkedimage/zone.py
@@ -396,7 +396,7 @@
# W0511 XXX / FIXME Comments; pylint: disable-msg=W0511
# XXX: don't hard code brand names, use a brand attribute
# pylint: enable-msg=W0511
- if z_brand not in ["ipkg", "sn1", "labeled"]:
+ if z_brand not in ["ipkg", "solaris", "sn1", "labeled"]:
continue
# we only care about zones that have been installed
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss