boot: rewrite for non rtc compatible systems

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-09-10 20:00:32 +02:00
parent 7e595e828c
commit 63d3816464

View File

@ -47,7 +47,7 @@ if [ "${ZIMAGE_HASH_CUR}" != "${ZIMAGE_HASH}" ] || [ "${RAMDISK_HASH_CUR}" != "$
fi
# Clock Setting
hwclock --hctosys > /dev/null 2>&1
hwclock --hctosys > /dev/null 2>&1 || true
# Read model/system variables
PLATFORM="$(readConfigKey "platform" "${USER_CONFIG_FILE}")"