NAME
Linux::Kernel::Build - Custom Linux Kernel Builds
VERSION
Version 2014.0621_00
SYNOPSIS
Linux::Kernel::Build is the namespace for the subroutines associated with downloading, building and optionally installing new kernels. It is part of the Linux::Kernel suite of tools associated with the Linux kernel. Another tool available via the CPAN that does something similar is 'kif'. The reasoning behind creating the Linux::Kernel namespace was to generate a central namespace Kernel related operationgs functions and data. As of June 2014, there are other modules and distributions in the planning stages that will take code from existing CPAN modules that either expose kernel related data to users or enable users to work with the Linux kernel, and put the code in other namespaces under Linux::Kernel.
Linux::Kernel::Build focuses on the following:
1) Download a compressed and archived kernel. 2) Decompress and expand the kernel into a known directory. 3) make config the kernel. 4) make the kernel. 5) install the kernel automatically. 6) remove all used directories and files.
Perhaps a little code snippet.
use Linux::Kernel::Build;
my $kernel = Linux::Kernel::Build->new();
$kernel->get();
$kernel->unpack();
$kernel->config();
$kernel->build();
$kernel->install();
$kernel->clean();
EXPORT
SUBROUTINES/METHODS
showMenu()
optionVerifier()
getSource()
expandSource()
makeSource()
installKernel()
cleanSource()
getHostName()
main()
AUTHOR
Adam M Dutko, <addutko at cpan.org>
BUGS
Please report any bugs or feature requests to bug-linux-kernel at rt.cpan.org
, or through the web interface at "/rt.cpan.org/NoAuth/ReportBug.html?Queue=Linux-Ker nel" in http:. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
TODO
1) Need to verify all installation options; break out into subroutines. 2) Modify the get, clean, make and install routines. 3) Configure to use the users old config.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Linux::Kernel
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
LICENSE AND COPYRIGHT
Copyright (C) 2007-2014 Adam M. Dutko
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 dated June, 1991 or at your option any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
A copy of the GNU General Public License is available in the source tree; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA