From: Andrew Gaffney Date: Wed, 13 Feb 2008 21:48:10 +0000 (+0000) Subject: Sort and de-dupe myusevars X-Git-Tag: CATALYST_2_0_6_916~195 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5994db80b1e4e87f8cd56c0319c2de839bf9b8a3;p=catalyst.git Sort and de-dupe myusevars git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1299 d1e1f19c-881f-0410-ab34-b69fee027534 --- diff --git a/ChangeLog b/ChangeLog index 62507c6e..0a67815b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,10 @@ # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 # $Id: $ + 13 Feb 2008; Andrew Gaffney + modules/generic_stage_target.py: + Sort and de-dupe myusevars + 13 Feb 2008; Chris Gianelloni targets/stage1/stage1-chroot.sh: Modify stage1-chroot.sh to use the actual -d/--debug code already in catalyst. diff --git a/modules/generic_stage_target.py b/modules/generic_stage_target.py index f6c47146..e949e47e 100644 --- a/modules/generic_stage_target.py +++ b/modules/generic_stage_target.py @@ -919,6 +919,7 @@ class generic_stage_target(generic_target): myusevars.extend(self.settings["use"]) if myusevars: + myusevars = sorted(set(myusevars)) myf.write('USE="'+string.join(myusevars)+'"\n') # Setup the portage overlay