Ñò ºµiVc@s‡dZddkZddklZddklZddklZlZei dƒZ defd„ƒYZ d e fd „ƒYZ dS( sM Various classes that provide access to system- and boot-related information iÿÿÿÿN(t LoggerMixin(tdevfs_bootdev_get_list(t!BootmgmtUnsupportedOperationErrortBootmgmtPropertyReadErrortbootmgmttSystemFirmwarecBs•eZdZdZdZdZegZedd„ƒZ dd„Z e d„ƒZ d„Z d„Zd „Zd „Zd „Zd „Zd „ZRS(s boot-devices gpt-supportedsboot-pool-lists tboot-listcCsddkl}|i|ƒS(Niÿÿÿÿ(tBackendFWFactory(tbootmgmt.backend.fwRtget(t firmware_nameR((s!../../common/bootmgmt/bootinfo.pyR/scCs ||_dS(N(t_fw_name(tselftfw_name((s!../../common/bootmgmt/bootinfo.pyt__init__4scCs|iS(N(R (R ((s!../../common/bootmgmt/bootinfo.pyR 7scCs<||ijotdƒ‚n|tijotƒSdS(NsProperty not supported(tSUPPORTED_PROPSRRtPROP_BOOT_DEVICER(R tpropname((s!../../common/bootmgmt/bootinfo.pytgetprop;scCs$||ijotdƒ‚ndS(NsProperty not supported(RR(R Rtvalue((s!../../common/bootmgmt/bootinfo.pytsetpropDscCsdS(N((R R((s!../../common/bootmgmt/bootinfo.pytdelpropHscCsdS(N((R Rt propvalue((s!../../common/bootmgmt/bootinfo.pytset_secure_propKscCsdS(N((R R((s!../../common/bootmgmt/bootinfo.pytdelete_secure_propNscCsdS(s)Default is to return length == 0 i((R ((s!../../common/bootmgmt/bootinfo.pyt__len__QscCs giƒS(s#Iterate on the empty list. (t__iter__(R ((s!../../common/bootmgmt/bootinfo.pyRVsN(t__name__t __module__RtPROP_GPT_SUPPORTEDtPROP_BOOT_POOL_LISTtPROP_BOOT_RECOVERY_LISTRt staticmethodtNoneRR tpropertyR RRRRRRR(((s!../../common/bootmgmt/bootinfo.pyR's        t BootVariablescBsweZed d dd„ƒZd d„Zd„Zd„Zd d„Zd„Z d„Z d„Z d „Z d „Z RS( tsolariscCs5|djodSddkl}|i|||ƒS(Niÿÿÿÿ(tBackendBootVarsFactory(R tbootmgmt.backend.bootvarsR$R(tsysroottarchtosnameR$((s!../../common/bootmgmt/bootinfo.pyR_s cCs=t|_||_h|_|idj o|iƒndS(N(tFalsetdirtyt_sysroott_vardictR t_read(R R&((s!../../common/bootmgmt/bootinfo.pyR fs    cCsdS(N((R ((s!../../common/bootmgmt/bootinfo.pyR-mscCs||_|iƒdS(N(R+R-(R R&((s!../../common/bootmgmt/bootinfo.pytloadps cCsdS(N(R (R tinsttalt_dir((s!../../common/bootmgmt/bootinfo.pytwritetscCsdS(N(R (R R((s!../../common/bootmgmt/bootinfo.pyRwscCsdS(N((R RR((s!../../common/bootmgmt/bootinfo.pyRzscCsdS(N((R R((s!../../common/bootmgmt/bootinfo.pyR}scCsdS(s)Default is to return length == 0 i((R ((s!../../common/bootmgmt/bootinfo.pyR€scCs giƒS(s#Iterate on the empty list. (R(R ((s!../../common/bootmgmt/bootinfo.pyR…sN(RRRR RR R-R.R1RRRRR(((s!../../common/bootmgmt/bootinfo.pyR"^s        (t__doc__tloggingtbootmgmt.bootutilRtbootmgmt.pysolRRRRt getLoggertloggerRtobjectR"(((s!../../common/bootmgmt/bootinfo.pyts 7