[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: [PATCH] [rhel6-branch]add multiboot support for tboot



Chris Lumens wrote onĀ 2011-08-17:
>> diff --git a/booty/bootloaderInfo.py b/booty/bootloaderInfo.py
>> index 8cdc83d..1df682d 100644
>> --- a/booty/bootloaderInfo.py
>> +++ b/booty/bootloaderInfo.py
>> @@ -516,6 +516,14 @@ class bootloaderInfo(object):
>>          self._drivelist = val
>>      drivelist = property(_getDriveList, _setDriveList)
>> +    def _getTrustedBoot(self):
>> +        if self._trusted_boot is not None:
>> +            return self._trusted_boot
>> +        return 0
>> +    def _setTrustedBoot(self, val):
>> +        self._trusted_boot = val
>> +    trusted_boot = property(_getTrustedBoot, _setTrustedBoot)
>> +
>>      def __init__(self, instData):
>>          self.args = KernelArguments(instData) self.images =
>>          BootImages() @@ -533,6 +541,7 @@ class bootloaderInfo(object):
>>          self.serial = 0 self.serialDevice = None self.serialOptions =
>>          None
>> +        self._trusted_boot = 0
>> 
>>          # this has somewhat strange semantics.  if 0, act like a normal
>>          # "install" case.  if 1, update lilo.conf (since grubby won't do
> that)
> 
> I'd like to see _trusted_boot set to True/False.
> 
> That's it, though.

I set it to 0 just to keep it with the same style as others in the same file.

Jimmy


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]