datetime: preset utc and timezone for live also

At the first boot, if there is no network, the wrong time is set,
since the timezone and utc settings occur late.
So at least with the default parameters there will be no problem.
This commit is contained in:
Anton Midyukov 2024-03-20 12:26:50 +07:00
parent 19b08c9b69
commit d0e214e8ad

View File

@ -1,10 +1,8 @@
use/datetime: ; @:
ifeq (,$(filter-out ve vm,$(IMAGE_CLASS)))
@$(call add_feature)
@$(call add,THE_PACKAGES,alterator-datetime-functions)
@$(call xport,TIME_UTC)
@$(call xport,TIME_ZONE)
endif
ifeq (distro,$(IMAGE_CLASS))
@$(call add,LIVE_PACKAGES,livecd-timezone)
@$(call add,STAGE2_BOOTARGS,utc=$$(TIME_UTC))