Commit 76e69c4d authored by Anton Midyukov's avatar Anton Midyukov

datetime: set TIME_ZONE, TIME_UTC via kernel cmdline for distro images

Without an explicit definition of tz in the kernel cmdline, the time zone will be overridden based on other criteria.
parent 4500df77
use/datetime:
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))
@$(call add,STAGE2_BOOTARGS,tz=$$(TIME_ZONE))
endif
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