UPGRADE_APPLY_BIN="upgrade-apply"
UPGRADE_APPLY_DELTAFS_BIN="upgrade-apply-deltafs"
DELTA_VERIFIER_BIN="delta-verifier"
+ BLKID_PRINT_BIN="blkid-print"
# Getting date and minor version
MONDATE=$(date +%m%d)
i=1
local UPGRADE_APPLY_PATH=${MNT_PNT}"/usr/bin/"${UPGRADE_APPLY_BIN}
local UPGRADE_APPLY_DELTAFS_PATH=${MNT_PNT}"/usr/bin/"${UPGRADE_APPLY_DELTAFS_BIN}
local DELTA_VERIFIER_PATH=${MNT_PNT}"/usr/bin/"${DELTA_VERIFIER_BIN}
+ local BLKID_PRINT_PATH=${MNT_PNT}"/usr/bin/"${BLKID_PRINT_BIN}
cp "${UPGRADE_SUPPORT_PATH}"/* .
cp "${UPGRADE_APPLY_PATH}" "${UPGRADE_APPLY_BIN}"
cp "${UPGRADE_APPLY_DELTAFS_PATH}" "${UPGRADE_APPLY_DELTAFS_BIN}"
cp "${DELTA_VERIFIER_PATH}" "${DELTA_VERIFIER_BIN}"
+ cp "${BLKID_PRINT_PATH}" "${BLKID_PRINT_BIN}"
# TODO buildstring?
fi
cp "${EXTRACTED_FILES_DIR}"/${UPGRADE_APPLY_DELTAFS_BIN} .
cp "${EXTRACTED_FILES_DIR}"/${UPGRADE_SUPPORT_DIR}/* .
cp "${EXTRACTED_FILES_DIR}"/${DELTA_VERIFIER_BIN} .
+ cp "${EXTRACTED_FILES_DIR}"/${BLKID_PRINT_BIN} .
fi
local UPGRADE_APPLY_PATH=${MNT_PNT}"/usr/bin/"${UPGRADE_APPLY}
local UPGRADE_APPLY_DELTAFS_PATH=${MNT_PNT}"/usr/bin/"${UPGRADE_APPLY_DELTAFS}
local DELTA_VERIFIER_PATH=${MNT_PNT}"/usr/bin/delta-verifier"
+ local BLKID_PRINT_PATH=${MNT_PNT}"/usr/bin/blkid-print"
echo "===== Start writing image versions ====="
local OLD_BUILD_STRING="0.0"
cp "${UPGRADE_APPLY_PATH}" ${DELTA_DIR}/
cp "${UPGRADE_APPLY_DELTAFS_PATH}" ${DELTA_DIR}/
cp "${DELTA_VERIFIER_PATH}" ${DELTA_DIR}/
+ cp "${BLKID_PRINT_PATH}" ${DELTA_DIR}/
fi
}
local UPGRADE_APPLY="upgrade-apply"
local UPGRADE_APPLY_DELTAFS="upgrade-apply-deltafs"
local DELTA_VERIFIER="delta-verifier"
+ local BLKID_PRINT="blkid-print"
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 UPGRADE_APPLY_PATH=${MNT_PNT_NEW}"/usr/bin/"${UPGRADE_APPLY}
local UPGRADE_APPLY_DELTAFS_PATH=${MNT_PNT_NEW}"/usr/bin/"${UPGRADE_APPLY_DELTAFS}
local DELTA_VERIFIER_PATH=${MNT_PNT_NEW}"/usr/bin/"${DELTA_VERIFIER}
+ local BLKID_PRINT_PATH=${MNT_PNT_NEW}"/usr/bin/"${BLKID_PRINT}
# build string building
echo "===== Start writing image versions ====="
cp "${UPGRADE_APPLY_PATH}" ./${UPGRADE_APPLY}
cp "${UPGRADE_APPLY_DELTAFS_PATH}" ./${UPGRADE_APPLY_DELTAFS}
cp "${DELTA_VERIFIER_PATH}" ./${DELTA_VERIFIER}
+ cp "${BLKID_PRINT_PATH}" ./${BLKID_PRINT}
fi
}