Advertisement
Guest User

Untitled

a guest
Oct 26th, 2013
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.97 KB | None | 0 0
  1. cat /etc/genkernel.conf
  2. # Configuration file for genkernel
  3.  
  4. # This file is sourced by genkernel at startup and determines which options
  5. # we will be using to compile our kernel. The order of precidence is simple,
  6. # with the internal settings being least important, configuration file
  7. # settings next, and command line options being most important.
  8.  
  9. # =========Common Command Line Option Defaults=========
  10.  
  11. # Should we install to $BOOTDIR? Default is "no" because genkernel is used in
  12. # catalyst and stage building.
  13. #INSTALL="yes"
  14.  
  15. # Run 'make oldconfig' before compiling this kernel?
  16. OLDCONFIG="yes"
  17.  
  18. # Run 'make menuconfig' before compiling this kernel?
  19. MENUCONFIG="yes"
  20.  
  21. # Run 'make clean' before compilation?
  22. # If set to NO, implies MRPROPER WILL NOT be run
  23. # Also, if clean is NO, it won't copy over any configuration
  24. # file, it will use what's there.
  25. CLEAN="yes"
  26.  
  27. # Run 'make mrproper' before configuration/compilation?
  28. MRPROPER="yes"
  29.  
  30. # Override the arch detection?
  31. #ARCH_OVERRIDE="x86"
  32.  
  33. # Mount BOOTDIR automatically if it isn't mounted?
  34. MOUNTBOOT="yes"
  35.  
  36. # Make symlinks in BOOTDIR automatically?
  37. #SYMLINK="no"
  38.  
  39. # Save the new configuration in /etc/kernels upon
  40. # successfull compilation
  41. SAVE_CONFIG="yes"
  42.  
  43. # Use Color output in Genkernel?
  44. USECOLOR="yes"
  45.  
  46. # Clear build cache dir
  47. #CLEAR_CACHE_DIR="yes"
  48.  
  49. # Clear all tmp files and caches after genkernel has run
  50. #POSTCLEAR="1"
  51.  
  52. # Genkernel uses an independent configuration for MAKEOPTS, and does not source
  53. # /etc/make.conf . You can override the default setting by uncommenting and
  54. # tweaking the following line. Default setting is set up by
  55. # ${GK_SHARE}/${ARCH_OVERRIDE}/config.sh . The recommended value for -j
  56. # argument is: <number of processors>*<number of cores per processor>+1
  57. MAKEOPTS="-j3"
  58.  
  59. # Add in LVM support from static binaries if they exist on the system, or
  60. # compile static LVM binaries if static ones do not exist.
  61. LVM="yes"
  62.  
  63. # Add in Luks support. Needs sys-fs/cryptsetup with -dynamic installed.
  64. LUKS="no"
  65.  
  66. # Add in GnuPG support
  67. GPG="no"
  68.  
  69. # Add DMRAID support.
  70. DMRAID="no"
  71.  
  72. # Include (or suppresses the inclusion of) busybox in the initrd or initramfs.
  73. # If included, busybox is rebuilt if the cached copy is out of date.
  74. #BUSYBOX="yes"
  75.  
  76. # Includes mdadm/mdmon binaries in initramfs.
  77. # Without sys-fs/mdadm[static] installed, this will build a static mdadm.
  78. MDADM="no"
  79.  
  80. # Specify a custom mdadm.conf.
  81. # By default the ramdisk will be built *without* an mdadm.conf and will auto-detect
  82. # arrays during bootup. Usually, this should not be needed.
  83. #MDADM_CONFIG="/etc/mdadm.conf"
  84.  
  85. # Add Multipath support.
  86. #MULTIPATH="no"
  87.  
  88. # Add iSCSI support.
  89. ISCSI="no"
  90.  
  91. # Add e2fsprogs support.
  92. #E2FSPROGS="no"
  93.  
  94. # Include support for unionfs
  95. #UNIONFS="1"
  96.  
  97. # Enable copying of firmware into initramfs
  98. #FIRMWARE="no"
  99. # Specify directory to pull from
  100. #FIRMWARE_DIR="/lib/firmware"
  101. # Specify specific firmware files to include. This overrides FIRMWARE_DIR
  102. #FIRMWARE_FILES=""
  103.  
  104. # Enable disklabel support (copies blkid to initrd)
  105. DISKLABEL="yes"
  106.  
  107. # Add new kernel to grub?
  108. #BOOTLOADER="grub"
  109.  
  110. # Enable splashutils in early space (initrd). Default is "no".
  111. #SPLASH="yes"
  112.  
  113. # Use this splash theme. If commented out - the "default" name theme is used.
  114. # Also, SPLASH="yes" needs to be enabled for this one to one work.
  115. # This supersedes the "SPLASH_THEME" option of /etc/conf.d/splash (in early space).
  116. #SPLASH_THEME="gentoo"
  117.  
  118.  
  119. # =========Keymap Settings=========
  120. #
  121. # Force keymap selection at boot
  122. #DOKEYMAPAUTO="yes"
  123.  
  124.  
  125. # Disables keymap selection support
  126. #KEYMAP="0"
  127.  
  128.  
  129. # =========Low Level Compile Settings=========
  130. #
  131. # GNU Make to use for kernel. See also the --kernel-make command line option.
  132. #KERNEL_MAKE="make"
  133.  
  134. # Compiler to use for the kernel (e.g. distcc). See also the --kernel-cc
  135. # command line option.
  136. #KERNEL_CC="gcc"
  137.  
  138. # Assembler to use for the kernel. See also the --kernel-as command line
  139. # option.
  140. #KERNEL_AS="as"
  141.  
  142. # Linker to use for the kernel. See also the --kernel-ld command line option.
  143. #KERNEL_LD="ld"
  144.  
  145. # GNU Make to use for the utilities. See also the --utils-make command line
  146. # option.
  147. #UTILS_MAKE="make"
  148.  
  149. # Compiler to use for the utilities (e.g. distcc). See also the --utils-cc
  150. # command line option.
  151. #UTILS_CC="gcc"
  152.  
  153. # Assembler to use for the utilities. See also the --utils-as command line
  154. # option.
  155. #UTILS_AS="as"
  156.  
  157. # Linker to use for the utilities. See also the --utils-ld command line
  158. # option.
  159. #UTILS_LD="ld"
  160.  
  161.  
  162. # Common prefix of cros compile commands
  163. #UTILS_CROSS_COMPILE="x86_64-pc-linux-gnu"
  164.  
  165.  
  166. # Value of CROSS_COMPILE utils variable
  167. # during kernel compilation
  168. #KERNEL_CROSS_COMPILE="x86_64-pc-linux-gnu"
  169.  
  170.  
  171. # =========GENKERNEL LOCATION CONFIGURATION============
  172. # Variables:
  173. # %%ARCH%% - Final determined architecture
  174. # %%CACHE%% - Final determined cache location
  175.  
  176. # Set genkernel's temporary work directory. Default is /var/tmp/genkernel
  177. #TMPDIR="/var/tmp/genkernel"
  178.  
  179. # Set the boot directory, default is /boot
  180. #BOOTDIR="/boot"
  181.  
  182. # Default share directory location
  183. GK_SHARE="${GK_SHARE:-/usr/share/genkernel}"
  184.  
  185. # Location of the default cache
  186. CACHE_DIR="/var/cache/genkernel"
  187. # Location of DISTDIR, where our source tarballs are stored
  188. DISTDIR="${CACHE_DIR}/src"
  189. # Log output file
  190. LOGFILE="/var/log/genkernel.log"
  191. # Debug Level
  192. LOGLEVEL=1
  193.  
  194. # =========COMPILED UTILS CONFIGURATION============
  195. #
  196. # Default location of kernel source
  197. DEFAULT_KERNEL_SOURCE="/usr/src/linux"
  198. # Default kernel config (only use to override using
  199. # arch/%%ARCH%%/kernel-config-${VER}.${PAT} !)
  200. DEFAULT_KERNEL_CONFIG="${GK_SHARE}/arch/%%ARCH%%/kernel-config"
  201. #DEFAULT_KERNEL_CONFIG="/usr/src/linux/.config"
  202. # Specifies a user created busybox config
  203. #BUSYBOX_CONFIG="/path/to/file"
  204. #BUSYBOX_APPLETS="[ ash sh mount uname echo cut cat"
  205.  
  206. # NOTE: Since genkernel 3.4.41 the version of
  207. # busybox, lvm, mdadm, .. have been moved to
  208. # /usr/share/genkernel/defaults/software.sh in order to
  209. # reduce the merging you have to do during etc-update.
  210. # You can still override these settings in here.
  211.  
  212.  
  213. # =========MISC KERNEL CONFIGURATION============
  214. #
  215. # Tag the kernel and ramdisk with a name:
  216. # If not defined the option defaults to
  217. # 'genkernel'
  218. #KNAME="genkernel"
  219.  
  220.  
  221. # This option is only valid if kerncache is
  222. # defined. If there is a valid kerncache no checks
  223. # will be made against a kernel source tree
  224. #KERNEL_SOURCES="0"
  225.  
  226.  
  227. # Build a static (monolithic kernel)
  228. #BUILD_STATIC="1"
  229.  
  230.  
  231. # Make and install kernelz image (PowerPC)
  232. #GENZIMAGE="1"
  233.  
  234.  
  235. # File to output a .tar.bz2'd kernel contents
  236. # of /lib/modules/ and the kernel config
  237. # NOTE: This is created before the callbacks
  238. # are run!
  239. #KERNCACHE="/path/to/file"
  240.  
  241.  
  242. # Prefix to kernel module destination, modules
  243. # will be installed in <prefix>/lib/modules
  244. # (.conf equivalent of --module-prefix=<dir>)
  245. #INSTALL_MOD_PATH=""
  246.  
  247.  
  248. # =========MISC INITRD CONFIGURATION============
  249. #
  250. # Copy all kernel modules to the ramdisk
  251. #ALLRAMDISKMODULES="1"
  252.  
  253.  
  254. # Don't copy any modules to the ramdisk
  255. #RAMDISKMODULES="0"
  256.  
  257.  
  258. # File to output a .tar.bz2'd kernel and ramdisk:
  259. # No modules outside of the ramdisk will be
  260. # included...
  261. #MINKERNPACKAGE="/path/to/file.bz2"
  262.  
  263.  
  264. # File to output a .tar.bz2'd modules after the
  265. # callbacks have run
  266. #MODULESPACKAGE="/path/to/file.bz2"
  267.  
  268.  
  269. # Directory structure to include in the initramfs,
  270. # only available on >=2.6 kernels
  271. #INITRAMFS_OVERLAY=""
  272.  
  273.  
  274. # Build the generated initramfs into the kernel instead of
  275. # keeping it as a separate file
  276. #INTEGRATED_INITRAMFS="1"
  277.  
  278.  
  279. # Compress generated initramfs
  280. #COMPRESS_INITRD="yes"
  281. # Types of compression: best, xz, lzma, bzip2, gzip, lzop, fastest
  282. # "best" selects the best available compression method
  283. # "fastest" selects the fastest available compression method
  284. #COMPRESS_INITRD_TYPE="best"
  285.  
  286.  
  287. # Create a self-contained env in the initramfs
  288. #NETBOOT="1"
  289.  
  290.  
  291. # =========MISC BOOT CONFIGURATION============
  292. #
  293. # Specify a default for real_root=
  294. #REAL_ROOT="/dev/one/two/gentoo"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement