use rhel-friendly path for dd
This commit is contained in:
parent
4729adc5f9
commit
e7eb1547cc
1 changed files with 1 additions and 1 deletions
|
|
@ -3265,7 +3265,7 @@ class BaseImageTask(OzImageTask):
|
|||
|
||||
os.makedirs(os.path.join(self.workdir, 'squashfs-root/LiveOS'))
|
||||
|
||||
cmd = ['/usr/bin/dd', 'conv=sparse', 'bs=1M',
|
||||
cmd = ['/bin/dd', 'conv=sparse', 'bs=1M',
|
||||
'skip=1', # FIXME Hack to strip the disklabel
|
||||
'if=%s' % self.base_img.base_image.data,
|
||||
'of=%s' % fsimg]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue