From e7eb1547cc84118b5232dd2c555e1dc05f085f35 Mon Sep 17 00:00:00 2001 From: Mike McLean Date: Mar 30 2016 16:18:56 +0000 Subject: use rhel-friendly path for dd --- diff --git a/builder/kojid b/builder/kojid index d02c4a9..a12bb55 100755 --- a/builder/kojid +++ b/builder/kojid @@ -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]