Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
mkimage-profiles
Commits
76e69c4d
Commit
76e69c4d
authored
Dec 24, 2023
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
config.mk
features.in/datetime/config.mk
+8
-1
No files found.
features.in/datetime/config.mk
View file @
76e69c4d
use/datetime:
use/datetime: ; @:
ifeq (,$(filter-out ve vm,$(IMAGE_CLASS)))
@$(call add_feature)
@$(call add_feature)
@$(call add,THE_PACKAGES,alterator-datetime-functions)
@$(call add,THE_PACKAGES,alterator-datetime-functions)
@$(call xport,TIME_UTC)
@$(call xport,TIME_UTC)
@$(call xport,TIME_ZONE)
@$(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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment