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 2F471138334 for ; Wed, 9 Oct 2019 17:01:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 183D9E0809; Wed, 9 Oct 2019 17:01:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 E9CAAE0802 for ; Wed, 9 Oct 2019 17:01:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 9AC7234BABD for ; Wed, 9 Oct 2019 17:01:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 252117FF for ; Wed, 9 Oct 2019 17:01:26 +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: <1570640334.f5e265631ec86909edbbd712947af1f5c933e789.whissi@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: gen_funcs.sh X-VCS-Directories: / X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: f5e265631ec86909edbbd712947af1f5c933e789 X-VCS-Branch: master Date: Wed, 9 Oct 2019 17:01:26 +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: 34fe6f54-386b-4d7e-abb5-3fcb2556b917 X-Archives-Hash: 2673fc684ba655912326596bb1f8914f commit: f5e265631ec86909edbbd712947af1f5c933e789 Author: Thomas Deutschmann gentoo org> AuthorDate: Wed Oct 9 16:58:54 2019 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Wed Oct 9 16:58:54 2019 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=f5e26563 gen_funcs.sh: check_disk_space_requirements(): Fix error message Fixes 467c2e82 ("Add feature to check for free disk space early at genkernel start") Signed-off-by: Thomas Deutschmann gentoo.org> gen_funcs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen_funcs.sh b/gen_funcs.sh index 0e7c5ba..8a8c490 100755 --- a/gen_funcs.sh +++ b/gen_funcs.sh @@ -1720,7 +1720,7 @@ check_disk_space_requirements() { available_free_disk_space=${available_free_disk_space%M} if [ ${available_free_disk_space} -lt ${CHECK_FREE_DISK_SPACE_KERNELOUTPUTDIR} ] then - gen_die "${CHECK_FREE_DISK_SPACE_KERNELOUTPUTDIR} MB free disk space is required in '${BOOTDIR}' but only ${available_free_disk_space} MB is available!" + gen_die "${CHECK_FREE_DISK_SPACE_KERNELOUTPUTDIR} MB free disk space is required in '${KERNEL_OUTPUTDIR}' but only ${available_free_disk_space} MB is available!" fi else print_warning 1 "Invalid df value; Skipping free disk space check for '${KERNEL_OUTPUTDIR}' ..."