Skip to content

Commit

Permalink
remove chroot if debootstrap was interrupted
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Traut <manut@linutronix.de>
  • Loading branch information
Manuel Traut committed Mar 30, 2016
1 parent 8fb1c5f commit 9b1b72c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions elbepack/rfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def __init__ (self, xml, log, path, build_sources=False ):

# TODO think about reinitialization if elbe_version differs
if not self.rfs.isfile( "etc/elbe_version" ):
self.rfs.rmtree("")
# avoid starting daemons inside the buildenv
self.rfs.mkdir_p ("usr/sbin")
self.rfs.write_file ("usr/sbin/policy-rc.d",
Expand Down

0 comments on commit 9b1b72c

Please sign in to comment.