Tapper::Installer::Precondition::Kernelbuild
my $kernel_precondition = ' precondition_type: kernelbuild git_url: git://osrc.amd.com/linux-2.6.git changeset: HEAD patchdir: /patches '; use Tapper::Installer::Precondition::Kernelbuild; $kernel = Tapper::Installer::Precondition::Kernelbuild->new($config); $kernel->install(YAML::Load($kernel_precondition));
Tapper::Installer::Precondition::Kernelbuild - Build and install a kernel from git
URL rewrite.
@param string git_url
@return string - fixed git url
This function encapsulates getting a kernel source directory out of a git repository. It changes the current directory into the the repository.
@param string - repository URL @param string - revision in this repository
@return success - 0 @return error - error string
Get the kernel config.
Build and install a kernel and write all log messages to STDOUT/STDERR.
Sort function, sort files based on modification time.
Build and install an initrd and write all log messages to STDOUT/STDERR.
Get the source if needed, prepare the config, build and install the kernel and initrd file.
@param hash reference - contains all information about the kernel
AMD OSRC Tapper Team <tapper@amd64.org>
Tapper Team <tapper-ops@amazon.com>
This software is Copyright (c) 2016 by Advanced Micro Devices, Inc..
This is free software, licensed under:
The (two-clause) FreeBSD License
To install Tapper::Installer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tapper::Installer
CPAN shell
perl -MCPAN -e shell install Tapper::Installer
For more information on module installation, please visit the detailed CPAN module installation guide.