diff options
author | Khang Nguyen <khang.nguyen.xw@renesas.com> | 2020-04-24 21:28:48 +0900 |
---|---|---|
committer | Khang Nguyen <khang.nguyen.xw@renesas.com> | 2020-05-11 17:50:17 +0900 |
commit | 96363b34f3e7b1b7c2d9cdff680e32ae87db5001 (patch) | |
tree | 37711aeb6d93bcc3f3cf7d95d5fb23988fca89aa /meta-rcar-gen3/docs | |
parent | ac08e0b298e45f254b976b678690732c3ebd1f32 (diff) |
rcar-gen3: conf: Update sample configurations
This modifies sample configurations for the following updates:
- Set fixed variables of Reproducible Builds [1] to keep the timestamp
changes according to build time, it is convenience to check logs during
the development phase.
- Remove ptest from DISTRO_FEATURES according to YP3.1 release
recommendation for Known Issues [2]. It is to save a significant
amount of build time.
[1]:
https://wiki.yoctoproject.org/wiki/Reproducible_Builds
[2]:
https://lists.yoctoproject.org/g/yocto-announce/message/186
Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com>
Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
Change-Id: If73df652f19ca33c073cf1a462d4fb84eefbc172
Diffstat (limited to 'meta-rcar-gen3/docs')
21 files changed, 168 insertions, 0 deletions
diff --git a/meta-rcar-gen3/docs/sample/conf/ebisu/poky-gcc/bsp/local-wayland.conf b/meta-rcar-gen3/docs/sample/conf/ebisu/poky-gcc/bsp/local-wayland.conf index 791eaa1..4edf363 100644 --- a/meta-rcar-gen3/docs/sample/conf/ebisu/poky-gcc/bsp/local-wayland.conf +++ b/meta-rcar-gen3/docs/sample/conf/ebisu/poky-gcc/bsp/local-wayland.conf @@ -295,3 +295,11 @@ LICENSE_FLAGS_WHITELIST = "commercial" # Configuration for USB 3.0 MACHINE_FEATURES_append = " usb3" + +# Remove ptest to reduce the build time +DISTRO_FEATURES_remove = "ptest" + +# Reproducible Builds +# Set Timestamps at the build start +export SOURCE_DATE_EPOCH = "${@time.strftime('%s', time.localtime())}" +REPRODUCIBLE_TIMESTAMP_ROOTFS = "${@time.strftime('%s', time.localtime())}" diff --git a/meta-rcar-gen3/docs/sample/conf/ebisu/poky-gcc/bsp/local.conf b/meta-rcar-gen3/docs/sample/conf/ebisu/poky-gcc/bsp/local.conf index 91743bc..314b215 100644 --- a/meta-rcar-gen3/docs/sample/conf/ebisu/poky-gcc/bsp/local.conf +++ b/meta-rcar-gen3/docs/sample/conf/ebisu/poky-gcc/bsp/local.conf @@ -288,3 +288,11 @@ DISTRO_FEATURES_append = " pam" # Configuration for USB 3.0 MACHINE_FEATURES_append = " usb3" + +# Remove ptest to reduce the build time +DISTRO_FEATURES_remove = "ptest" + +# Reproducible Builds +# Set Timestamps at the build start +export SOURCE_DATE_EPOCH = "${@time.strftime('%s', time.localtime())}" +REPRODUCIBLE_TIMESTAMP_ROOTFS = "${@time.strftime('%s', time.localtime())}" diff --git a/meta-rcar-gen3/docs/sample/conf/ebisu/poky-gcc/gfx-only/local-wayland.conf b/meta-rcar-gen3/docs/sample/conf/ebisu/poky-gcc/gfx-only/local-wayland.conf index ebd8648..9dfc9cb 100644 --- a/meta-rcar-gen3/docs/sample/conf/ebisu/poky-gcc/gfx-only/local-wayland.conf +++ b/meta-rcar-gen3/docs/sample/conf/ebisu/poky-gcc/gfx-only/local-wayland.conf @@ -301,3 +301,11 @@ LICENSE_FLAGS_WHITELIST = "commercial" # Configuration for USB 3.0 MACHINE_FEATURES_append = " usb3" + +# Remove ptest to reduce the build time +DISTRO_FEATURES_remove = "ptest" + +# Reproducible Builds +# Set Timestamps at the build start +export SOURCE_DATE_EPOCH = "${@time.strftime('%s', time.localtime())}" +REPRODUCIBLE_TIMESTAMP_ROOTFS = "${@time.strftime('%s', time.localtime())}" diff --git a/meta-rcar-gen3/docs/sample/conf/ebisu/poky-gcc/mmp/local-wayland.conf b/meta-rcar-gen3/docs/sample/conf/ebisu/poky-gcc/mmp/local-wayland.conf index 6c6cd3a..61f03a8 100644 --- a/meta-rcar-gen3/docs/sample/conf/ebisu/poky-gcc/mmp/local-wayland.conf +++ b/meta-rcar-gen3/docs/sample/conf/ebisu/poky-gcc/mmp/local-wayland.conf @@ -407,3 +407,11 @@ DISTRO_FEATURES_append = " aaclcdec_mdw" # Configuration for USB 3.0 MACHINE_FEATURES_append = " usb3" + +# Remove ptest to reduce the build time +DISTRO_FEATURES_remove = "ptest" + +# Reproducible Builds +# Set Timestamps at the build start +export SOURCE_DATE_EPOCH = "${@time.strftime('%s', time.localtime())}" +REPRODUCIBLE_TIMESTAMP_ROOTFS = "${@time.strftime('%s', time.localtime())}" diff --git a/meta-rcar-gen3/docs/sample/conf/h3ulcb/poky-gcc/bsp/local-wayland.conf b/meta-rcar-gen3/docs/sample/conf/h3ulcb/poky-gcc/bsp/local-wayland.conf index 90b0003..7885e6f 100644 --- a/meta-rcar-gen3/docs/sample/conf/h3ulcb/poky-gcc/bsp/local-wayland.conf +++ b/meta-rcar-gen3/docs/sample/conf/h3ulcb/poky-gcc/bsp/local-wayland.conf @@ -295,3 +295,11 @@ LICENSE_FLAGS_WHITELIST = "commercial" # Add Capacity Aware migration Strategy (CAS) MACHINE_FEATURES_append = " cas" + +# Remove ptest to reduce the build time +DISTRO_FEATURES_remove = "ptest" + +# Reproducible Builds +# Set Timestamps at the build start +export SOURCE_DATE_EPOCH = "${@time.strftime('%s', time.localtime())}" +REPRODUCIBLE_TIMESTAMP_ROOTFS = "${@time.strftime('%s', time.localtime())}" diff --git a/meta-rcar-gen3/docs/sample/conf/h3ulcb/poky-gcc/bsp/local.conf b/meta-rcar-gen3/docs/sample/conf/h3ulcb/poky-gcc/bsp/local.conf index 52571f3..7ebd5c9 100644 --- a/meta-rcar-gen3/docs/sample/conf/h3ulcb/poky-gcc/bsp/local.conf +++ b/meta-rcar-gen3/docs/sample/conf/h3ulcb/poky-gcc/bsp/local.conf @@ -288,3 +288,11 @@ DISTRO_FEATURES_append = " pam" # Add Capacity Aware migration Strategy (CAS) MACHINE_FEATURES_append = " cas" + +# Remove ptest to reduce the build time +DISTRO_FEATURES_remove = "ptest" + +# Reproducible Builds +# Set Timestamps at the build start +export SOURCE_DATE_EPOCH = "${@time.strftime('%s', time.localtime())}" +REPRODUCIBLE_TIMESTAMP_ROOTFS = "${@time.strftime('%s', time.localtime())}" diff --git a/meta-rcar-gen3/docs/sample/conf/h3ulcb/poky-gcc/gfx-only/local-wayland.conf b/meta-rcar-gen3/docs/sample/conf/h3ulcb/poky-gcc/gfx-only/local-wayland.conf index 0a34fbc..18f3e4e 100644 --- a/meta-rcar-gen3/docs/sample/conf/h3ulcb/poky-gcc/gfx-only/local-wayland.conf +++ b/meta-rcar-gen3/docs/sample/conf/h3ulcb/poky-gcc/gfx-only/local-wayland.conf @@ -301,3 +301,11 @@ LICENSE_FLAGS_WHITELIST = "commercial" # Add Capacity Aware migration Strategy (CAS) MACHINE_FEATURES_append = " cas" + +# Remove ptest to reduce the build time +DISTRO_FEATURES_remove = "ptest" + +# Reproducible Builds +# Set Timestamps at the build start +export SOURCE_DATE_EPOCH = "${@time.strftime('%s', time.localtime())}" +REPRODUCIBLE_TIMESTAMP_ROOTFS = "${@time.strftime('%s', time.localtime())}" diff --git a/meta-rcar-gen3/docs/sample/conf/h3ulcb/poky-gcc/mmp/local-wayland.conf b/meta-rcar-gen3/docs/sample/conf/h3ulcb/poky-gcc/mmp/local-wayland.conf index e335d2b..cd6cca9 100644 --- a/meta-rcar-gen3/docs/sample/conf/h3ulcb/poky-gcc/mmp/local-wayland.conf +++ b/meta-rcar-gen3/docs/sample/conf/h3ulcb/poky-gcc/mmp/local-wayland.conf @@ -407,3 +407,11 @@ DISTRO_FEATURES_append = " aaclcdec_mdw" # Add Capacity Aware migration Strategy (CAS) MACHINE_FEATURES_append = " cas" + +# Remove ptest to reduce the build time +DISTRO_FEATURES_remove = "ptest" + +# Reproducible Builds +# Set Timestamps at the build start +export SOURCE_DATE_EPOCH = "${@time.strftime('%s', time.localtime())}" +REPRODUCIBLE_TIMESTAMP_ROOTFS = "${@time.strftime('%s', time.localtime())}" diff --git a/meta-rcar-gen3/docs/sample/conf/m3nulcb/poky-gcc/bsp/local-wayland.conf b/meta-rcar-gen3/docs/sample/conf/m3nulcb/poky-gcc/bsp/local-wayland.conf index af1fd07..01fdc94 100644 --- a/meta-rcar-gen3/docs/sample/conf/m3nulcb/poky-gcc/bsp/local-wayland.conf +++ b/meta-rcar-gen3/docs/sample/conf/m3nulcb/poky-gcc/bsp/local-wayland.conf @@ -292,3 +292,11 @@ LICENSE_FLAGS_WHITELIST = "commercial" # Linux ICCOM driver (RCG3ZLIDL4101ZNO) # Linux ICCOM library (RCG3ZLILL4101ZNO) #DISTRO_FEATURES_append = " iccom" + +# Remove ptest to reduce the build time +DISTRO_FEATURES_remove = "ptest" + +# Reproducible Builds +# Set Timestamps at the build start +export SOURCE_DATE_EPOCH = "${@time.strftime('%s', time.localtime())}" +REPRODUCIBLE_TIMESTAMP_ROOTFS = "${@time.strftime('%s', time.localtime())}" diff --git a/meta-rcar-gen3/docs/sample/conf/m3nulcb/poky-gcc/bsp/local.conf b/meta-rcar-gen3/docs/sample/conf/m3nulcb/poky-gcc/bsp/local.conf index c7ff67d..74ef129 100644 --- a/meta-rcar-gen3/docs/sample/conf/m3nulcb/poky-gcc/bsp/local.conf +++ b/meta-rcar-gen3/docs/sample/conf/m3nulcb/poky-gcc/bsp/local.conf @@ -285,3 +285,11 @@ BBMASK .= "|kernel-module-uvcs-drv|omx-user-module" # Enable pam distro feature DISTRO_FEATURES_append = " pam" + +# Remove ptest to reduce the build time +DISTRO_FEATURES_remove = "ptest" + +# Reproducible Builds +# Set Timestamps at the build start +export SOURCE_DATE_EPOCH = "${@time.strftime('%s', time.localtime())}" +REPRODUCIBLE_TIMESTAMP_ROOTFS = "${@time.strftime('%s', time.localtime())}" diff --git a/meta-rcar-gen3/docs/sample/conf/m3nulcb/poky-gcc/gfx-only/local-wayland.conf b/meta-rcar-gen3/docs/sample/conf/m3nulcb/poky-gcc/gfx-only/local-wayland.conf index 1714a69..b54fb86 100644 --- a/meta-rcar-gen3/docs/sample/conf/m3nulcb/poky-gcc/gfx-only/local-wayland.conf +++ b/meta-rcar-gen3/docs/sample/conf/m3nulcb/poky-gcc/gfx-only/local-wayland.conf @@ -298,3 +298,11 @@ LICENSE_FLAGS_WHITELIST = "commercial" # Linux ICCOM driver (RCG3ZLIDL4101ZNO) # Linux ICCOM library (RCG3ZLILL4101ZNO) #DISTRO_FEATURES_append = " iccom" + +# Remove ptest to reduce the build time +DISTRO_FEATURES_remove = "ptest" + +# Reproducible Builds +# Set Timestamps at the build start +export SOURCE_DATE_EPOCH = "${@time.strftime('%s', time.localtime())}" +REPRODUCIBLE_TIMESTAMP_ROOTFS = "${@time.strftime('%s', time.localtime())}" diff --git a/meta-rcar-gen3/docs/sample/conf/m3nulcb/poky-gcc/mmp/local-wayland.conf b/meta-rcar-gen3/docs/sample/conf/m3nulcb/poky-gcc/mmp/local-wayland.conf index f0ac326..238b919 100644 --- a/meta-rcar-gen3/docs/sample/conf/m3nulcb/poky-gcc/mmp/local-wayland.conf +++ b/meta-rcar-gen3/docs/sample/conf/m3nulcb/poky-gcc/mmp/local-wayland.conf @@ -404,3 +404,11 @@ DISTRO_FEATURES_append = " aaclcdec_mdw" # Configuration for ivi-shell and ivi-extension #DISTRO_FEATURES_append = " ivi-shell" + +# Remove ptest to reduce the build time +DISTRO_FEATURES_remove = "ptest" + +# Reproducible Builds +# Set Timestamps at the build start +export SOURCE_DATE_EPOCH = "${@time.strftime('%s', time.localtime())}" +REPRODUCIBLE_TIMESTAMP_ROOTFS = "${@time.strftime('%s', time.localtime())}" diff --git a/meta-rcar-gen3/docs/sample/conf/m3ulcb/poky-gcc/bsp/local-wayland.conf b/meta-rcar-gen3/docs/sample/conf/m3ulcb/poky-gcc/bsp/local-wayland.conf index aa70809..2009fcb 100644 --- a/meta-rcar-gen3/docs/sample/conf/m3ulcb/poky-gcc/bsp/local-wayland.conf +++ b/meta-rcar-gen3/docs/sample/conf/m3ulcb/poky-gcc/bsp/local-wayland.conf @@ -295,3 +295,11 @@ LICENSE_FLAGS_WHITELIST = "commercial" # Add Capacity Aware migration Strategy (CAS) MACHINE_FEATURES_append = " cas" + +# Remove ptest to reduce the build time +DISTRO_FEATURES_remove = "ptest" + +# Reproducible Builds +# Set Timestamps at the build start +export SOURCE_DATE_EPOCH = "${@time.strftime('%s', time.localtime())}" +REPRODUCIBLE_TIMESTAMP_ROOTFS = "${@time.strftime('%s', time.localtime())}" diff --git a/meta-rcar-gen3/docs/sample/conf/m3ulcb/poky-gcc/bsp/local.conf b/meta-rcar-gen3/docs/sample/conf/m3ulcb/poky-gcc/bsp/local.conf index d90119a..01ba6b1 100644 --- a/meta-rcar-gen3/docs/sample/conf/m3ulcb/poky-gcc/bsp/local.conf +++ b/meta-rcar-gen3/docs/sample/conf/m3ulcb/poky-gcc/bsp/local.conf @@ -288,3 +288,11 @@ DISTRO_FEATURES_append = " pam" # Add Capacity Aware migration Strategy (CAS) MACHINE_FEATURES_append = " cas" + +# Remove ptest to reduce the build time +DISTRO_FEATURES_remove = "ptest" + +# Reproducible Builds +# Set Timestamps at the build start +export SOURCE_DATE_EPOCH = "${@time.strftime('%s', time.localtime())}" +REPRODUCIBLE_TIMESTAMP_ROOTFS = "${@time.strftime('%s', time.localtime())}" diff --git a/meta-rcar-gen3/docs/sample/conf/m3ulcb/poky-gcc/gfx-only/local-wayland.conf b/meta-rcar-gen3/docs/sample/conf/m3ulcb/poky-gcc/gfx-only/local-wayland.conf index 2d8e9ef..7927e24 100644 --- a/meta-rcar-gen3/docs/sample/conf/m3ulcb/poky-gcc/gfx-only/local-wayland.conf +++ b/meta-rcar-gen3/docs/sample/conf/m3ulcb/poky-gcc/gfx-only/local-wayland.conf @@ -301,3 +301,11 @@ LICENSE_FLAGS_WHITELIST = "commercial" # Add Capacity Aware migration Strategy (CAS) MACHINE_FEATURES_append = " cas" + +# Remove ptest to reduce the build time +DISTRO_FEATURES_remove = "ptest" + +# Reproducible Builds +# Set Timestamps at the build start +export SOURCE_DATE_EPOCH = "${@time.strftime('%s', time.localtime())}" +REPRODUCIBLE_TIMESTAMP_ROOTFS = "${@time.strftime('%s', time.localtime())}" diff --git a/meta-rcar-gen3/docs/sample/conf/m3ulcb/poky-gcc/mmp/local-wayland.conf b/meta-rcar-gen3/docs/sample/conf/m3ulcb/poky-gcc/mmp/local-wayland.conf index 1520678..549c4bb 100644 --- a/meta-rcar-gen3/docs/sample/conf/m3ulcb/poky-gcc/mmp/local-wayland.conf +++ b/meta-rcar-gen3/docs/sample/conf/m3ulcb/poky-gcc/mmp/local-wayland.conf @@ -407,3 +407,11 @@ DISTRO_FEATURES_append = " aaclcdec_mdw" # Add Capacity Aware migration Strategy (CAS) MACHINE_FEATURES_append = " cas" + +# Remove ptest to reduce the build time +DISTRO_FEATURES_remove = "ptest" + +# Reproducible Builds +# Set Timestamps at the build start +export SOURCE_DATE_EPOCH = "${@time.strftime('%s', time.localtime())}" +REPRODUCIBLE_TIMESTAMP_ROOTFS = "${@time.strftime('%s', time.localtime())}" diff --git a/meta-rcar-gen3/docs/sample/conf/salvator-x/poky-gcc/bsp/local-ltp.conf b/meta-rcar-gen3/docs/sample/conf/salvator-x/poky-gcc/bsp/local-ltp.conf index 7ebefe7..c56623b 100644 --- a/meta-rcar-gen3/docs/sample/conf/salvator-x/poky-gcc/bsp/local-ltp.conf +++ b/meta-rcar-gen3/docs/sample/conf/salvator-x/poky-gcc/bsp/local-ltp.conf @@ -299,3 +299,11 @@ MACHINE_FEATURES_append = " cas" DISTRO_FEATURES_append = " pam" CORE_IMAGE_EXTRA_INSTALL_append = " ltp" IMAGE_INSTALL_append = " binutils elfutils file quota tar bzip2 sudo shadow glibc-utils net-tools procps cdrkit kernel-modules" + +# Remove ptest to reduce the build time +DISTRO_FEATURES_remove = "ptest" + +# Reproducible Builds +# Set Timestamps at the build start +export SOURCE_DATE_EPOCH = "${@time.strftime('%s', time.localtime())}" +REPRODUCIBLE_TIMESTAMP_ROOTFS = "${@time.strftime('%s', time.localtime())}" diff --git a/meta-rcar-gen3/docs/sample/conf/salvator-x/poky-gcc/bsp/local-wayland.conf b/meta-rcar-gen3/docs/sample/conf/salvator-x/poky-gcc/bsp/local-wayland.conf index 6327a90..80d6cdd 100644 --- a/meta-rcar-gen3/docs/sample/conf/salvator-x/poky-gcc/bsp/local-wayland.conf +++ b/meta-rcar-gen3/docs/sample/conf/salvator-x/poky-gcc/bsp/local-wayland.conf @@ -304,3 +304,11 @@ LICENSE_FLAGS_WHITELIST = "commercial" # Add Capacity Aware migration Strategy (CAS) MACHINE_FEATURES_append = " cas" + +# Remove ptest to reduce the build time +DISTRO_FEATURES_remove = "ptest" + +# Reproducible Builds +# Set Timestamps at the build start +export SOURCE_DATE_EPOCH = "${@time.strftime('%s', time.localtime())}" +REPRODUCIBLE_TIMESTAMP_ROOTFS = "${@time.strftime('%s', time.localtime())}" diff --git a/meta-rcar-gen3/docs/sample/conf/salvator-x/poky-gcc/bsp/local.conf b/meta-rcar-gen3/docs/sample/conf/salvator-x/poky-gcc/bsp/local.conf index 0d1eb41..f57972a 100644 --- a/meta-rcar-gen3/docs/sample/conf/salvator-x/poky-gcc/bsp/local.conf +++ b/meta-rcar-gen3/docs/sample/conf/salvator-x/poky-gcc/bsp/local.conf @@ -297,3 +297,11 @@ DISTRO_FEATURES_append = " pam" # Add Capacity Aware migration Strategy (CAS) MACHINE_FEATURES_append = " cas" + +# Remove ptest to reduce the build time +DISTRO_FEATURES_remove = "ptest" + +# Reproducible Builds +# Set Timestamps at the build start +export SOURCE_DATE_EPOCH = "${@time.strftime('%s', time.localtime())}" +REPRODUCIBLE_TIMESTAMP_ROOTFS = "${@time.strftime('%s', time.localtime())}" diff --git a/meta-rcar-gen3/docs/sample/conf/salvator-x/poky-gcc/gfx-only/local-wayland.conf b/meta-rcar-gen3/docs/sample/conf/salvator-x/poky-gcc/gfx-only/local-wayland.conf index c1147a1..23876c2 100644 --- a/meta-rcar-gen3/docs/sample/conf/salvator-x/poky-gcc/gfx-only/local-wayland.conf +++ b/meta-rcar-gen3/docs/sample/conf/salvator-x/poky-gcc/gfx-only/local-wayland.conf @@ -310,3 +310,11 @@ LICENSE_FLAGS_WHITELIST = "commercial" # Add Capacity Aware migration Strategy (CAS) MACHINE_FEATURES_append = " cas" + +# Remove ptest to reduce the build time +DISTRO_FEATURES_remove = "ptest" + +# Reproducible Builds +# Set Timestamps at the build start +export SOURCE_DATE_EPOCH = "${@time.strftime('%s', time.localtime())}" +REPRODUCIBLE_TIMESTAMP_ROOTFS = "${@time.strftime('%s', time.localtime())}" diff --git a/meta-rcar-gen3/docs/sample/conf/salvator-x/poky-gcc/mmp/local-wayland.conf b/meta-rcar-gen3/docs/sample/conf/salvator-x/poky-gcc/mmp/local-wayland.conf index 222409f..5530142 100644 --- a/meta-rcar-gen3/docs/sample/conf/salvator-x/poky-gcc/mmp/local-wayland.conf +++ b/meta-rcar-gen3/docs/sample/conf/salvator-x/poky-gcc/mmp/local-wayland.conf @@ -419,3 +419,11 @@ DISTRO_FEATURES_append = " aaclcdec_mdw" # Add Capacity Aware migration Strategy (CAS) MACHINE_FEATURES_append = " cas" + +# Remove ptest to reduce the build time +DISTRO_FEATURES_remove = "ptest" + +# Reproducible Builds +# Set Timestamps at the build start +export SOURCE_DATE_EPOCH = "${@time.strftime('%s', time.localtime())}" +REPRODUCIBLE_TIMESTAMP_ROOTFS = "${@time.strftime('%s', time.localtime())}" |