From: Andrew Gaffney <agaffney@gentoo.org>
Date: Fri, 14 Mar 2008 16:19:20 +0000 (+0000)
Subject: Get rid of --initramfs option as it doesn't do anything anymore
X-Git-Tag: v3.4.10.902~94
X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3128691111b3a6abb711c127f35190a99f150f34;p=genkernel.git

Get rid of --initramfs option as it doesn't do anything anymore

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@658 67a159dc-881f-0410-a524-ba9dfbe2cb84
---

diff --git a/ChangeLog b/ChangeLog
index 86b521d..b8be7f9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  14 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_cmdline.sh,
+  gen_determineargs.sh:
+  Get rid of --initramfs option as it doesn't do anything anymore
+
   14 Mar 2008; Chris Gianelloni <wolf31o2@gentoo.org> genkernel,
   genkernel.conf, -pkg/alpha/README, -pkg/ia64/README, -pkg/mips/.keep,
   -pkg/parisc/README, -pkg/parisc64/README, -pkg/ppc/README,
diff --git a/gen_cmdline.sh b/gen_cmdline.sh
index d9b9332..3084076 100755
--- a/gen_cmdline.sh
+++ b/gen_cmdline.sh
@@ -44,8 +44,6 @@ longusage() {
   echo "	--callback=<...>	Run the specified arguments after the"
   echo "				kernel and modules have been compiled"
   echo "	--static		Build a static (monolithic kernel)."
-  echo "	--initramfs		Builds initramfs before kernel and embeds it"
-  echo "				into the kernel."
   echo "  Kernel settings"
   echo "	--kerneldir=<dir>	Location of the kernel sources"
   echo "	--kernel-config=<file>	Kernel configuration file to use for compilation"
@@ -388,10 +386,6 @@ parse_cmdline() {
 			CMD_STATIC=1
 			print_info 2 "CMD_STATIC: ${CMD_STATIC}"
 			;;
-		--initramfs)
-			CMD_INITRAMFS=1
-			print_info 2 "CMD_INITRAMFS: ${CMD_INITRAMFS}"
-			;;
 		--tempdir=*)
 			TMPDIR=`parse_opt "$*"`
 			TEMP=${TMPDIR}/$RANDOM.$RANDOM.$RANDOM.$$
diff --git a/gen_determineargs.sh b/gen_determineargs.sh
index 55e8836..1de0d69 100644
--- a/gen_determineargs.sh
+++ b/gen_determineargs.sh
@@ -102,7 +102,6 @@ determine_real_args() {
 	set_config_with_override 2 INITRAMFS_OVERLAY    CMD_INITRAMFS_OVERLAY
 	set_config_with_override 1 MOUNTBOOT            CMD_MOUNTBOOT
 	set_config_with_override 1 BUILD_STATIC         CMD_STATIC
-	set_config_with_override 1 BUILD_INITRAMFS      CMD_INITRAMFS
 	set_config_with_override 1 SAVE_CONFIG          CMD_SAVE_CONFIG
  	set_config_with_override 1 SYMLINK              CMD_SYMLINK
 	set_config_with_override 2 INSTALL_MOD_PATH     CMD_INSTALL_MOD_PATH