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 1BD0B138350 for ; Tue, 7 Apr 2020 17:25:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3F191E0993; Tue, 7 Apr 2020 17:25:41 +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 25133E0993 for ; Tue, 7 Apr 2020 17:25:41 +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 BB7EF34F0D2 for ; Tue, 7 Apr 2020 17:25:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8AD221AE for ; Tue, 7 Apr 2020 17:25:37 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1586280312.9ae5e17abc68907a0c8d75e16c29a84bb48c5e61.mattst88@gentoo> Subject: [gentoo-commits] proj/catalyst:master commit in: targets/support/ X-VCS-Repository: proj/catalyst X-VCS-Files: targets/support/bootloader-setup.sh X-VCS-Directories: targets/support/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 9ae5e17abc68907a0c8d75e16c29a84bb48c5e61 X-VCS-Branch: master Date: Tue, 7 Apr 2020 17:25:37 +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: 4f514f4d-8cba-454c-aeed-d28a4edcb7d1 X-Archives-Hash: 721937d99f8edad4545894188d4ca270 commit: 9ae5e17abc68907a0c8d75e16c29a84bb48c5e61 Author: Matt Turner gentoo org> AuthorDate: Tue Apr 7 17:24:38 2020 +0000 Commit: Matt Turner gentoo org> CommitDate: Tue Apr 7 17:25:12 2020 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=9ae5e17a targets: Just make directory; don't bother checking Signed-off-by: Matt Turner gentoo.org> targets/support/bootloader-setup.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/targets/support/bootloader-setup.sh b/targets/support/bootloader-setup.sh index 2c69419d..c52e0907 100755 --- a/targets/support/bootloader-setup.sh +++ b/targets/support/bootloader-setup.sh @@ -233,8 +233,7 @@ case ${clst_hostarch} in # GRUB2 if [ -d $1/grub ] || [ -f "$1/boot/EFI/BOOT/BOOTX64.EFI" ] then - #the grub dir may not exist, better safe than sorry - [ -d "$1/grub" ] || mkdir -p "$1/grub" + mkdir -p "$1/grub" iacfg=$1/grub/grub.cfg echo 'set default=0' > ${iacfg}