diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2019-03-28 20:49:54 +0100 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2019-03-28 20:49:54 +0100 |
commit | c9aaeed65bf63d24dac5b6dd15566812b3913036 (patch) | |
tree | 6a1bd4e674deb1922250d0cc124c0e776e9ad4f2 /genkernel | |
parent | config_kernel(): No need to call determine_config_file again (diff) | |
download | genkernel-c9aaeed65bf63d24dac5b6dd15566812b3913036.tar.gz genkernel-c9aaeed65bf63d24dac5b6dd15566812b3913036.tar.bz2 genkernel-c9aaeed65bf63d24dac5b6dd15566812b3913036.zip |
genkernel: remove dead code which checked for multiple running genkernel instances
Code is disabled since commit 79502f6aa98d98504c5e08c5bf3a3881b68359d8 (2005).
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'genkernel')
-rwxr-xr-x | genkernel | 22 |
1 files changed, 0 insertions, 22 deletions
@@ -198,28 +198,6 @@ else fi fi -## Check whether another Genkernel is running -#GENPIDS="`ps -C genkernel --no-headers -o pid | wc -l`" -#if [ "${GENPIDS}" -gt '3' ] -#then -# [ "${GENPIDS}" -gt '4' ] && EX='s' -# print_warning 1 "${BOLD}WARNING${NORMAL}: Another Genkernel instance is running under" -# print_warning 1 " process ID${EX} " 0 -# GENPIDS=`ps -C genkernel --no-headers -o pid` -# printf "%s" "${GENPIDS}" | sed -e "s/$$//; s/ /, /g" -# echo 'halting...' -# echo -# print_warning 1 'Running multiple genkernels on the same source tree will cause data loss!' -# print_info 1 "Press ^C to halt; ^D to continue [ ${BOLD}if${NORMAL} you know what you're doing! ]" -# echo -# CTEMP="${TEMP}" -# TEMP=${TMPDIR-/tmp} -# TEMP=${TEMP}/genkernel.$RANDOM.$RANDOM.$RANDOM.$$ -# print_info 1 'thread: Running multiple genkernels may cause problems!' -# print_info 1 "thread: Temporary files reallocated to ${TEMP}..." -# echo -#fi - KERNCACHE_IS_VALID="no" if [ "${KERNCACHE}" != "" ] then |