d0e214e8ad
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.
11 lines
321 B
Makefile
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
|