diff options
-rw-r--r-- | scripts/lib/wic/plugins/source/isoimage-isohybrid.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/plugins/source/isoimage-isohybrid.py b/scripts/lib/wic/plugins/source/isoimage-isohybrid.py index 62385a223d..31dc9b6ce6 100644 --- a/scripts/lib/wic/plugins/source/isoimage-isohybrid.py +++ b/scripts/lib/wic/plugins/source/isoimage-isohybrid.py | |||
@@ -174,7 +174,7 @@ class IsoImagePlugin(SourcePlugin): | |||
174 | else: | 174 | else: |
175 | msger.error("Couldn't find or build initrd, exiting.\n") | 175 | msger.error("Couldn't find or build initrd, exiting.\n") |
176 | 176 | ||
177 | exec_cmd("cd %s && find . | cpio -o -H newc >%s/initrd.cpio " \ | 177 | exec_cmd("find %s | cpio -o -H newc >%s/initrd.cpio " \ |
178 | % (initrd_dir, cr_workdir), as_shell=True) | 178 | % (initrd_dir, cr_workdir), as_shell=True) |
179 | exec_cmd("gzip -f -9 -c %s/initrd.cpio > %s" \ | 179 | exec_cmd("gzip -f -9 -c %s/initrd.cpio > %s" \ |
180 | % (cr_workdir, initrd), as_shell=True) | 180 | % (cr_workdir, initrd), as_shell=True) |