logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>
commit: 896c618bd1ebd67b708cb274eaca829b98f8ab2f
parent 30fb367e7aaf8275c2064166efdb0f9737bc53ff
Author: Gábor Stefanik <netrolller.3d@gmail.com>
Date:   Mon, 25 Dec 2023 18:34:04 +0100

Re-copy distfiles on generator.reuse()

Diffstat:

Mlib/generator.py4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/generator.py b/lib/generator.py @@ -38,6 +38,7 @@ class Generator(): """ self.tmp_dir = tmpdir.path 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): """ @@ -46,7 +47,8 @@ class Generator(): / -- contains seed to allow steps to be built, containing custom 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 # have been added with varying levels of recency