mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-12-27 05:28:22 +01:00
sdcard_image-sunxi.bbclass: change deployment dir to IMGDEPLOYIDR
This fixes building images after OE-Core revision 6d969bacc718e21a5246d4da9bf9639dcae29b02. Signed-off-by: Jonathan Liu <net147@gmail.com>
This commit is contained in:
parent
5564b58b56
commit
0da0fd6531
@ -27,7 +27,7 @@ IMAGE_ROOTFS_ALIGNMENT = "2048"
|
|||||||
|
|
||||||
# Use an uncompressed ext3 by default as rootfs
|
# Use an uncompressed ext3 by default as rootfs
|
||||||
SDIMG_ROOTFS_TYPE ?= "ext4"
|
SDIMG_ROOTFS_TYPE ?= "ext4"
|
||||||
SDIMG_ROOTFS = "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.${SDIMG_ROOTFS_TYPE}"
|
SDIMG_ROOTFS = "${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.${SDIMG_ROOTFS_TYPE}"
|
||||||
|
|
||||||
IMAGE_DEPENDS_sunxi-sdimg += " \
|
IMAGE_DEPENDS_sunxi-sdimg += " \
|
||||||
parted-native \
|
parted-native \
|
||||||
@ -40,7 +40,7 @@ IMAGE_DEPENDS_sunxi-sdimg += " \
|
|||||||
rootfs[depends] += "virtual/kernel:do_deploy"
|
rootfs[depends] += "virtual/kernel:do_deploy"
|
||||||
|
|
||||||
# SD card image name
|
# SD card image name
|
||||||
SDIMG = "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.sunxi-sdimg"
|
SDIMG = "${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.sunxi-sdimg"
|
||||||
|
|
||||||
IMAGEDATESTAMP = "${@time.strftime('%Y.%m.%d',time.gmtime())}"
|
IMAGEDATESTAMP = "${@time.strftime('%Y.%m.%d',time.gmtime())}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user