aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Edgar <rocket@gentoo.org>2005-02-24 17:59:39 +0000
committerEric Edgar <rocket@gentoo.org>2005-02-24 17:59:39 +0000
commite96618e06a496ff219bfb68f60746cbc2604c595 (patch)
treeebb3521ebb7d0693fe3897449ff0973803be2503 /gen_cmdline.sh
parentFix 2.4 strict flag filtering issue. (diff)
downloadgenkernel-e96618e06a496ff219bfb68f60746cbc2604c595.tar.gz
genkernel-e96618e06a496ff219bfb68f60746cbc2604c595.tar.bz2
genkernel-e96618e06a496ff219bfb68f60746cbc2604c595.zip
Add support for maxkernpackage
creates a tarball containing: kernel initrd contents of /lib/modules kernel config git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@173 67a159dc-881f-0410-a524-ba9dfbe2cb84
Diffstat (limited to 'gen_cmdline.sh')
-rwxr-xr-xgen_cmdline.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/gen_cmdline.sh b/gen_cmdline.sh
index b6562b3a..3266ca17 100755
--- a/gen_cmdline.sh
+++ b/gen_cmdline.sh
@@ -77,6 +77,8 @@ longusage() {
echo " --minkernpackage=<tbz2> File to output a .tar.bz2'd kernel and initrd:"
echo " No modules outside of the initrd will be"
echo " included..."
+ echo " --maxkernpackage=<tbz2> File to output a .tar.bz2'd kernel,initrd,"
+ echo " contents of /lib/modules/ and the kernel config"
}
usage() {
@@ -335,6 +337,10 @@ parse_cmdline() {
CMD_MINKERNPACKAGE=`parse_opt "$*"`
print_info 2 "MINKERNPACKAGE: $CMD_MINKERNPACKAGE"
;;
+ --maxkernpackage=*)
+ CMD_MAXKERNPACKAGE=`parse_opt "$*"`
+ print_info 2 "MAXKERNPACKAGE: $CMD_MAXKERNPACKAGE"
+ ;;
--linuxrc=*)
CMD_LINUXRC=`parse_opt "$*"`
print_info 2 "CMD_LINUXRC: $CMD_LINUXRC"