mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-17 00:35:25 +01:00
Re-copy distfiles on generator.reuse()
This commit is contained in:
parent
30fb367e7a
commit
896c618bd1
1 changed files with 3 additions and 1 deletions
|
|
@ -38,6 +38,7 @@ class Generator():
|
||||||
"""
|
"""
|
||||||
self.tmp_dir = tmpdir.path
|
self.tmp_dir = tmpdir.path
|
||||||
self.external_dir = os.path.join(self.tmp_dir, 'external')
|
self.external_dir = os.path.join(self.tmp_dir, 'external')
|
||||||
|
self.distfiles()
|
||||||
|
|
||||||
def prepare(self, tmpdir, using_kernel=False, kernel_bootstrap=False, target_size=0):
|
def prepare(self, tmpdir, using_kernel=False, kernel_bootstrap=False, target_size=0):
|
||||||
"""
|
"""
|
||||||
|
|
@ -46,7 +47,8 @@ class Generator():
|
||||||
/ -- contains seed to allow steps to be built, containing custom
|
/ -- contains seed to allow steps to be built, containing custom
|
||||||
scripts and stage0-posix
|
scripts and stage0-posix
|
||||||
"""
|
"""
|
||||||
self.reuse(tmpdir)
|
self.tmp_dir = tmpdir.path
|
||||||
|
self.external_dir = os.path.join(self.tmp_dir, 'external')
|
||||||
|
|
||||||
# We use ext3 here; ext4 actually has a variety of extensions that
|
# We use ext3 here; ext4 actually has a variety of extensions that
|
||||||
# have been added with varying levels of recency
|
# have been added with varying levels of recency
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue