Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 180161 | Differences between
and this patch

Collapse All | Expand All

(-)old/gen_determineargs.sh (-1 / +8 lines)
Lines 274-283 Link Here
274
	then
274
	then
275
		MRPROPER="${CMD_MRPROPER}"
275
		MRPROPER="${CMD_MRPROPER}"
276
	fi
276
	fi
277
277
	if [ "${CMD_MENUCONFIG}" != '' ]
278
	if [ "${CMD_MENUCONFIG}" != '' ]
278
	then
279
	then
279
		MENUCONFIG="${CMD_MENUCONFIG}"
280
		MENUCONFIG="${CMD_MENUCONFIG}"
280
	fi
281
	fi
282
281
	if [ "${CMD_CLEAN}" != '' ]
283
	if [ "${CMD_CLEAN}" != '' ]
282
	then
284
	then
283
		CLEAN="${CMD_CLEAN}"
285
		CLEAN="${CMD_CLEAN}"
Lines 391-397 Link Here
391
		fi
393
		fi
392
	fi
394
	fi
393
395
394
	if isTrue "${CMD_OLDCONFIG}"
396
	if [ "${CMD_OLDCONFIG}" != '' ]
397
	then
398
		OLDCONFIG="${CMD_OLDCONFIG}"
399
	fi
400
401
	if isTrue "${OLDCONFIG}"
395
	then
402
	then
396
		OLDCONFIG=1
403
		OLDCONFIG=1
397
	else
404
	else
(-)old/genkernel (-1 / +5 lines)
Lines 4-11 Link Here
4
PATH="/bin:/usr/bin:/sbin:/usr/sbin"
4
PATH="/bin:/usr/bin:/sbin:/usr/sbin"
5
GK_V='3.4.8'
5
GK_V='3.4.8'
6
6
7
# Set the default for TMPDIR.  May be modified by genkernel.conf or the
8
# --tempdir command line option.
7
TMPDIR='/var/tmp/genkernel'
9
TMPDIR='/var/tmp/genkernel'
8
TEMP=${TMPDIR}/$RANDOM.$RANDOM.$RANDOM.$$
10
9
TODEBUGCACHE=1 # Until an error occurs or DEBUGFILE is fully qualified.
11
TODEBUGCACHE=1 # Until an error occurs or DEBUGFILE is fully qualified.
10
12
11
small_die() {
13
small_die() {
Lines 26-31 Link Here
26
source ${GK_BIN}/gen_package.sh || gen_die "Could not read ${GK_BIN}/gen_package.sh"
28
source ${GK_BIN}/gen_package.sh || gen_die "Could not read ${GK_BIN}/gen_package.sh"
27
source ${GK_BIN}/gen_bootloader.sh || gen_die "Could not read ${GK_BIN}/gen_bootloader.sh"
29
source ${GK_BIN}/gen_bootloader.sh || gen_die "Could not read ${GK_BIN}/gen_bootloader.sh"
28
30
31
TEMP=${TMPDIR}/$RANDOM.$RANDOM.$RANDOM.$$
32
29
trap_cleanup(){
33
trap_cleanup(){
30
	# Call exit code of 1 for failure
34
	# Call exit code of 1 for failure
31
	cleanup
35
	cleanup
(-)old/genkernel.8 (-2 / +4 lines)
Lines 55-62 Link Here
55
possible is given.
55
possible is given.
56
.TP
56
.TP
57
\fB\-\-debugfile=\fR<outfile>
57
\fB\-\-debugfile=\fR<outfile>
58
This outputs full debugging data; regardless of --debuglevel to the file 
58
This outputs debugging data to the file <outfile>. By default this is
59
<outfile>. By default this is
60
.I /var/log/genkernel.log\fR.
59
.I /var/log/genkernel.log\fR.
61
.TP
60
.TP
62
\fB\-\-\fR[no\-]\fBcolor\fR
61
\fB\-\-\fR[no\-]\fBcolor\fR
Lines 221-226 Link Here
221
\fB\-\-arch\-override=\fR<arch>
220
\fB\-\-arch\-override=\fR<arch>
222
Force the architecture settings described by the <arch> profile
221
Force the architecture settings described by the <arch> profile
223
instead of autodetecting the running architecture.
222
instead of autodetecting the running architecture.
223
.TP
224
\fB\-\-tempdir=\fR<dir>
225
Sets genkernel's temporary working directory to <dir>.
224
.PP
226
.PP
225
.BR Output \ Settings
227
.BR Output \ Settings
226
.TP
228
.TP
(-)old/genkernel.conf (+11 lines)
Lines 2-7 Link Here
2
2
3
# ===========GENKERNEL BASIC CONFIGURATION=============
3
# ===========GENKERNEL BASIC CONFIGURATION=============
4
4
5
# Run 'make oldconfig' before compiling this kernel?
6
# If set to "yes", also suppresses the fetch of the kernel .config file from
7
# /etc/kernels, thus preserving the .config file in /usr/src/linux.
8
# OLDCONFIG="no"
9
5
# Run 'make menuconfig' before compiling this kernel?
10
# Run 'make menuconfig' before compiling this kernel?
6
MENUCONFIG="no"
11
MENUCONFIG="no"
7
12
Lines 23-28 Link Here
23
# Mount BOOTDIR automatically if it isn't mounted?
28
# Mount BOOTDIR automatically if it isn't mounted?
24
MOUNTBOOT="yes"
29
MOUNTBOOT="yes"
25
30
31
# Make symlinks in BOOTDIR automatically?
32
# SYMLINK="no"
33
26
# Save the new configuration in /etc/kernels upon
34
# Save the new configuration in /etc/kernels upon
27
# successfull compilation
35
# successfull compilation
28
SAVE_CONFIG="yes"
36
SAVE_CONFIG="yes"
Lines 48-53 Link Here
48
#   %%ARCH%%  - Final determined architecture
56
#   %%ARCH%%  - Final determined architecture
49
#   %%CACHE%% - Final determined cache location
57
#   %%CACHE%% - Final determined cache location
50
58
59
# Set genkernel's temporary work directory.  Default is /var/tmp/genkernel
60
# TMPDIR="/var/tmp/genkernel"
61
51
# Set the boot directory, default is /boot
62
# Set the boot directory, default is /boot
52
#BOOTDIR="/boot"
63
#BOOTDIR="/boot"
53
64

Return to bug 180161