diff options
author | 2020-04-24 21:28:48 +0900 | |
---|---|---|
committer | 2020-05-11 17:50:17 +0900 | |
commit | 96363b34f3e7b1b7c2d9cdff680e32ae87db5001 (patch) | |
tree | 37711aeb6d93bcc3f3cf7d95d5fb23988fca89aa /meta-rcar-gen3/docs/sample/conf/salvator-x/poky-gcc | |
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/sample/conf/salvator-x/poky-gcc')
5 files changed, 40 insertions, 0 deletions
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())}" |