DELTA_VERIFIER_BIN="delta-verifier"
BLKID_PRINT_BIN="blkid-print"
RESIZE_DYNPARTS_BIN="resize-dynparts"
+ COPY_BLOCKDEV_BIN="copy-blockdev"
# Getting date and minor version
MONDATE=$(date +%m%d)
i=1
local DELTA_VERIFIER_PATH=${MNT_PNT}"/usr/bin/"${DELTA_VERIFIER_BIN}
local BLKID_PRINT_PATH=${MNT_PNT}"/usr/bin/"${BLKID_PRINT_BIN}
local RESIZE_DYNPARTS_PATH=${MNT_PNT}"/bin/"${RESIZE_DYNPARTS_BIN}
+ local COPY_BLOCKDEV_PATH=${MNT_PNT}"/bin/"${COPY_BLOCKDEV_BIN}
cp "${UPGRADE_SUPPORT_PATH}"/* .
cp "${UPGRADE_APPLY_PATH}" "${UPGRADE_APPLY_BIN}"
cp "${DELTA_VERIFIER_PATH}" "${DELTA_VERIFIER_BIN}"
cp "${BLKID_PRINT_PATH}" "${BLKID_PRINT_BIN}"
cp "${RESIZE_DYNPARTS_PATH}" "${RESIZE_DYNPARTS_BIN}"
+ cp "${COPY_BLOCKDEV_PATH}" "${COPY_BLOCKDEV_BIN}"
# TODO buildstring?
fi
cp "${EXTRACTED_FILES_DIR}"/${DELTA_VERIFIER_BIN} .
cp "${EXTRACTED_FILES_DIR}"/${BLKID_PRINT_BIN} .
cp "${EXTRACTED_FILES_DIR}"/${RESIZE_DYNPARTS_BIN} .
+ cp "${EXTRACTED_FILES_DIR}"/${COPY_BLOCKDEV_BIN} .
fi
local DELTA_VERIFIER_PATH=${MNT_PNT}"/usr/bin/delta-verifier"
local BLKID_PRINT_PATH=${MNT_PNT}"/usr/bin/blkid-print"
local RESIZE_DYNPARTS_PATH=${MNT_PNT}"/bin/resize-dynparts"
+ local COPY_BLOCKDEV_PATH=${MNT_PNT}"/bin/copy-blockdev"
echo "===== Start writing image versions ====="
local OLD_BUILD_STRING="0.0"
cp "${DELTA_VERIFIER_PATH}" ${DELTA_DIR}/
cp "${BLKID_PRINT_PATH}" ${DELTA_DIR}/
cp "${RESIZE_DYNPARTS_PATH}" ${DELTA_DIR}/
+ cp "${COPY_BLOCKDEV_PATH}" ${DELTA_DIR}/
fi
}
local DELTA_VERIFIER="delta-verifier"
local BLKID_PRINT="blkid-print"
local RESIZE_DYNPARTS="resize-dynparts"
+ local COPY_BLOCKDEV="copy-blockdev"
local ROOTFS_MODEL_CONFIG_PATH=${MNT_PNT_OLD}"/etc/config/model-config.xml"
local TIZEN_BUILD_CONFIG_PATH=${MNT_PNT_OLD}"/etc/tizen-build.conf"
local DELTA_VERIFIER_PATH=${MNT_PNT_NEW}"/usr/bin/"${DELTA_VERIFIER}
local BLKID_PRINT_PATH=${MNT_PNT_NEW}"/usr/bin/"${BLKID_PRINT}
local RESIZE_DYNPARTS_PATH=${MNT_PNT_NEW}"/bin/"${RESIZE_DYNPARTS}
+ local COPY_BLOCKDEV_PATH=${MNT_PNT_NEW}"/bin/"${COPY_BLOCKDEV}
# build string building
echo "===== Start writing image versions ====="
cp "${DELTA_VERIFIER_PATH}" ./${DELTA_VERIFIER}
cp "${BLKID_PRINT_PATH}" ./${BLKID_PRINT}
cp "${RESIZE_DYNPARTS_PATH}" ./${RESIZE_DYNPARTS}
+ cp "${COPY_BLOCKDEV_PATH}" ./${COPY_BLOCKDEV}
fi
}