|
|
|
@ -1589,7 +1589,8 @@ class SquashDistributive(Distributive):
|
|
|
|
|
if self.exclude:
|
|
|
|
|
exclude_list = list(calculate_exclude(directory, exclude=self.exclude,
|
|
|
|
|
include=self.include))
|
|
|
|
|
cmd += ["-e"] + exclude_list
|
|
|
|
|
if exclude_list:
|
|
|
|
|
cmd += ["-e"] + exclude_list
|
|
|
|
|
# возможность использовать заранее подготовленный livecd.squashfs
|
|
|
|
|
if path.exists('/var/calculate/tmp/livecd.squashfs'):
|
|
|
|
|
os.system('cp -L /var/calculate/tmp/livecd.squashfs %s' % file)
|
|
|
|
|