Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 391308 Details for
Bug 532084
sys-kernel/genkernel - rework default config file so comments accurately reflect defaults, and to improve consistency
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
genkernel.conf patch
genkernel-conf-tweaks.patch (text/plain), 6.59 KB, created by
Ben Kohler
on 2014-12-09 21:39:21 UTC
(
hide
)
Description:
genkernel.conf patch
Filename:
MIME Type:
Creator:
Ben Kohler
Created:
2014-12-09 21:39:21 UTC
Size:
6.59 KB
patch
obsolete
>--- genkernel.conf 2014-12-09 15:05:19.515084869 -0600 >+++ genkernel.conf.new 2014-12-09 15:36:28.417597420 -0600 >@@ -7,32 +7,31 @@ > > # =========Common Command Line Option Defaults========= > >-# Should we install to $BOOTDIR? Default is "no" because genkernel is used in >-# catalyst and stage building. >+# Install to $BOOTDIR > #INSTALL="yes" > >-# Run 'make oldconfig' before compiling this kernel? >+# Run 'make oldconfig' before compiling this kernel > OLDCONFIG="yes" > >-# Run 'make menuconfig' before compiling this kernel? >+# Run 'make menuconfig' before compiling this kernel > MENUCONFIG="no" > >-# Run 'make clean' before compilation? >+# Run 'make clean' before compilation > # If set to NO, implies MRPROPER WILL NOT be run > # Also, if clean is NO, it won't copy over any configuration > # file, it will use what's there. > CLEAN="yes" > >-# Run 'make mrproper' before configuration/compilation? >+# Run 'make mrproper' before configuration/compilation > MRPROPER="yes" > >-# Override the arch detection? >+# Override the arch detection > #ARCH_OVERRIDE="x86" > >-# Mount BOOTDIR automatically if it isn't mounted? >+# Mount BOOTDIR automatically if it isn't mounted > MOUNTBOOT="yes" > >-# Make symlinks in BOOTDIR automatically? >+# Make symlinks in BOOTDIR automatically > #SYMLINK="no" > > # Save the new configuration in /etc/kernels upon >@@ -46,11 +45,11 @@ > #CLEAR_CACHE_DIR="yes" > > # Clear all tmp files and caches after genkernel has run >-#POSTCLEAR="1" >+#POSTCLEAR="no" > > # Genkernel uses an independent configuration for MAKEOPTS, and does not source >-# /etc/make.conf . You can override the default setting by uncommenting and >-# tweaking the following line. Default setting is set up by >+# /etc/portage/make.conf . You can override the default setting by uncommenting >+# and tweaking the following line. Default setting is set up by > # ${GK_SHARE}/${ARCH_OVERRIDE}/config.sh . The recommended value for -j > # argument is: <number of processors>*<number of cores per processor>+1 > #MAKEOPTS="-j2" >@@ -68,11 +67,11 @@ > # Add DMRAID support. > #DMRAID="no" > >-# Include (or suppresses the inclusion of) busybox in the initrd or initramfs. >-# If included, busybox is rebuilt if the cached copy is out of date. >+# Include busybox in the initrd or initramfs. If included, busybox is rebuilt >+# if the cached copy is out of date. > #BUSYBOX="yes" > >-# Includes mdadm/mdmon binaries in initramfs. >+# Include mdadm/mdmon binaries in initramfs. > # Without sys-fs/mdadm[static] installed, this will build a static mdadm. > #MDADM="no" > >@@ -91,9 +90,10 @@ > #E2FSPROGS="no" > > # Include support for unionfs >-#UNIONFS="1" >+#UNIONFS="no" > >-# Include support for zfs volume management. >+# Include support for zfs volume management. If unset, genkernel will attempt >+# to autodetect and enable this when rootfs is on zfs. > #ZFS="no" > > # Enable copying of firmware into initramfs >@@ -106,11 +106,11 @@ > # Enable disklabel support (copies blkid to initrd) > DISKLABEL="yes" > >-# Add new kernel to grub? >+# Add new kernel to grub > #BOOTLOADER="grub" > >-# Enable splashutils in early space (initrd). Default is "no". >-#SPLASH="yes" >+# Enable splashutils in early space (initrd) >+#SPLASH="no" > > # Use this splash theme. If commented out - the "default" name theme is used. > # Also, SPLASH="yes" needs to be enabled for this one to one work. >@@ -122,14 +122,14 @@ > # use "emerge --quiet @module-rebuild" for >=portage-2.2 > #CMD_CALLBACK="" > >+ > # =========Keymap Settings========= > # > # Force keymap selection at boot >-#DOKEYMAPAUTO="yes" >- >+#DOKEYMAPAUTO="no" > >-# Disables keymap selection support >-#KEYMAP="0" >+# Enables keymap selection support >+#KEYMAP="yes" > > > # =========Low Level Compile Settings========= >@@ -164,11 +164,9 @@ > # option. > #UTILS_LD="ld" > >- > # Common prefix of cros compile commands > #UTILS_CROSS_COMPILE="x86_64-pc-linux-gnu" > >- > # Value of CROSS_COMPILE utils variable > # during kernel compilation > #KERNEL_CROSS_COMPILE="x86_64-pc-linux-gnu" >@@ -179,7 +177,7 @@ > # %%ARCH%% - Final determined architecture > # %%CACHE%% - Final determined cache location > >-# Set genkernel's temporary work directory. Default is /var/tmp/genkernel >+# Set genkernel's temporary work directory > #TMPDIR="/var/tmp/genkernel" > > # Set the boot directory, default is /boot >@@ -190,10 +188,13 @@ > > # Location of the default cache > CACHE_DIR="/var/cache/genkernel" >+ > # Location of DISTDIR, where our source tarballs are stored > DISTDIR="${GK_SHARE}/distfiles" >+ > # Log output file > LOGFILE="/var/log/genkernel.log" >+ > # Debug Level > LOGLEVEL=1 > >@@ -201,6 +202,7 @@ > # > # Default location of kernel source > DEFAULT_KERNEL_SOURCE="/usr/src/linux" >+ > # Default kernel config (only use to override using > # arch/%%ARCH%%/kernel-config-${VER}.${PAT} !) > #DEFAULT_KERNEL_CONFIG="${GK_SHARE}/arch/%%ARCH%%/kernel-config" >@@ -223,27 +225,22 @@ > # 'genkernel' > #KNAME="genkernel" > >- > # This option is only valid if kerncache is > # defined. If there is a valid kerncache no checks > # will be made against a kernel source tree >-#KERNEL_SOURCES="0" >- >+#KERNEL_SOURCES="yes" > > # Build a static (monolithic kernel) >-#BUILD_STATIC="1" >- >+#BUILD_STATIC="no" > > # Make and install kernelz image (PowerPC) >-#GENZIMAGE="1" >- >+#GENZIMAGE="no" > > # File to output a .tar.bz2'd kernel contents > # of /lib/modules/ and the kernel config > # NOTE: This is created before the callbacks > # are run! >-#KERNCACHE="/path/to/file" >- >+#KERNCACHE="/path/to/file.bz2" > > # Prefix to kernel module destination, modules > # will be installed in <prefix>/lib/modules >@@ -253,34 +250,28 @@ > > # =========MISC INITRD CONFIGURATION============ > # >-# Copy all kernel modules to the ramdisk >-#ALLRAMDISKMODULES="1" >- >- >-# Don't copy any modules to the ramdisk >-#RAMDISKMODULES="0" >+# Copy all compiled kernel modules to the ramdisk >+#ALLRAMDISKMODULES="no" > >+# Copy selected modules to the ramdisk based on arch-specific modules_load file >+#RAMDISKMODULES="yes" > > # File to output a .tar.bz2'd kernel and ramdisk: > # No modules outside of the ramdisk will be > # included... > #MINKERNPACKAGE="/path/to/file.bz2" > >- > # File to output a .tar.bz2'd modules after the > # callbacks have run > #MODULESPACKAGE="/path/to/file.bz2" > >- > # Directory structure to include in the initramfs, > # only available on >=2.6 kernels > #INITRAMFS_OVERLAY="" > >- > # Build the generated initramfs into the kernel instead of > # keeping it as a separate file >-#INTEGRATED_INITRAMFS="1" >- >+#INTEGRATED_INITRAMFS="no" > > # Compress generated initramfs > #COMPRESS_INITRD="yes" >@@ -289,9 +280,8 @@ > # "fastest" selects the fastest available compression method > #COMPRESS_INITRD_TYPE="best" > >- > # Create a self-contained env in the initramfs >-#NETBOOT="1" >+#NETBOOT="no" > > > # =========MISC BOOT CONFIGURATION============
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 532084
: 391308 |
391394