Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 324120 Details for
Bug 435358
Provide better semantics for oldconfig, add some new kernel configuration options
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Add kernels automatic configuration options.
0002-Provide-kernel-s-all-config-as-genkernel-s-options.patch (text/plain), 2.43 KB, created by
Łukasz Stelmach
on 2012-09-17 20:26:30 UTC
(
hide
)
Description:
Add kernels automatic configuration options.
Filename:
MIME Type:
Creator:
Łukasz Stelmach
Created:
2012-09-17 20:26:30 UTC
Size:
2.43 KB
patch
obsolete
>From 4eb3fac4d6255008b2230bde4989a05f2de23533 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?=C5=81ukasz=20Stelmach?= <stlman@poczta.fm> >Date: Mon, 17 Sep 2012 21:58:07 +0200 >Subject: [PATCH 2/2] Provide kernel's all*config as genkernel's options. > >Map allyesconfig, allnoconfig, allmodconfig and alldefconfig >from the kernel build system to genkernels options. >--- > gen_cmdline.sh | 12 ++++++++++++ > gen_configkernel.sh | 4 ++++ > gen_determineargs.sh | 1 + > 3 files changed, 17 insertions(+), 0 deletions(-) > >diff --git a/gen_cmdline.sh b/gen_cmdline.sh >index 938b1a5..c393dde 100755 >--- a/gen_cmdline.sh >+++ b/gen_cmdline.sh >@@ -375,6 +375,18 @@ parse_cmdline() { > print_info 2 "CMD_CLEAN: ${CMD_CLEAN}" > print_info 2 "CMD_OLDCONFIG: ${CMD_OLDCONFIG}" > ;; >+ --allyesconfig|--allnoconfig|--allmodconfig|--alldefconfig) >+ CMD_ALLCONFIG=$1 >+ CMD_ALLCONFIG=${CMD_ALLCONFIG#--all} >+ CMD_ALLCONFIG=${CMD_ALLCONFIG%config} >+ [[ "$CMD_ALLCONFIG" = "yes" || \ >+ "$CMD_ALLCONFIG" = "no" || \ >+ "$CMD_ALLCONFIG" = "def" || \ >+ "$CMD_ALLCONFIG" = "mod" ]] && \ >+ CMD_CLEAN=0 && CMD_OLDCONFIG=0 >+ print_info 2 "CMD_CLEAN: ${CMD_CLEAN}" >+ print_info 2 "CMD_ALLCONFIG: ${CMD_ALLCONFIG}" >+ ;; > --gensplash=*) > CMD_SPLASH=1 > SPLASH_THEME=`parse_opt "$*"` >diff --git a/gen_configkernel.sh b/gen_configkernel.sh >index 315c9b8..448e57e 100755 >--- a/gen_configkernel.sh >+++ b/gen_configkernel.sh >@@ -69,6 +69,10 @@ config_kernel() { > then > print_info 1 ' >> Running oldconfig...' > compile_generic oldconfig kernel >+ elif [[ -n "${ALLCONFIG}" ]] >+ then >+ print_info 1 " >> Running all${ALLCONFIG}config..." >+ compile_generic all${ALLCONFIG}config kernel > else > print_info 1 "kernel: --oldconfig is disabled; not running 'make oldconfig'." > fi >diff --git a/gen_determineargs.sh b/gen_determineargs.sh >index 7f352f8..4d413e0 100755 >--- a/gen_determineargs.sh >+++ b/gen_determineargs.sh >@@ -110,6 +110,7 @@ determine_real_args() { > set_config_with_override BOOL SYMLINK CMD_SYMLINK > set_config_with_override STRING INSTALL_MOD_PATH CMD_INSTALL_MOD_PATH > set_config_with_override BOOL OLDCONFIG CMD_OLDCONFIG >+ set_config_with_override STRING ALLCONFIG CMD_ALLCONFIG > set_config_with_override BOOL LVM CMD_LVM > set_config_with_override BOOL DMRAID CMD_DMRAID > set_config_with_override BOOL ISCSI CMD_ISCSI >-- >1.7.8.6 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 435358
:
324118
| 324120