def CopyBinaries(cls): """Copies the required files into the initramfs.""" Tools.Info("Copying binaries ...") cls.FilterAndInstall(Base.GetFiles()) cls.FilterAndInstall(Zfs.GetFiles()) cls.FilterAndInstall(Zfs.GetOptionalFiles(), dontFail=True)
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 VerifyBinaries(cls): """Checks to see if the binaries exist, if not then emerge.""" Tools.Info("Checking required files ...") # Check required base files cls.VerifyBinariesExist(Base.GetFiles()) # Check required zfs files 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)