mkimage-profiles/features.in/datetime/config.mk
Anton Midyukov d0e214e8ad 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.
2024-03-20 12:26:50 +07:00

11 lines
321 B
Makefile

use/datetime: ; @:
@$(call add_feature)
@$(call add,THE_PACKAGES,alterator-datetime-functions)
@$(call xport,TIME_UTC)
@$(call xport,TIME_ZONE)
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