diff options
Diffstat (limited to 'classes/sdcard_image-rpi.bbclass')
-rw-r--r-- | classes/sdcard_image-rpi.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/sdcard_image-rpi.bbclass b/classes/sdcard_image-rpi.bbclass index 42753d6..8099f77 100644 --- a/classes/sdcard_image-rpi.bbclass +++ b/classes/sdcard_image-rpi.bbclass | |||
@@ -86,7 +86,7 @@ IMAGE_CMD_rpi-sdimg () { | |||
86 | echo "Creating filesystem with Boot partition ${BOOT_SPACE_ALIGNED} KiB and RootFS $ROOTFS_SIZE KiB" | 86 | echo "Creating filesystem with Boot partition ${BOOT_SPACE_ALIGNED} KiB and RootFS $ROOTFS_SIZE KiB" |
87 | 87 | ||
88 | # Check if we are building with device tree support | 88 | # Check if we are building with device tree support |
89 | DTS="${@get_dts(d)}" | 89 | DTS="${KERNEL_DEVICETREE}" |
90 | 90 | ||
91 | # Initialize sdcard image file | 91 | # Initialize sdcard image file |
92 | dd if=/dev/zero of=${SDIMG} bs=1024 count=0 seek=${SDIMG_SIZE} | 92 | dd if=/dev/zero of=${SDIMG} bs=1024 count=0 seek=${SDIMG_SIZE} |