def VerifyBinaries(cls): Tools.Info("Checking required files ...") # Check required base files cls.VerifyBinariesExist(Base.GetFiles()) # Check required luks files if Luks.IsEnabled(): Tools.Flag("Using LUKS") cls.VerifyBinariesExist(Luks.GetFiles()) # Check required raid files if Raid.IsEnabled(): Tools.Flag("Using RAID") cls.VerifyBinariesExist(Raid.GetFiles()) # Check required lvm files if Lvm.IsEnabled(): Tools.Flag("Using LVM") cls.VerifyBinariesExist(Lvm.GetFiles()) # Check required zfs files if Zfs.IsEnabled(): Tools.Flag("Using ZFS") cls.VerifyBinariesExist(Zfs.GetFiles())
def CopyBinaries(cls): Tools.Info("Copying binaries ...") cls.FilterAndInstall(Base.GetFiles()) if Luks.IsEnabled(): cls.FilterAndInstall(Luks.GetFiles()) if Zfs.IsEnabled(): cls.FilterAndInstall(Zfs.GetFiles()) cls.FilterAndInstall(Zfs.GetOptionalFiles(), dontFail=True)