From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7F47A138335 for ; Thu, 28 Mar 2019 23:43:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 48FCCE0AEA; Thu, 28 Mar 2019 23:43:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1F098E0AEA for ; Thu, 28 Mar 2019 23:43:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E0E2C335D10 for ; Thu, 28 Mar 2019 23:43:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A8222582 for ; Thu, 28 Mar 2019 23:43:12 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1553802594.c9aaeed65bf63d24dac5b6dd15566812b3913036.whissi@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: genkernel X-VCS-Directories: / X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: c9aaeed65bf63d24dac5b6dd15566812b3913036 X-VCS-Branch: master Date: Thu, 28 Mar 2019 23:43:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ee8dfdb7-9f4d-4bdd-83ad-f2a83ef90c48 X-Archives-Hash: 9a5031186be273a29545e2ed15f5219f commit: c9aaeed65bf63d24dac5b6dd15566812b3913036 Author: Thomas Deutschmann gentoo org> AuthorDate: Thu Mar 28 19:49:54 2019 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Thu Mar 28 19:49:54 2019 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=c9aaeed6 genkernel: remove dead code which checked for multiple running genkernel instances Code is disabled since commit 79502f6aa98d98504c5e08c5bf3a3881b68359d8 (2005). Signed-off-by: Thomas Deutschmann gentoo.org> genkernel | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/genkernel b/genkernel index 39186c3..0e716b5 100755 --- a/genkernel +++ b/genkernel @@ -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