Change the default CACHE_DIR from /usr/share/genkernel/pkg/%%ARCH%% to /var/cache...
[genkernel.git] / genkernel.conf
1 # Genkernel Configuration File
2
3 # ===========GENKERNEL BASIC CONFIGURATION=============
4
5 # Run 'make menuconfig' before compiling this kernel?
6 MENUCONFIG="no"
7
8 # Run 'make clean' before compilation?
9 # If set to NO, implies MRPROPER WILL NOT be run
10 # Also, if clean is NO, it won't copy over any configuration
11 # file, it will use what's there.
12 CLEAN="yes"
13
14 # Run 'make mrproper' before configuration/compilation?
15 MRPROPER="yes"
16
17 # Copy bootsplash into the initrd image?
18 BOOTSPLASH="yes"
19
20 # Override the arch detection?
21 # ARCH_OVERRIDE="x86"
22
23 # Mount BOOTDIR automatically if it isn't mounted?
24 MOUNTBOOT="yes"
25
26 # Save the new configuration in /etc/kernels upon
27 # successfull compilation
28 SAVE_CONFIG="yes"
29
30 # Use Color output in Genkernel?
31 USECOLOR="yes"
32
33 # Add new kernel to grub?
34 # BOOTLOADER="grub"
35
36 # Clear build cache dir
37 # CLEAR_CACHE_DIR="yes"
38
39 # Genkernel uses an independent configuration for MAKEOPTS, and does not source
40 # /etc/make.conf . You can override the default setting by uncommenting and
41 # tweaking the following line. Default setting is set up by
42 # ${GK_SHARE}/${ARCH_OVERRIDE}/config.sh . The recommended value for -j
43 # argument is: <number of processors>*<number of cores per processor>+1
44 # MAKEOPTS="-j2"
45
46 # =========GENKERNEL LOCATION CONFIGURATION============
47 # Variables:
48 #   %%ARCH%%  - Final determined architecture
49 #   %%CACHE%% - Final determined cache location
50
51 # Set the boot directory, default is /boot
52 #BOOTDIR="/boot"
53
54 # Default share directory location
55 GK_SHARE="/usr/share/genkernel"
56
57 # Location of helper-scripts
58 GK_BIN="${GK_SHARE}"
59 # Location of the default cache
60 CACHE_DIR="/var/cache/genkernel/%%ARCH%%"
61 # Log output file
62 DEBUGFILE="/var/log/genkernel.log"
63 # Debug Level
64 DEBUGLEVEL=1
65
66 # Default location of kernel source
67 DEFAULT_KERNEL_SOURCE="/usr/src/linux"
68 # Default kernel config (only use to override using
69 # %%ARCH%%/kernel-config-${VER}.${PAT} !)
70 # DEFAULT_KERNEL_CONFIG="${GK_SHARE}/%%ARCH%%/kernel-config"
71
72 # Configuration file for busybox
73 BUSYBOX_CONFIG="${GK_SHARE}/%%ARCH%%/busy-config"
74 # BusyBox Version
75 BUSYBOX_VER="1.1.3+gentoo"
76 # Busybox bin-cache location, to store pre-compiled busybox
77 # binary is just a bzip2 busybox executable
78 BUSYBOX_BINCACHE="%%CACHE%%/busybox-${BUSYBOX_VER}-%%ARCH%%.bz2"
79 # Location of BusyBox source tarball
80 BUSYBOX_SRCTAR="${GK_SHARE}/pkg/busybox-${BUSYBOX_VER}.tar.bz2"
81 # Directory created after busybox tarball is extracted
82 BUSYBOX_DIR="busybox-${BUSYBOX_VER}"
83
84 MODULE_INIT_TOOLS_VER="0.9.15-pre4"
85 MODULE_INIT_TOOLS_SRCTAR="${GK_SHARE}/pkg/module-init-tools-${MODULE_INIT_TOOLS_VER}.tar.bz2"
86 MODULE_INIT_TOOLS_DIR="module-init-tools-${MODULE_INIT_TOOLS_VER}"
87 MODULE_INIT_TOOLS_BINCACHE="%%CACHE%%/insmod-%%ARCH%%-static-2.6.bz2"
88
89 MODUTILS_VER="2.4.26"
90 MODUTILS_SRCTAR="${GK_SHARE}/pkg/modutils-${MODUTILS_VER}.tar.bz2"
91 MODUTILS_DIR="modutils-${MODUTILS_VER}"
92 MODUTILS_BINCACHE="%%CACHE%%/insmod-%%ARCH%%-static-2.4.bz2"
93
94 DIETLIBC_VER="0.27"
95 DIETLIBC_SRCTAR="${GK_SHARE}/pkg/dietlibc-${DIETLIBC_VER}.tar.bz2"
96 DIETLIBC_DIR="dietlibc-${DIETLIBC_VER}"
97 DIETLIBC_BINCACHE="%%CACHE%%/dietlibc-${DIETLIBC_VER}-%%ARCH%%.tar.bz2"
98 DIETLIBC_BINCACHE_TEMP="%%CACHE%%/dietlibc-${DIETLIBC_VER}-%%ARCH%%-tempdir"
99
100 DEVFSD_VER="1.3.25-dietlibc-kernel25"
101 DEVFSD_SRCTAR="${GK_SHARE}/pkg/devfsd-${DEVFSD_VER}.tar.bz2"
102 DEVFSD_DIR="devfsd"
103 DEVFSD_BINCACHE="%%CACHE%%/devfsd-${DEVFSD_VER}-%%ARCH%%.bz2"
104 DEVFSD_CONF_BINCACHE="%%CACHE%%/devfsd-conf-${DIETLIBC_VER}-%%ARCH%%.bz2"
105
106 #UDEV_VER="VERSION_UDEV"
107 #UDEV_DIR="udev-${UDEV_VER}"
108 #UDEV_SRCTAR="${GK_SHARE}/pkg/udev-${UDEV_VER}.tar.bz2"
109 #UDEV_BINCACHE="%%CACHE%%/udev-${UDEV_VER}-%%ARCH%%.tar.bz2"
110
111 #KLIBC_VER="VERSION_KLIBC"
112 #KLIBC_DIR="klibc-${KLIBC_VER}"
113 #KLIBC_SRCTAR="${GK_SHARE}/pkg/klibc-${KLIBC_VER}.tar.bz2"
114 #KLIBC_BINCACHE="%%CACHE%%/klibc-${KLIBC_VER}-%%ARCH%%.tar.bz2"
115
116 DEVICE_MAPPER_VER="VERSION_DMAP"
117 DEVICE_MAPPER_DIR="device-mapper.${DEVICE_MAPPER_VER}"
118 DEVICE_MAPPER_SRCTAR="${GK_SHARE}/pkg/device-mapper.${DEVICE_MAPPER_VER}.tgz"
119 DEVICE_MAPPER_BINCACHE="%%CACHE%%/device-mapper-${DEVICE_MAPPER_VER}-%%ARCH%%.tar.bz2"
120
121 LVM2_VER="VERSION_LVM2"
122 LVM2_DIR="LVM2.${LVM2_VER}"
123 LVM2_SRCTAR="${GK_SHARE}/pkg/LVM2.${LVM2_VER}.tgz"
124 LVM2_BINCACHE="%%CACHE%%/LVM2.${LVM2_VER}-%%ARCH%%.tar.bz2"
125
126 DMRAID_VER="VERSION_DMRAID"
127 DMRAID_DIR="dmraid/${DMRAID_VER}"
128 DMRAID_SRCTAR="${GK_SHARE}/pkg/dmraid-${DMRAID_VER}.tar.bz2"
129 DMRAID_BINCACHE="%%CACHE%%/dmraid-${DMRAID_VER}-%%ARCH%%.tar.bz2"
130
131 # Kernel Version Compatibility
132 # (from http://www.am-utils.org/project-unionfs.html)
133
134 # 2.6.9 - 2.6.15        1.1.5
135 # 2.6.16                        1.2
136 # 2.6.17                        1.3
137
138 UNIONFS_VER="VERSION_UNIONFS"
139 UNIONFS_DIR="unionfs-${UNIONFS_VER}"
140 UNIONFS_SRCTAR="${GK_SHARE}/pkg/unionfs-${UNIONFS_VER}.tar.gz"
141 UNIONFS_BINCACHE="%%CACHE%%/unionfs-${UNIONFS_VER}-tools-%%ARCH%%.tar.bz2"
142 UNIONFS_MODULES_BINCACHE="%%CACHE%%/unionfs-${UNIONFS_VER}-modules-%%KV%%-%%ARCH%%.tar.bz2"
143
144 E2FSPROGS_VER="VERSION_E2FSPROGS"
145 E2FSPROGS_DIR="e2fsprogs-${E2FSPROGS_VER}"
146 E2FSPROGS_SRCTAR="${GK_SHARE}/pkg/e2fsprogs-${E2FSPROGS_VER}.tar.gz"
147 BLKID_BINCACHE="%%CACHE%%/blkid-${E2FSPROGS_VER}-%%ARCH%%.bz2"
148
149 SUSPEND_VER="VERSION_SUSPEND"
150 SUSPEND_DIR="suspend-${SUSPEND_VER}"
151 SUSPEND_SRCTAR="${GK_SHARE}/pkg/suspend-${SUSPEND_VER}.tar.gz"
152 SUSPEND_BINCACHE="%%CACHE%%/suspend-${SUSPEND_VER}-%%ARCH%%.tar.bz2"
153