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 F1279138334 for ; Mon, 2 Jul 2018 18:55:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2D6F5E0ABA; Mon, 2 Jul 2018 18:55:06 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 0254DE0ABA for ; Mon, 2 Jul 2018 18:55:06 +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 ABF7F335C90 for ; Mon, 2 Jul 2018 18:55:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AAF02300 for ; Mon, 2 Jul 2018 18:55:02 +0000 (UTC) From: "Richard Farina" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Richard Farina" Message-ID: <1530557648.2b684f7d8cb5281867cce1f53ebb22e9f687dcce.zerochaos@gentoo> Subject: [gentoo-commits] proj/catalyst:master commit in: targets/support/ X-VCS-Repository: proj/catalyst X-VCS-Files: targets/support/create-iso.sh X-VCS-Directories: targets/support/ X-VCS-Committer: zerochaos X-VCS-Committer-Name: Richard Farina X-VCS-Revision: 2b684f7d8cb5281867cce1f53ebb22e9f687dcce X-VCS-Branch: master Date: Mon, 2 Jul 2018 18:55:02 +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-Archives-Salt: 6b3bbd65-80c2-482a-a139-b105b29ef9fc X-Archives-Hash: c628acb663aaf1760d6b586e5f9f9902 commit: 2b684f7d8cb5281867cce1f53ebb22e9f687dcce Author: Rick Farina (Zero_Chaos) gentoo org> AuthorDate: Mon Jul 2 18:54:08 2018 +0000 Commit: Richard Farina gentoo org> CommitDate: Mon Jul 2 18:54:08 2018 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=2b684f7d add more slack and catch error I have no idea why we are running out of space in the efi boot image, but for right now I'm just going to detect the failure and blindly add more slack. targets/support/create-iso.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/targets/support/create-iso.sh b/targets/support/create-iso.sh index 607a89aa..323179f5 100755 --- a/targets/support/create-iso.sh +++ b/targets/support/create-iso.sh @@ -124,7 +124,7 @@ case ${clst_hostarch} in then iaSizeTemp=$(du -sk "${clst_target_path}/boot" 2>/dev/null) iaSizeB=$(echo ${iaSizeTemp} | cut '-d ' -f1) - iaSize=$((${iaSizeB}+32)) # Add slack + iaSize=$((${iaSizeB}+64)) # Add slack dd if=/dev/zero of="${clst_target_path}/gentoo.efimg" bs=1k \ count=${iaSize} @@ -136,7 +136,7 @@ case ${clst_hostarch} in echo '>> Populating EFI image...' cp -rv "${clst_target_path}"/boot/* \ - "${clst_target_path}/gentoo.efimg.mountPoint" + "${clst_target_path}/gentoo.efimg.mountPoint" || die "Failed to populate EFI image" umount "${clst_target_path}/gentoo.efimg.mountPoint" rmdir "${clst_target_path}/gentoo.efimg.mountPoint"