script/mkits.sh: add extra info for 360T7 stock uboot

This commit is contained in:
hanwckf 2022-10-18 23:47:21 +08:00
parent 9e16c8d8bc
commit 2d60ba677b

View File

@ -113,6 +113,12 @@ if [ -f "${ROOTFS_FILE}" ]; then
};
};
"
ROOTFS_EXTRA_INFO="
rootfs_crc32 = \"${ROOTFS_CRC32}\";
rootfs_size = \"${ROOTFS_SIZE}\";
image_time = \"$(date +%s)\";
"
fi
# Conditionally create script information
@ -172,6 +178,8 @@ DATA="/dts-v1/;
description = \"${ARCH_UPPER} OpenWrt FIT (Flattened Image Tree)\";
#address-cells = <1>;
${ROOTFS_EXTRA_INFO}
images {
kernel-1 {
description = \"${ARCH_UPPER} OpenWrt Linux-${VERSION}\";