diff options
Diffstat (limited to 'meta/classes/boot-directdisk.bbclass')
-rw-r--r-- | meta/classes/boot-directdisk.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/boot-directdisk.bbclass b/meta/classes/boot-directdisk.bbclass index 182957b106..8a55aae6a3 100644 --- a/meta/classes/boot-directdisk.bbclass +++ b/meta/classes/boot-directdisk.bbclass | |||
@@ -81,7 +81,7 @@ build_boot_dd() { | |||
81 | parted $IMAGE set 1 boot on | 81 | parted $IMAGE set 1 boot on |
82 | parted $IMAGE print | 82 | parted $IMAGE print |
83 | 83 | ||
84 | echo -ne "$(echo ${DISK_SIGNATURE} | fold -w 2 | tac | paste -sd '' | sed 's/\(..\)/\\x&/g')" | \ | 84 | awk "BEGIN { printf \"$(echo ${DISK_SIGNATURE} | fold -w 2 | tac | paste -sd '' | sed 's/\(..\)/\\x&/g')\" }" | \ |
85 | dd of=$IMAGE bs=1 seek=440 conv=notrunc | 85 | dd of=$IMAGE bs=1 seek=440 conv=notrunc |
86 | 86 | ||
87 | OFFSET=`expr $END2 / 512` | 87 | OFFSET=`expr $END2 / 512` |