linux_mkinitrd - script to interface to multiple initrd tool variants
linux_mkinitrd [RELEASE_TAG] [TARGET_DIR]
This script provides a handy wrapper around several different mkinitrd tools (e.g. mkinitrd, mkinitrc, mkinitramfs, yaird). It scans the system for the tools and uses the first it finds, invoking it with the correct syntax to create an init file.
Regardless of the initrd tool used, the initrd file will be named in the same fashion: $TARGET_DIR/initrd.img-$RELEASE_TAG.
If not specified, $TARGET_DIR defaults to /boot. $RELEASE_TAG defaults to "test".
crucible, WWW::PkgFind, Test::Parser, Linux::Distribution
Bryce Harrington [bryce at osdl dot org]
Copyright (C) 2006 Bryce Harrington and Open Source Development Labs All Rights Reserved.
This script is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Revision: $Revision: 1.10 $
To install Linux::Bootloader, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Linux::Bootloader
CPAN shell
perl -MCPAN -e shell install Linux::Bootloader
For more information on module installation, please visit the detailed CPAN module installation guide.