Skip to contentSkip to conversation

Patch review

PATCH In review Steve Sakoman 2 participants 9 messages Mar 5, 2021

lore
Share & tools
lore
#0 lore raw

cover Patch review

Please review this next set of patches for dunfell and have comments back by end of day Tuesday.

Passed a-full on autobuilder:

https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/1943

The following changes since commit 7972a9b48f61af7ac10d1881dcaaf9c5f48bfb87:

poky.conf: Drop OELAYOUT_ABI poking (2021-03-01 03:55:33 -1000)

are available in the Git repository at:

git://git.yoctoproject.org/meta-yocto contrib/dunfell-next
http://git.yoctoproject.org/cgit.cgi/meta-yocto/log/?h=contrib/dunfell-next

Anuj Mittal (2):
linux-yocto: update genericx86 to v5.4.87
linux-yocto: update genericx86* to v5.4.94

Naveen Saini (1):
linux-yocto: update genericx86* SRCREV for 5.4

Richard Purdie (1):
local.conf.sample.extended: Bring back into sync with OE-Core

Vivien Didelot (2):
local.conf.sample.extended: fix double 'of' typo local.conf.sample.extended: prefer INIT_MANAGER

 meta-poky/conf/local.conf.sample.extended     | 46 +++++++++++--------
 .../linux/linux-yocto_5.4.bbappend            |  8 ++--
 2 files changed, 31 insertions(+), 23 deletions(-)
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/6 local.conf.sample.extended: fix double 'of' typo

From: Vivien Didelot <[email protected]>

Remove the redundant 'of' word in the INITRAMFS_IMAGE comment.

(cherry picked from commit 200b05182c74f3f4f778907d5ee92831adb3d77e)
---
 meta-poky/conf/local.conf.sample.extended | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-poky/conf/local.conf.sample.extended +1 -1
index dc92a16..5e1edef 100644
@@ -328,7 +328,7 @@ DISTRO_FEATURES_remove = "x11"
 # The INITRAMFS_IMAGE image variable will cause an additional recipe to
 # be built as a dependency to the what ever rootfs recipe you might be
 # using such as core-image-sato.  The initramfs might be needed for
-# the initial boot of of the target system such as to load kernel
+# the initial boot of the target system such as to load kernel
 # modules prior to mounting the root file system.
 #
 # INITRAMFS_IMAGE_BUNDLE variable controls if the image recipe
Signature · 1 line
2.25.1
#2 lore raw

PATCH 2/6 local.conf.sample.extended: prefer INIT_MANAGER

In reply to Steve Sakoman

From: Vivien Didelot <[email protected]>

Since the INIT_MANAGER variable has been introduced, there is no need to append the distro features and set the init manager manually.

Replace the busybox/mdev and systemd examples with the 4 values currently supported for the INIT_MANAGER variable.

(cherry picked from commit 2433a0f78a7fdb8450ef9ec64fa044274ac7a9e1)
---
 meta-poky/conf/local.conf.sample.extended | 21 +++++----------------
 1 file changed, 5 insertions(+), 16 deletions(-)
meta-poky/conf/local.conf.sample.extended +5 -16
index 5e1edef..9e85736 100644
@@ -368,20 +368,9 @@ DISTRO_FEATURES_remove = "x11"
 #
 
 #
-# Use busybox/mdev for system initialization
-#
-#VIRTUAL-RUNTIME_dev_manager = "busybox-mdev"
-#VIRTUAL-RUNTIME_login_manager = "busybox"
-#VIRTUAL-RUNTIME_init_manager = "busybox"
-#VIRTUAL-RUNTIME_initscripts = "initscripts"
-#VIRTUAL-RUNTIME_keymaps = "keymaps"
-#DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
-
-#
-# Use systemd for system initialization
+# System initialization
 #
-#DISTRO_FEATURES_append = " systemd"
-#DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
-#VIRTUAL-RUNTIME_login_manager = "shadow-base"
-#VIRTUAL-RUNTIME_init_manager = "systemd"
-#VIRTUAL-RUNTIME_initscripts = "systemd-compat-units"
+#INIT_MANAGER = "none"
+#INIT_MANAGER = "sysvinit"
+#INIT_MANAGER = "systemd"
+#INIT_MANAGER = "mdev-busybox"
Signature · 1 line
2.25.1
#3 lore raw

PATCH 3/6 local.conf.sample.extended: Bring back into sync with OE-Core

In reply to Steve Sakoman

From: Richard Purdie <[email protected]>

(cherry picked from commit ea6e777cac72f22b56b2c8be0ba05ba164efe5de)
---
 meta-poky/conf/local.conf.sample.extended | 29 +++++++++++++++++++----
 1 file changed, 24 insertions(+), 5 deletions(-)
meta-poky/conf/local.conf.sample.extended +24 -5
index 9e85736..54ba7ce 100644
@@ -23,6 +23,13 @@
 #
 # For a quad-core machine, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would
 # be appropriate for example.
+#
+# Some users are behind firewalls or use servers where the number of parallel connections
+# is limited. In such cases you can limit the number of fetch tasks which run in parallel by
+# setting the option below, in this case limiting to a maximum of 4 fetch tasks in parallel:
+#
+#do_fetch[number_threads] = "4"
+#
 
 # If you want to get an image based on directfb without x11 alter
 # DISTRO_FEATURES:
@@ -87,10 +94,7 @@ DISTRO_FEATURES_remove = "x11"
 # PACKAGE_DEBUG_SPLIT_STYLE = 'debug-file-directory'
 
 # Uncomment these to build a package such that you can use gprof to profile it.
-# NOTE: This will only work with 'linux' targets, not
-# 'linux-uclibc', as uClibc doesn't provide the necessary
-# object files.  Also, don't build glibc itself with these
-# flags, or it'll fail to build.
+# NOTE: Don't build glibc itself with these flags, or it'll fail to build.
 #
 # PROFILE_OPTIMIZATION = "-pg"
 # SELECTED_OPTIMIZATION = "${PROFILE_OPTIMIZATION}"
@@ -191,7 +195,8 @@ DISTRO_FEATURES_remove = "x11"
 #                           commercial_lame \
 #                           commercial_libmad \
 #                           commercial_libomxil \
-#                           commercial_mpeg2dec"
+#                           commercial_mpeg2dec \
+#                           commercial_qmmp"
 
 
 #
@@ -374,3 +379,17 @@ DISTRO_FEATURES_remove = "x11"
 #INIT_MANAGER = "sysvinit"
 #INIT_MANAGER = "systemd"
 #INIT_MANAGER = "mdev-busybox"
+
+#
+# Use a full set of packages instead of busybox for base utils
+#
+#PREFERRED_PROVIDER_base-utils = "packagegroup-core-base-utils"
+#VIRTUAL-RUNTIME_base-utils = "packagegroup-core-base-utils"
+#VIRTUAL-RUNTIME_base-utils-hwclock = "util-linux-hwclock"
+#VIRTUAL-RUNTIME_base-utils-syslog = "syslog"
+
+#
+# Enable LTO system-wide
+#
+#require conf/distro/include/lto.inc
+#DISTRO_FEATURES_append = " lto"
Signature · 1 line
2.25.1
#4 lore raw

Re: [poky] [meta-yocto][dunfell 3/6] local.conf.sample.extended: Bring back into sync with OE-Core

check if all it recommends is available in dunfell, e.g. I am not sure about lto

Quoted 74 lines · Steve Sakoman

From: Richard Purdie <[email protected]>

(cherry picked from commit ea6e777cac72f22b56b2c8be0ba05ba164efe5de)
---
 meta-poky/conf/local.conf.sample.extended | 29 +++++++++++++++++++----
 1 file changed, 24 insertions(+), 5 deletions(-)
meta-poky/conf/local.conf.sample.extended +24 -6
index 9e85736..54ba7ce 100644
@@ -23,6 +23,13 @@
 #
 # For a quad-core machine, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would
 # be appropriate for example.
+#
+# Some users are behind firewalls or use servers where the number of parallel connections
+# is limited. In such cases you can limit the number of fetch tasks which run in parallel by
+# setting the option below, in this case limiting to a maximum of 4 fetch tasks in parallel:
+#
+#do_fetch[number_threads] = "4"
+#
 
 # If you want to get an image based on directfb without x11 alter
 # DISTRO_FEATURES:
@@ -87,10 +94,7 @@ DISTRO_FEATURES_remove = "x11"
 # PACKAGE_DEBUG_SPLIT_STYLE = 'debug-file-directory'
 
 # Uncomment these to build a package such that you can use gprof to profile it.
-# NOTE: This will only work with 'linux' targets, not
-# 'linux-uclibc', as uClibc doesn't provide the necessary
-# object files.  Also, don't build glibc itself with these
-# flags, or it'll fail to build.
+# NOTE: Don't build glibc itself with these flags, or it'll fail to build.
 #
 # PROFILE_OPTIMIZATION = "-pg"
 # SELECTED_OPTIMIZATION = "${PROFILE_OPTIMIZATION}"
@@ -191,7 +195,8 @@ DISTRO_FEATURES_remove = "x11"
 #                           commercial_lame \
 #                           commercial_libmad \
 #                           commercial_libomxil \
-#                           commercial_mpeg2dec"
+#                           commercial_mpeg2dec \
+#                           commercial_qmmp"
 
 
 #
@@ -374,3 +379,17 @@ DISTRO_FEATURES_remove = "x11"
 #INIT_MANAGER = "sysvinit"
 #INIT_MANAGER = "systemd"
 #INIT_MANAGER = "mdev-busybox"
+
+#
+# Use a full set of packages instead of busybox for base utils
+#
+#PREFERRED_PROVIDER_base-utils = "packagegroup-core-base-utils"
+#VIRTUAL-RUNTIME_base-utils = "packagegroup-core-base-utils"
+#VIRTUAL-RUNTIME_base-utils-hwclock = "util-linux-hwclock"
+#VIRTUAL-RUNTIME_base-utils-syslog = "syslog"
+
+#
+# Enable LTO system-wide
+#
+#require conf/distro/include/lto.inc
+#DISTRO_FEATURES_append = " lto"
--

2.25.1

#5 lore raw

Re: [poky] [meta-yocto][dunfell 3/6] local.conf.sample.extended: Bring back into sync with OE-Core

Quoted 2 lines · Khem Raj

check if all it recommends is available in dunfell, e.g. I am not sure about lto

Thanks for catching this Khem. The other two patches were the important ones, I'll drop this one from the pull request.

Steve

Quoted 75 lines · Steve Sakoman
Quoted 74 lines

From: Richard Purdie <[email protected]>

(cherry picked from commit ea6e777cac72f22b56b2c8be0ba05ba164efe5de)
---
 meta-poky/conf/local.conf.sample.extended | 29 +++++++++++++++++++----
 1 file changed, 24 insertions(+), 5 deletions(-)
meta-poky/conf/local.conf.sample.extended +24 -6
index 9e85736..54ba7ce 100644
@@ -23,6 +23,13 @@
 #
 # For a quad-core machine, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would
 # be appropriate for example.
+#
+# Some users are behind firewalls or use servers where the number of parallel connections
+# is limited. In such cases you can limit the number of fetch tasks which run in parallel by
+# setting the option below, in this case limiting to a maximum of 4 fetch tasks in parallel:
+#
+#do_fetch[number_threads] = "4"
+#
 
 # If you want to get an image based on directfb without x11 alter
 # DISTRO_FEATURES:
@@ -87,10 +94,7 @@ DISTRO_FEATURES_remove = "x11"
 # PACKAGE_DEBUG_SPLIT_STYLE = 'debug-file-directory'
 
 # Uncomment these to build a package such that you can use gprof to profile it.
-# NOTE: This will only work with 'linux' targets, not
-# 'linux-uclibc', as uClibc doesn't provide the necessary
-# object files.  Also, don't build glibc itself with these
-# flags, or it'll fail to build.
+# NOTE: Don't build glibc itself with these flags, or it'll fail to build.
 #
 # PROFILE_OPTIMIZATION = "-pg"
 # SELECTED_OPTIMIZATION = "${PROFILE_OPTIMIZATION}"
@@ -191,7 +195,8 @@ DISTRO_FEATURES_remove = "x11"
 #                           commercial_lame \
 #                           commercial_libmad \
 #                           commercial_libomxil \
-#                           commercial_mpeg2dec"
+#                           commercial_mpeg2dec \
+#                           commercial_qmmp"
 
 
 #
@@ -374,3 +379,17 @@ DISTRO_FEATURES_remove = "x11"
 #INIT_MANAGER = "sysvinit"
 #INIT_MANAGER = "systemd"
 #INIT_MANAGER = "mdev-busybox"
+
+#
+# Use a full set of packages instead of busybox for base utils
+#
+#PREFERRED_PROVIDER_base-utils = "packagegroup-core-base-utils"
+#VIRTUAL-RUNTIME_base-utils = "packagegroup-core-base-utils"
+#VIRTUAL-RUNTIME_base-utils-hwclock = "util-linux-hwclock"
+#VIRTUAL-RUNTIME_base-utils-syslog = "syslog"
+
+#
+# Enable LTO system-wide
+#
+#require conf/distro/include/lto.inc
+#DISTRO_FEATURES_append = " lto"
--

2.25.1

#6 lore raw

PATCH 4/6 linux-yocto: update genericx86* SRCREV for 5.4

In reply to Steve Sakoman

From: Naveen Saini <[email protected]>

Bump to kernel release v5.4.69

(cherry picked from commit 672c04902d733e150a5bbdbcb6cc9ce1cc5ee9a9)
---
 .../recipes-kernel/linux/linux-yocto_5.4.bbappend         | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
meta-yocto-bsp/recipes-kernel/linux/linux-yocto_5.4.bbappend +4 -4
index 9c37f91..4ee895d 100644
@@ -7,8 +7,8 @@ KMACHINE_genericx86 ?= "common-pc"
 KMACHINE_genericx86-64 ?= "common-pc-64"
 KMACHINE_beaglebone-yocto ?= "beaglebone"
 
-SRCREV_machine_genericx86 ?= "706efec4c1e270ec5dda92275898cd465dfdc7dd"
-SRCREV_machine_genericx86-64 ?= "706efec4c1e270ec5dda92275898cd465dfdc7dd"
+SRCREV_machine_genericx86 ?= "cfcdd63145c0d741e57ee3e3e58f794229c6c09c"
+SRCREV_machine_genericx86-64 ?= "cfcdd63145c0d741e57ee3e3e58f794229c6c09c"
 SRCREV_machine_edgerouter ?= "706efec4c1e270ec5dda92275898cd465dfdc7dd"
 SRCREV_machine_beaglebone-yocto ?= "706efec4c1e270ec5dda92275898cd465dfdc7dd"
 
@@ -17,7 +17,7 @@ COMPATIBLE_MACHINE_genericx86-64 = "genericx86-64"
 COMPATIBLE_MACHINE_edgerouter = "edgerouter"
 COMPATIBLE_MACHINE_beaglebone-yocto = "beaglebone-yocto"
 
-LINUX_VERSION_genericx86 = "5.4.58"
-LINUX_VERSION_genericx86-64 = "5.4.58"
+LINUX_VERSION_genericx86 = "5.4.69"
+LINUX_VERSION_genericx86-64 = "5.4.69"
 LINUX_VERSION_edgerouter = "5.4.58"
 LINUX_VERSION_beaglebone-yocto = "5.4.58"
Signature · 1 line
2.25.1
#7 lore raw

PATCH 5/6 linux-yocto: update genericx86 to v5.4.87

In reply to Steve Sakoman

From: Anuj Mittal <[email protected]>

(cherry picked from commit 5b5498295bfbe3ca7b2adf9e23228262c3e38f2d)
---
 .../recipes-kernel/linux/linux-yocto_5.4.bbappend         | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
meta-yocto-bsp/recipes-kernel/linux/linux-yocto_5.4.bbappend +4 -4
index 4ee895d..91500b8 100644
@@ -7,8 +7,8 @@ KMACHINE_genericx86 ?= "common-pc"
 KMACHINE_genericx86-64 ?= "common-pc-64"
 KMACHINE_beaglebone-yocto ?= "beaglebone"
 
-SRCREV_machine_genericx86 ?= "cfcdd63145c0d741e57ee3e3e58f794229c6c09c"
-SRCREV_machine_genericx86-64 ?= "cfcdd63145c0d741e57ee3e3e58f794229c6c09c"
+SRCREV_machine_genericx86 ?= "292d752af8e4015e40e7c523641983bac543e2b4"
+SRCREV_machine_genericx86-64 ?= "292d752af8e4015e40e7c523641983bac543e2b4"
 SRCREV_machine_edgerouter ?= "706efec4c1e270ec5dda92275898cd465dfdc7dd"
 SRCREV_machine_beaglebone-yocto ?= "706efec4c1e270ec5dda92275898cd465dfdc7dd"
 
@@ -17,7 +17,7 @@ COMPATIBLE_MACHINE_genericx86-64 = "genericx86-64"
 COMPATIBLE_MACHINE_edgerouter = "edgerouter"
 COMPATIBLE_MACHINE_beaglebone-yocto = "beaglebone-yocto"
 
-LINUX_VERSION_genericx86 = "5.4.69"
-LINUX_VERSION_genericx86-64 = "5.4.69"
+LINUX_VERSION_genericx86 = "5.4.87"
+LINUX_VERSION_genericx86-64 = "5.4.87"
 LINUX_VERSION_edgerouter = "5.4.58"
 LINUX_VERSION_beaglebone-yocto = "5.4.58"
Signature · 1 line
2.25.1
#8 lore raw

PATCH 6/6 linux-yocto: update genericx86* to v5.4.94

In reply to Steve Sakoman

From: Anuj Mittal <[email protected]>

(cherry picked from commit b05a89a04002ddce2d82a22874def608e7748871)
---
 .../recipes-kernel/linux/linux-yocto_5.4.bbappend         | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
meta-yocto-bsp/recipes-kernel/linux/linux-yocto_5.4.bbappend +4 -4
index 91500b8..35147d2 100644
@@ -7,8 +7,8 @@ KMACHINE_genericx86 ?= "common-pc"
 KMACHINE_genericx86-64 ?= "common-pc-64"
 KMACHINE_beaglebone-yocto ?= "beaglebone"
 
-SRCREV_machine_genericx86 ?= "292d752af8e4015e40e7c523641983bac543e2b4"
-SRCREV_machine_genericx86-64 ?= "292d752af8e4015e40e7c523641983bac543e2b4"
+SRCREV_machine_genericx86 ?= "31db2b47ac7d8508080fbb7344399b501216de66"
+SRCREV_machine_genericx86-64 ?= "31db2b47ac7d8508080fbb7344399b501216de66"
 SRCREV_machine_edgerouter ?= "706efec4c1e270ec5dda92275898cd465dfdc7dd"
 SRCREV_machine_beaglebone-yocto ?= "706efec4c1e270ec5dda92275898cd465dfdc7dd"
 
@@ -17,7 +17,7 @@ COMPATIBLE_MACHINE_genericx86-64 = "genericx86-64"
 COMPATIBLE_MACHINE_edgerouter = "edgerouter"
 COMPATIBLE_MACHINE_beaglebone-yocto = "beaglebone-yocto"
 
-LINUX_VERSION_genericx86 = "5.4.87"
-LINUX_VERSION_genericx86-64 = "5.4.87"
+LINUX_VERSION_genericx86 = "5.4.94"
+LINUX_VERSION_genericx86-64 = "5.4.94"
 LINUX_VERSION_edgerouter = "5.4.58"
 LINUX_VERSION_beaglebone-yocto = "5.4.58"
Signature · 1 line
2.25.1