ó i'dWc@s<ddljZddlmZdejfd„ƒYZdS(i’’’’N(tPopent BootArchivecBs,eZdZd„Zed„Zd„ZRS(s?ICT checkpoint updates the boot archive using bootadm(1M). cCstt|ƒj|ƒdS(sµInitializes the class Parameters: -name - this arg is required by the AbstractCheckpoint and is not used by the checkpoint. N(tsuperRt__init__(tselftname((sboot_archive.pyR"scCsƒ|jjdƒ|jƒtjdd|jg}|rN|jjd|ƒn|stj|dtjdtjd|jƒndS( s The AbstractCheckpoint class requires this method in sub-classes. Execute in a subprocess the following command: /usr/sbin/bootadm update-archive -R target_directory Parameters: - the dry_run keyword paramater. The default value is False. If set to True, the log message describes the checkpoint tasks. Returns: - Nothing On failure, errors raised are managed by the engine. s+ICT current task: updating the boot archivesupdate-archives-Rs Executing: %ststdouttstderrtloggerN( Rtdebugt parse_doctICTtBOOTADMt target_dirRt check_calltSTORE(Rtdry_runtcmd((sboot_archive.pytexecute*s cCsdS(sČ The AbstractCheckpoint class requires this method in sub-classes. This returns an estimate of how long the execute() method will take to run. i((R((sboot_archive.pytget_progress_estimateIs(t__name__t __module__t__doc__RtFalseRR(((sboot_archive.pyRs  (tsolaris_install.icttictR tsolaris_installRt ICTBaseClassR(((sboot_archive.pyts