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 71856138334 for ; Sat, 5 Oct 2019 22:31:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ADFFAE089E; Sat, 5 Oct 2019 22:31:45 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 9250CE089E for ; Sat, 5 Oct 2019 22:31:45 +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 04ABF34B9A3 for ; Sat, 5 Oct 2019 22:31:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2A5BD77C for ; Sat, 5 Oct 2019 22:31:40 +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: <1570314638.f97a050114eeef0550eec0052c526706a6bf3f0a.mattst88@gentoo> Subject: [gentoo-commits] proj/catalyst:master commit in: catalyst/base/ X-VCS-Repository: proj/catalyst X-VCS-Files: catalyst/base/stagebase.py X-VCS-Directories: catalyst/base/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: f97a050114eeef0550eec0052c526706a6bf3f0a X-VCS-Branch: master Date: Sat, 5 Oct 2019 22:31:40 +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: a4ae8db0-e029-4504-bc19-f121d414f0f0 X-Archives-Hash: c9af0c414a4ad26f48f51a7fb52858c2 commit: f97a050114eeef0550eec0052c526706a6bf3f0a Author: Matt Turner gentoo org> AuthorDate: Sat Oct 5 22:30:38 2019 +0000 Commit: Matt Turner gentoo org> CommitDate: Sat Oct 5 22:30:38 2019 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=f97a0501 Warn if skipping unbinding a path Signed-off-by: Matt Turner gentoo.org> catalyst/base/stagebase.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py index 4e81a9b1..3c274587 100644 --- a/catalyst/base/stagebase.py +++ b/catalyst/base/stagebase.py @@ -1001,9 +1001,11 @@ class StageBase(TargetBase, ClearBase, GenBase): for x in myrevmounts: target = normpath(mypath + self.target_mounts[x]) if not os.path.exists(target): + log.warning('%s does not exist. Skipping', target) continue if not ismount(target): + log.warning('%s is not a mount point. Skipping', target) continue try: