From patchwork Sun May 24 22:13:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Fischer X-Patchwork-Id: 3126 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 49VZJC1JyNz43rk for ; Sun, 24 May 2020 22:14:03 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 49VZJ94sJTz11h; Sun, 24 May 2020 22:14:01 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 49VZJ92qkpz2yDC; Sun, 24 May 2020 22:14:01 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 49VZJ84BDdz2xZt for ; Sun, 24 May 2020 22:14:00 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 49VZJ31s17z11h for ; Sun, 24 May 2020 22:13:55 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1590358435; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=LHG23ctWhMhS7JUOpD6rktoQCNqCFUhD9ZHzzo34W0g=; b=mgYDm2mcMN3HM/2niFslxlyuX7a85ioxdVUMwI2jMQ0uJMTzlFOf+cozaSsSurZjd32hql oKIXdb0PNca9yZAg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1590358435; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=LHG23ctWhMhS7JUOpD6rktoQCNqCFUhD9ZHzzo34W0g=; b=jjQ4otz4t2GGBjzDsags/ZmhUgKhqgMc5HF+TYdGIOamPcH5TNkgEI/HKS3WYnJphL6lov dQi1K9Rhi4riSftGznH8/Zg540fOUko+PC3VD3pr1kMVMKjF/FlPsonxr+ZgciQtWqaUiq cik3SPccMUWIoUl8F8syZ6tw5wO8EYvm8BwswUT+V1P/4wIXyRzdxyODhNeUkezkPAuW5F E4/13BS7ozFuE5DvNYGG0EiPiFTlnpZyAJ/PsOvE7QH30cNZLxgEGdtAnLlAWz/63oWWmN FYmvH/9kSpzsbmbOI1NZVbMTLPVuFnfllvqb2pdjz9Zc8wqcuKd4niVLycvfAA== From: Matthias Fischer To: development@lists.ipfire.org Subject: [PATCH] make.sh: Suppress 'ls :cannot access *.bz2'-message Date: Mon, 25 May 2020 00:13:50 +0200 Message-Id: <20200524221350.17476-1-matthias.fischer@ipfire.org> Authentication-Results: mail01.ipfire.org; auth=pass smtp.mailfrom=matthias.fischer@ipfire.org X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" The message "ls: cannot access '*.bz2': No such file or directory" comes from the 'ls' command prior to creating the *.md5-files for *.bz2, *.img.xz and *.iso files. But on most builds we have especially no more bzip2 compressed images anymore. This message can usually be ignored and is just irritating. Signed-off-by: Matthias Fischer Reviewed-by: Michael Tremer --- make.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make.sh b/make.sh index 4acce807f..2e8faa38d 100755 --- a/make.sh +++ b/make.sh @@ -1707,7 +1707,7 @@ buildpackages() { # remove not useable iso on armv5tel (needed to build flash images) [ "${BUILD_ARCH}" = "armv5tel" ] && rm -rf *.iso - for i in `ls *.bz2 *.img.xz *.iso`; do + for i in $(ls *.bz2 *.img.xz *.iso 2>/dev/null); do md5sum $i > $i.md5 done cd $PWD