Commit d0e214e8 authored by Anton Midyukov's avatar Anton Midyukov

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.
parent 19b08c9b
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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment