diff options
Diffstat (limited to 'scripts/lib/wic/plugins/source/rootfs.py')
-rw-r--r-- | scripts/lib/wic/plugins/source/rootfs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/plugins/source/rootfs.py b/scripts/lib/wic/plugins/source/rootfs.py index e438158f34..aec720fb22 100644 --- a/scripts/lib/wic/plugins/source/rootfs.py +++ b/scripts/lib/wic/plugins/source/rootfs.py | |||
@@ -88,7 +88,7 @@ class RootfsPlugin(SourcePlugin): | |||
88 | if part.exclude_path is not None: | 88 | if part.exclude_path is not None: |
89 | # We need a new rootfs directory we can delete files from. Copy to | 89 | # We need a new rootfs directory we can delete files from. Copy to |
90 | # workdir. | 90 | # workdir. |
91 | new_rootfs = os.path.realpath(os.path.join(cr_workdir, "rootfs")) | 91 | new_rootfs = os.path.realpath(os.path.join(cr_workdir, "rootfs%d" % part.lineno)) |
92 | 92 | ||
93 | if os.path.lexists(new_rootfs): | 93 | if os.path.lexists(new_rootfs): |
94 | shutil.rmtree(os.path.join(new_rootfs)) | 94 | shutil.rmtree(os.path.join(new_rootfs)) |