public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Brian Dolbec" <brian.dolbec@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/catalyst:3.0 commit in: catalyst/base/
Date: Wed, 22 Jan 2014 05:04:12 +0000 (UTC)	[thread overview]
Message-ID: <1388772142.7d07dfc12dd1de9f12e37484ebf6093e423ec8b9.dol-sen@gentoo> (raw)

commit:     7d07dfc12dd1de9f12e37484ebf6093e423ec8b9
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 31 17:47:07 2013 +0000
Commit:     Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
CommitDate: Fri Jan  3 18:02:22 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=7d07dfc1

fix a "lockfile does not exist" issue at the end of the run.

---
 catalyst/base/clearbase.py | 2 ++
 catalyst/base/stagebase.py | 1 -
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/catalyst/base/clearbase.py b/catalyst/base/clearbase.py
index 1a6ec77..a9f1d22 100644
--- a/catalyst/base/clearbase.py
+++ b/catalyst/base/clearbase.py
@@ -27,11 +27,13 @@ class ClearBase(object):
 
 
 	def clear_chroot(self):
+		self.chroot_lock.unlock()
 		print 'Clearing the chroot path ...'
 		clear_dir(self.settings["chroot_path"], 0755, True)
 
 
 	def remove_chroot(self):
+		self.chroot_lock.unlock()
 		print 'Removing the chroot path ...'
 		clear_dir(self.settings["chroot_path"], 0755, True, remove=True)
 

diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index a0b3fc2..f42d943 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -1341,7 +1341,6 @@ class StageBase(TargetBase, ClearBase, GenBase):
 				self.mount_safety_check()
 				raise e
 
-		self.chroot_lock.unlock()
 
 	def unmerge(self):
 		if "autoresume" in self.settings["options"] \


             reply	other threads:[~2014-01-22  5:04 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-22  5:04 Brian Dolbec [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-04-18 16:52 [gentoo-commits] proj/catalyst:3.0 commit in: catalyst/base/ Brian Dolbec
2014-04-18 16:52 Brian Dolbec
2014-04-18 16:52 Brian Dolbec
2014-04-18 16:52 Brian Dolbec
2014-04-18 16:52 Brian Dolbec
2014-04-18 16:52 Brian Dolbec
2014-04-18 15:53 Brian Dolbec
2014-04-05  7:39 Brian Dolbec
2014-04-05  7:31 Brian Dolbec
2014-03-04  1:57 Brian Dolbec
2014-03-01 18:51 Brian Dolbec
2014-02-19 17:47 Brian Dolbec
2014-01-22  5:04 Brian Dolbec
2014-01-22  5:04 Brian Dolbec
2014-01-22  5:04 Brian Dolbec
2014-01-22  5:04 Brian Dolbec
2014-01-22  5:04 Brian Dolbec
2014-01-22  5:04 Brian Dolbec
2014-01-22  5:04 Brian Dolbec
2014-01-22  5:04 Brian Dolbec
2014-01-22  5:04 Brian Dolbec
2014-01-22  5:04 Brian Dolbec
2013-12-31 10:48 Brian Dolbec
2013-12-31 10:48 Brian Dolbec
2013-12-31 10:48 Brian Dolbec
2013-12-31 10:48 Brian Dolbec
2013-12-31 10:48 Brian Dolbec
2013-12-31 10:48 Brian Dolbec
2013-12-31 10:48 Brian Dolbec
2013-12-31 10:48 Brian Dolbec

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1388772142.7d07dfc12dd1de9f12e37484ebf6093e423ec8b9.dol-sen@gentoo \
    --to=brian.dolbec@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox