Advertisement
Guest User

genkernel.conf

a guest
Sep 18th, 2012
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.31 KB | None | 0 0
  1. # Configuration file for genkernel
  2. # $Id: b39a952ab3df9371a15786986e417f187396a39c $
  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="no"
  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.  
  53. # Genkernel uses an independent configuration for MAKEOPTS, and does not source
  54. # /etc/make.conf . You can override the default setting by uncommenting and
  55. # tweaking the following line. Default setting is set up by
  56. # ${GK_SHARE}/${ARCH_OVERRIDE}/config.sh . The recommended value for -j
  57. # argument is: <number of processors>*<number of cores per processor>+1
  58. #MAKEOPTS="-j2"
  59.  
  60. # Add in LVM support from static binaries if they exist on the system, or
  61. # compile static LVM binaries if static ones do not exist.
  62. #LVM="no"
  63.  
  64. # Add in Luks support. Needs sys-fs/cryptsetup with -dynamic installed.
  65. #LUKS="no"
  66.  
  67. # Add in GnuPG support
  68. #GPG="no"
  69.  
  70. # Add DMRAID support.
  71. #DMRAID="no"
  72.  
  73. # Include (or suppresses the inclusion of) busybox in the initrd or initramfs.
  74. # If included, busybox is rebuilt if the cached copy is out of date.
  75. #BUSYBOX="yes"
  76.  
  77. # Includes mdadm/mdmon binaries in initramfs.
  78. # Without sys-fs/mdadm[static] installed, this will build a static mdadm.
  79. #MDADM="no"
  80.  
  81. # Specify a custom mdadm.conf.
  82. # By default the ramdisk will be built *without* an mdadm.conf and will auto-detect
  83. # arrays during bootup. Usually, this should not be needed.
  84. #MDADM_CONFIG="/etc/mdadm.conf"
  85.  
  86. # Add Multipath support.
  87. #MULTIPATH="no"
  88.  
  89. # Add iSCSI support.
  90. #ISCSI="no"
  91.  
  92. # Include support for unionfs
  93. #UNIONFS="1"
  94.  
  95. # Enable copying of firmware into initramfs
  96. #FIRMWARE="no"
  97. # Specify directory to pull from
  98. #FIRMWARE_DIR="/lib/firmware"
  99. # Specify specific firmware files to include. This overrides FIRMWARE_DIR
  100. #FIRMWARE_FILES=""
  101.  
  102.  
  103. # Enable disklabel support (copies blkid to initrd)
  104. DISKLABEL="yes"
  105.  
  106. # Add new kernel to grub?
  107. #BOOTLOADER="grub"
  108.  
  109. # Enable splashutils in early space (initrd). Default is "no".
  110. #SPLASH="yes"
  111.  
  112. # Use this splash theme. If commented out - the "default" name theme is used.
  113. # Also, SPLASH="yes" needs to be enabled for this one to one work.
  114. # This supersedes the "SPLASH_THEME" option of /etc/conf.d/splash (in early space).
  115. #SPLASH_THEME="gentoo"
  116.  
  117.  
  118. # =========Keymap Settings=========
  119. #
  120. # Force keymap selection at boot
  121. #DOKEYMAPAUTO="yes"
  122.  
  123.  
  124. # Disables keymap selection support
  125. #KEYMAP="0"
  126.  
  127.  
  128. # =========Low Level Compile Settings=========
  129. #
  130. # GNU Make to use for kernel. See also the --kernel-make command line option.
  131. #KERNEL_MAKE="make"
  132.  
  133. # Compiler to use for the kernel (e.g. distcc). See also the --kernel-cc
  134. # command line option.
  135. #KERNEL_CC="gcc"
  136.  
  137. # Assembler to use for the kernel. See also the --kernel-as command line
  138. # option.
  139. #KERNEL_AS="as"
  140.  
  141. # Linker to use for the kernel. See also the --kernel-ld command line option.
  142. #KERNEL_LD="ld"
  143.  
  144. # GNU Make to use for the utilities. See also the --utils-make command line
  145. # option.
  146. #UTILS_MAKE="make"
  147.  
  148. # Compiler to use for the utilities (e.g. distcc). See also the --utils-cc
  149. # command line option.
  150. #UTILS_CC="gcc"
  151.  
  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.  
  202.  
  203. # Specifies a user created busybox config
  204. #BUSYBOX_CONFIG="/path/to/file"
  205.  
  206. BUSYBOX_VER="1.20.1"
  207. BUSYBOX_SRCTAR="${DISTDIR}/busybox-${BUSYBOX_VER}.tar.bz2"
  208. BUSYBOX_DIR="busybox-${BUSYBOX_VER}"
  209. BUSYBOX_BINCACHE="%%CACHE%%/busybox-${BUSYBOX_VER}-%%ARCH%%.tar.bz2"
  210. #BUSYBOX_APPLETS="[ ash sh mount uname echo cut cat"
  211.  
  212. DEVICE_MAPPER_VER="1.02.22"
  213. DEVICE_MAPPER_DIR="device-mapper.${DEVICE_MAPPER_VER}"
  214. DEVICE_MAPPER_SRCTAR="${DISTDIR}/device-mapper.${DEVICE_MAPPER_VER}.tgz"
  215. DEVICE_MAPPER_BINCACHE="%%CACHE%%/device-mapper-${DEVICE_MAPPER_VER}-%%ARCH%%.tar.bz2"
  216.  
  217. LVM_VER="2.02.88"
  218. LVM_DIR="LVM2.${LVM_VER}"
  219. LVM_SRCTAR="${DISTDIR}/LVM2.${LVM_VER}.tgz"
  220. LVM_BINCACHE="%%CACHE%%/LVM2.${LVM_VER}-%%ARCH%%.tar.bz2"
  221.  
  222. MDADM_VER="3.1.5"
  223. MDADM_DIR="mdadm-${MDADM_VER}"
  224. MDADM_SRCTAR="${DISTDIR}/mdadm-${MDADM_VER}.tar.bz2"
  225. MDADM_BINCACHE="%%CACHE%%/mdadm-${MDADM_VER}-%%ARCH%%.tar.bz2"
  226.  
  227. DMRAID_VER="1.0.0.rc14"
  228. DMRAID_DIR="dmraid/${DMRAID_VER}"
  229. DMRAID_SRCTAR="${DISTDIR}/dmraid-${DMRAID_VER}.tar.bz2"
  230. DMRAID_BINCACHE="%%CACHE%%/dmraid-${DMRAID_VER}-%%ARCH%%.tar.bz2"
  231.  
  232. ISCSI_VER="2.0-872"
  233. ISCSI_DIR="open-iscsi-${ISCSI_VER}"
  234. ISCSI_SRCTAR="${DISTDIR}/open-iscsi-${ISCSI_VER}.tar.gz"
  235. ISCSI_BINCACHE="%%CACHE%%/iscsi-${ISCSI_VER}-%%ARCH%%.bz2"
  236.  
  237. E2FSPROGS_VER="1.42"
  238. E2FSPROGS_DIR="e2fsprogs-${E2FSPROGS_VER}"
  239. E2FSPROGS_SRCTAR="${DISTDIR}/e2fsprogs-${E2FSPROGS_VER}.tar.gz"
  240. BLKID_BINCACHE="%%CACHE%%/blkid-${E2FSPROGS_VER}-%%ARCH%%.bz2"
  241.  
  242. FUSE_VER="2.8.6"
  243. FUSE_DIR="fuse-${FUSE_VER}"
  244. FUSE_SRCTAR="${DISTDIR}/fuse-${FUSE_VER}.tar.gz"
  245. FUSE_BINCACHE="%%CACHE%%/fuse-${FUSE_VER}-%%ARCH%%.tar.bz2"
  246.  
  247. UNIONFS_FUSE_VER="0.24"
  248. UNIONFS_FUSE_DIR="unionfs-fuse-${UNIONFS_FUSE_VER}"
  249. UNIONFS_FUSE_SRCTAR="${DISTDIR}/unionfs-fuse-${UNIONFS_FUSE_VER}.tar.bz2"
  250. UNIONFS_FUSE_BINCACHE="%%CACHE%%/unionfs-fuse-${UNIONFS_FUSE_VER}-%%ARCH%%.bz2"
  251.  
  252.  
  253. UNIONFS_FUSE_BINCACHE="%%CACHE%%/unionfs-fuse-${UNIONFS_FUSE_VER}-%%ARCH%%.bz2"
  254.  
  255. GPG_VER="1.4.11"
  256. GPG_DIR="gnupg-${GPG_VER}"
  257. GPG_SRCTAR="${DISTDIR}/gnupg-${GPG_VER}.tar.bz2"
  258. GPG_BINCACHE="%%CACHE%%/gnupg-${GPG_VER}-%%ARCH%%.bz2"
  259.  
  260.  
  261. # =========MISC KERNEL CONFIGURATION============
  262. #
  263. # Tag the kernel and ramdisk with a name:
  264. # If not defined the option defaults to
  265. # 'genkernel'
  266. #KNAME="genkernel"
  267.  
  268.  
  269. # This option is only valid if kerncache is
  270. # defined. If there is a valid kerncache no checks
  271. # will be made against a kernel source tree
  272. #KERNEL_SOURCES="0"
  273.  
  274.  
  275. # Build a static (monolithic kernel)
  276. #BUILD_STATIC="1"
  277.  
  278.  
  279. # Make and install kernelz image (PowerPC)
  280. #GENZIMAGE="1"
  281.  
  282.  
  283. # File to output a .tar.bz2'd kernel contents
  284. # of /lib/modules/ and the kernel config
  285. # NOTE: This is created before the callbacks
  286. # are run!
  287. #KERNCACHE="/path/to/file"
  288.  
  289.  
  290. # Prefix to kernel module destination, modules
  291. # will be installed in <prefix>/lib/modules
  292. # (.conf equivalent of --module-prefix=<dir>)
  293. #INSTALL_MOD_PATH=""
  294.  
  295.  
  296. # =========MISC INITRD CONFIGURATION============
  297. #
  298. # Copy all kernel modules to the ramdisk
  299. #ALLRAMDISKMODULES="1"
  300.  
  301.  
  302. # Don't copy any modules to the ramdisk
  303. #RAMDISKMODULES="0"
  304.  
  305.  
  306. # File to output a .tar.bz2'd kernel and ramdisk:
  307. # No modules outside of the ramdisk will be
  308. # included...
  309. #MINKERNPACKAGE="/path/to/file.bz2"
  310.  
  311.  
  312. # File to output a .tar.bz2'd modules after the
  313. # callbacks have run
  314. #MODULESPACKAGE="/path/to/file.bz2"
  315.  
  316.  
  317. # Directory structure to include in the initramfs,
  318. # only available on >=2.6 kernels
  319. #INITRAMFS_OVERLAY=""
  320.  
  321.  
  322. # Build the generated initramfs into the kernel instead of
  323. # keeping it as a separate file
  324. #INTEGRATED_INITRAMFS="1"
  325.  
  326.  
  327. # Create a self-contained env in the initramfs
  328. #NETBOOT="1"
  329.  
  330.  
  331. # =========MISC BOOT CONFIGURATION============
  332. #
  333. # Specify a default for real_root=
  334. #REAL_ROOT="/dev/one/two/gentoo"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement