[Yum-devel] [PATCH] add uuid functionality so we can have additional info to work from trivially.

Seth Vidal skvidal at fedoraproject.org
Thu Feb 4 21:16:57 UTC 2010



On Thu, 4 Feb 2010, James Antill wrote:

> On Thu, 2010-02-04 at 15:31 -0500, Seth Vidal wrote:
>>      startupconf.releasever = _getsysver(startupconf.installroot, startupconf.distroverpkg)
>> +    startupconf.uuid = get_uuid(startupconf.installroot + '/var/lib/yum/uuid')
>
> I'm not sure I like "get_uuid" as a name, maybe stored_uuid() ... also
> it sucks that we have to hardcode persistdir here, can we move it to
> StartupConf?
> Otherwise ACK.
>

Agreed on persistdir - moved it to startupconf - hope no one wasusing 
$releasever or  $arch in persistdir :)

I like get_uuid()

-sv



More information about the Yum-devel mailing list