spacepaste

  1.  
  2. # Configuration file for genkernel
  3. # This file is sourced by genkernel at startup and determines which options
  4. # we will be using to compile our kernel. The order of precidence is simple,
  5. # with the internal settings being least important, configuration file
  6. # settings next, and command line options being most important.
  7. # =========Common Command Line Option Defaults=========
  8. # Should we install to $BOOTDIR? Default is "no" because genkernel is used in
  9. # catalyst and stage building.
  10. INSTALL="yes"
  11. # Run 'make oldconfig' before compiling this kernel?
  12. OLDCONFIG="yes"
  13. # Run 'make menuconfig' before compiling this kernel?
  14. MENUCONFIG="yes"
  15. # Run 'make nconfig' (ncurses 'menuconfig') before compiling this kernel?
  16. NCONFIG="no"
  17. # Note, that two previous lines are mutual exclusive (logically), while
  18. # MENUCONFIG has a higher priority if both them is enabled.
  19. # Run 'make clean' before compilation?
  20. # If set to NO, implies MRPROPER WILL NOT be run
  21. # Also, if clean is NO, it won't copy over any configuration
  22. # file, it will use what's there.
  23. CLEAN="yes"
  24. # Run 'make mrproper' before configuration/compilation?
  25. MRPROPER="yes"
  26. # Override the arch detection?
  27. #ARCH_OVERRIDE="x86"
  28. # Mount BOOTDIR automatically if it isn't mounted?
  29. #MOUNTBOOT="yes"
  30. # Make symlinks in BOOTDIR automatically?
  31. #SYMLINK="no"
  32. # Save the new configuration in /etc/kernels upon
  33. # successfull compilation
  34. SAVE_CONFIG="yes"
  35. # Use Color output in Genkernel?
  36. USECOLOR="yes"
  37. # Clear build cache dir
  38. #CLEAR_CACHE_DIR="yes"
  39. # Clear all tmp files and caches after genkernel has run
  40. POSTCLEAR="1"
  41. # Genkernel uses an independent configuration for MAKEOPTS, and does not source
  42. # /etc/make.conf . You can override the default setting by uncommenting and
  43. # tweaking the following line. Default setting is set up by
  44. # ${GK_SHARE}/${ARCH_OVERRIDE}/config.sh . The recommended value for -j
  45. # argument is: <number of processors>*<number of cores per processor>+1
  46. MAKEOPTS="-j4"
  47. # Add in LVM support from static binaries if they exist on the system, or
  48. # compile static LVM binaries if static ones do not exist.
  49. LVM="yes"
  50. # Add in Luks support. Needs sys-fs/cryptsetup with -dynamic installed.
  51. LUKS="yes"
  52. # Add in GnuPG support
  53. GPG="yes"
  54. # Add DMRAID support.
  55. #DMRAID="yes"
  56. # Include (or suppresses the inclusion of) busybox in the initrd or initramfs.
  57. # If included, busybox is rebuilt if the cached copy is out of date.
  58. BUSYBOX="yes"
  59. # Use udev instead of mdev as the default device manager for the initramfs.
  60. # If you use systemd and perhaps lvm, you _must_ keep this turned on.
  61. UDEV="yes"
  62. # Includes mdadm/mdmon binaries in initramfs.
  63. # Without sys-fs/mdadm[static] installed, this will build a static mdadm.
  64. #MDADM="yes"
  65. # Specify a custom mdadm.conf.
  66. # By default the ramdisk will be built *without* an mdadm.conf and will auto-detect
  67. # arrays during bootup. Usually, this should not be needed.
  68. #MDADM_CONFIG="/etc/mdadm.conf"
  69. # Add Multipath support.
  70. #MULTIPATH="no"
  71. # Add iSCSI support.
  72. #ISCSI="no"
  73. # Add e2fsprogs support.
  74. #E2FSPROGS="yes"
  75. # Enable copying of firmware into initramfs
  76. #FIRMWARE="yes"
  77. # Specify directory to pull from
  78. #FIRMWARE_DIR="/lib/firmware"
  79. # Specify specific firmware files to include. This overrides FIRMWARE_DIR
  80. #FIRMWARE_FILES=""
  81. # Add new kernel to grub?
  82. BOOTLOADER="grub2"
  83. # Enable splashutils in early space (initrd). Default is "no".
  84. #SPLASH="yes"
  85. # Use this splash theme. If commented out - the "default" name theme is used.
  86. # Also, SPLASH="yes" needs to be enabled for this one to one work.
  87. # This supersedes the "SPLASH_THEME" option of /etc/conf.d/splash (in early space).
  88. #SPLASH_THEME="gentoo"
  89. # Installs, or not, plymouth into the initramfs. If "splash" will be
  90. # passed at boot, plymouth will be activated.
  91. # PLYMOUTH="yes"
  92. # Embeds the given plymouth theme into the initramfs.
  93. # PLYMOUTH_THEME="text"
  94. # =========Keymap Settings=========
  95. #
  96. # Force keymap selection at boot
  97. #DOKEYMAPAUTO="yes"
  98. # Disables keymap selection support
  99. #KEYMAP="0"
  100. # =========Low Level Compile Settings=========
  101. #
  102. # GNU Make to use for kernel. See also the --kernel-make command line option.
  103. #KERNEL_MAKE="make"
  104. # Compiler to use for the kernel (e.g. distcc). See also the --kernel-cc
  105. # command line option.
  106. KERNEL_CC="/usr/lib/ccache/bin/gcc"
  107. # Assembler to use for the kernel. See also the --kernel-as command line
  108. # option.
  109. #KERNEL_AS="as"
  110. # Linker to use for the kernel. See also the --kernel-ld command line option.
  111. #KERNEL_LD="ld"
  112. # GNU Make to use for the utilities. See also the --utils-make command line
  113. # option.
  114. #UTILS_MAKE="make"
  115. # Compiler to use for the utilities (e.g. distcc). See also the --utils-cc
  116. # command line option.
  117. UTILS_CC="/usr/lib/ccache/bin/gcc"
  118. # Assembler to use for the utilities. See also the --utils-as command line
  119. # option.
  120. #UTILS_AS="as"
  121. # Linker to use for the utilities. See also the --utils-ld command line
  122. # option.
  123. #UTILS_LD="ld"
  124. # =========GENKERNEL LOCATION CONFIGURATION============
  125. # Variables:
  126. # %%ARCH%% - Final determined architecture
  127. # %%CACHE%% - Final determined cache location
  128. # Set genkernel's temporary work directory. Default is /var/tmp/genkernel
  129. TMPDIR="/var/tmp/portage/genkernel"
  130. # Set the boot directory, default is /boot
  131. BOOTDIR="/boot"
  132. # Default share directory location
  133. GK_SHARE="${GK_SHARE:-/usr/share/genkernel}"
  134. # Location of the default cache
  135. CACHE_DIR="/var/cache/genkernel"
  136. # Location of DISTDIR, where our source tarballs are stored
  137. DISTDIR="/var/lib/genkernel/src"
  138. # Log output file
  139. LOGFILE="/var/log/genkernel.log"
  140. # Debug Level
  141. LOGLEVEL=2
  142. # =========COMPILED UTILS CONFIGURATION============
  143. #
  144. # Default location of kernel source
  145. DEFAULT_KERNEL_SOURCE="/usr/src/linux"
  146. # Default kernel config (only use to override using
  147. # arch/%%ARCH%%/kernel-config-${VER}.${PAT} !)
  148. #DEFAULT_KERNEL_CONFIG="/boot/config-kraken"
  149. # Specifies a user created busybox config
  150. #BUSYBOX_CONFIG="/path/to/file"
  151. #BUSYBOX_APPLETS="[ ash sh mount uname echo cut cat"
  152. # NOTE: Since genkernel 3.4.41 the version of
  153. # busybox, lvm, mdadm, .. have been moved to
  154. # /usr/share/genkernel/defaults/software.sh in order to
  155. # reduce the merging you have to do during etc-update.
  156. # You can still override these settings in here.
  157. # =========MISC KERNEL CONFIGURATION============
  158. #
  159. # Tag the kernel and ramdisk with a name:
  160. # If not defined the option defaults to
  161. # 'genkernel'
  162. #KNAME="kraken"
  163. # Append a text to the kernel/initrd's name,
  164. # usefull to add a unique key like the actual date
  165. #KAPPENDNAME="-$(date +%Y%m%d-%H%M%S)"
  166. # This option is only valid if kerncache is
  167. # defined. If there is a valid kerncache no checks
  168. # will be made against a kernel source tree
  169. #KERNEL_SOURCES="0"
  170. # Build a static (monolithic kernel)
  171. #BUILD_STATIC="1"
  172. # Make and install kernelz image (PowerPC)
  173. #GENZIMAGE="1"
  174. # File to output a .tar.bz2'd kernel contents
  175. # of /lib/modules/ and the kernel config
  176. # NOTE: This is created before the callbacks
  177. # are run!
  178. #KERNCACHE="/path/to/file"
  179. # Prefix to kernel module destination, modules
  180. # will be installed in <prefix>/lib/modules
  181. # (.conf equivalent of --module-prefix=<dir>)
  182. #INSTALL_MOD_PATH=""
  183. # =========MISC INITRD CONFIGURATION============
  184. #
  185. # Copy all kernel modules to the ramdisk
  186. #ALLRAMDISKMODULES="1"
  187. # Don't copy any modules to the ramdisk
  188. #RAMDISKMODULES="0"
  189. # File to output a .tar.bz2'd kernel and ramdisk:
  190. # No modules outside of the ramdisk will be
  191. # included...
  192. #MINKERNPACKAGE="/path/to/file.bz2"
  193. # File to output a .tar.bz2'd modules after the
  194. # callbacks have run
  195. #MODULESPACKAGE="/path/to/file.bz2"
  196. # Directory structure to include in the initramfs,
  197. # only available on >=2.6 kernels
  198. INITRAMFS_OVERLAY="/root/initramfs-overlay"
  199. # Build the generated initramfs into the kernel instead of
  200. # keeping it as a separate file
  201. #INTEGRATED_INITRAMFS="0"
  202. # Compress generated initramfs
  203. COMPRESS_INITRD="yes"
  204. # Types of compression: best, xz, lzma, bzip2, gzip, lzop, fastest
  205. # "best" selects the best available compression method
  206. # "fastest" selects the fastest available compression method
  207. COMPRESS_INITRD_TYPE="xz"
  208. # Create a self-contained env in the initramfs
  209. #NETBOOT="1"
  210. # =========MISC BOOT CONFIGURATION============
  211. #
  212. # Specify a default for real_root=
  213. REAL_ROOT="/dev/triton/root"
  214.