mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
system: make the zoneinfo list a system option
[Peter: move legacy options under 2014.05] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
a518381ed8
commit
d6a37917dd
@ -101,6 +101,21 @@ endif
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
comment "Legacy options removed in 2014.05"
|
comment "Legacy options removed in 2014.05"
|
||||||
|
|
||||||
|
config BR2_TARGET_TZ_ZONELIST
|
||||||
|
default BR2_PACKAGE_TZDATA_ZONELIST if BR2_PACKAGE_TZDATA_ZONELIST != ""
|
||||||
|
|
||||||
|
config BR2_PACKAGE_TZDATA_ZONELIST
|
||||||
|
string "tzdata: the timezone list option has been renamed"
|
||||||
|
help
|
||||||
|
The option BR2_PACKAGE_TZDATA_ZONELIST has been renamed to
|
||||||
|
BR2_TARGET_TZ_ZONELIST, and moved to the "System configuration"
|
||||||
|
menu. You'll need to select BR2_TARGET_TZ_INFO.
|
||||||
|
|
||||||
|
config BR2_PACKAGE_TZDATA_ZONELIST_WRAP
|
||||||
|
bool
|
||||||
|
default y if BR2_PACKAGE_TZDATA_ZONELIST != ""
|
||||||
|
select BR2_LEGACY
|
||||||
|
|
||||||
config BR2_PACKAGE_LUA_INTERPRETER_EDITING_NONE
|
config BR2_PACKAGE_LUA_INTERPRETER_EDITING_NONE
|
||||||
bool "Lua command-line editing none has been renamed"
|
bool "Lua command-line editing none has been renamed"
|
||||||
select BR2_LEGACY
|
select BR2_LEGACY
|
||||||
|
@ -1,26 +1,9 @@
|
|||||||
comment "tzdata needs an (e)glibc toolchain"
|
# This package is not meant to be user-visible.
|
||||||
depends on !BR2_TOOLCHAIN_USES_GLIBC
|
# It gets selected by BR2_TARGET_TZ in system/Config.in
|
||||||
|
|
||||||
config BR2_PACKAGE_TZDATA
|
config BR2_PACKAGE_TZDATA
|
||||||
bool "tzdata"
|
bool
|
||||||
depends on BR2_TOOLCHAIN_USES_GLIBC
|
|
||||||
help
|
help
|
||||||
Time zone database
|
Time zone database
|
||||||
|
|
||||||
http://www.iana.org/time-zones/repository/tz-link.html
|
http://www.iana.org/time-zones/repository/tz-link.html
|
||||||
|
|
||||||
if BR2_PACKAGE_TZDATA
|
|
||||||
|
|
||||||
config BR2_PACKAGE_TZDATA_ZONELIST
|
|
||||||
string "Time zone list"
|
|
||||||
default "default"
|
|
||||||
help
|
|
||||||
Space-separated list of time zones to compile.
|
|
||||||
|
|
||||||
The value "default" includes all commonly used time zones. Note
|
|
||||||
that this set consumes around 5.5M.
|
|
||||||
|
|
||||||
The full list is the list of files in the time zone database source,
|
|
||||||
not including the build and .tab files.
|
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -13,10 +13,10 @@ TZDATA_LICENSE = Public domain
|
|||||||
TZDATA_DEFAULT_ZONELIST = africa antarctica asia australasia backward etcetera \
|
TZDATA_DEFAULT_ZONELIST = africa antarctica asia australasia backward etcetera \
|
||||||
europe factory northamerica pacificnew southamerica
|
europe factory northamerica pacificnew southamerica
|
||||||
|
|
||||||
ifeq ($(call qstrip,$(BR2_PACKAGE_TZDATA_ZONELIST)),default)
|
ifeq ($(call qstrip,$(BR2_TARGET_TZ_ZONELIST)),default)
|
||||||
TZDATA_ZONELIST = $(TZDATA_DEFAULT_ZONELIST)
|
TZDATA_ZONELIST = $(TZDATA_DEFAULT_ZONELIST)
|
||||||
else
|
else
|
||||||
TZDATA_ZONELIST = $(call qstrip,$(BR2_PACKAGE_TZDATA_ZONELIST))
|
TZDATA_ZONELIST = $(call qstrip,$(BR2_TARGET_TZ_ZONELIST))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Don't strip any path components during extraction.
|
# Don't strip any path components during extraction.
|
||||||
|
@ -267,6 +267,29 @@ config BR2_TARGET_GENERIC_GETTY_OPTIONS
|
|||||||
endmenu
|
endmenu
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
config BR2_TARGET_TZ_INFO
|
||||||
|
bool "Install timezone info"
|
||||||
|
depends on BR2_TOOLCHAIN_USES_GLIBC
|
||||||
|
select BR2_PACKAGE_TZDATA
|
||||||
|
help
|
||||||
|
Say 'y' here to install timezone info.
|
||||||
|
|
||||||
|
if BR2_TARGET_TZ_INFO
|
||||||
|
|
||||||
|
config BR2_TARGET_TZ_ZONELIST
|
||||||
|
string "timezone list"
|
||||||
|
default "default"
|
||||||
|
help
|
||||||
|
Space-separated list of time zones to compile.
|
||||||
|
|
||||||
|
The value "default" includes all commonly used time zones. Note
|
||||||
|
that this set consumes around 5.5M.
|
||||||
|
|
||||||
|
The full list is the list of files in the time zone database source,
|
||||||
|
not including the build and .tab files.
|
||||||
|
|
||||||
|
endif # BR2_TARGET_TZ_INFO
|
||||||
|
|
||||||
config BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW
|
config BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW
|
||||||
bool "remount root filesystem read-write during boot"
|
bool "remount root filesystem read-write during boot"
|
||||||
default y
|
default y
|
||||||
|
Loading…
x
Reference in New Issue
Block a user