]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
recipes, classes: Avoid adding extra whitespace to PACKAGESPLITFUNCS
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Thu, 5 Jan 2023 21:05:46 +0000 (22:05 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 12 Jan 2023 23:07:39 +0000 (23:07 +0000)
This is a follow-up to commit 846ff49465 to remove the extra whitespace
that is no longer needed after converting :append and :prepend to += and
=+.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/kernel-module-split.bbclass
meta/classes-recipe/kernel.bbclass
meta/classes-recipe/systemd.bbclass
meta/classes-recipe/update-alternatives.bbclass
meta/classes-recipe/update-rc.d.bbclass
meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb
meta/recipes-devtools/perl/perl_5.36.0.bb
meta/recipes-graphics/mesa/mesa.inc
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-license.inc
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc
meta/recipes-support/libevent/libevent_2.1.12.bb

index 494371748781dd61acf3984e59856640d498a1b9..50882c31a703702aaf35744bcb56970d5a65d599 100644 (file)
@@ -35,7 +35,7 @@ do_install:append() {
 }
 
 KERNEL_SPLIT_MODULES ?= "1"
-PACKAGESPLITFUNCS =+ "split_kernel_module_packages "
+PACKAGESPLITFUNCS =+ "split_kernel_module_packages"
 
 KERNEL_MODULES_META_PACKAGE ?= "${@ d.getVar("KERNEL_PACKAGE_NAME") or "kernel" }-modules"
 
index c36632b0a7e5f306220e30d1fdbc9488b0cca29a..bd3b6471c6bc8ee923455d7a5f4dc49a67c78765 100644 (file)
@@ -705,7 +705,7 @@ pkg_postinst:${KERNEL_PACKAGE_NAME}-base () {
        fi
 }
 
-PACKAGESPLITFUNCS =+ "split_kernel_packages "
+PACKAGESPLITFUNCS =+ "split_kernel_packages"
 
 python split_kernel_packages () {
     do_split_packages(d, root='${nonarch_base_libdir}/firmware', file_regex=r'^(.*)\.(bin|fw|cis|csp|dsp)$', output_pattern='${KERNEL_PACKAGE_NAME}-firmware-%s', description='Firmware for %s', recursive=True, extra_depends='')
index ae98043d299f298a62411567930a8112c4d8bf8d..f9c92e6c2a33d06c5a9f33f7f9b329a9788e41cc 100644 (file)
@@ -205,7 +205,7 @@ python systemd_populate_packages() {
         systemd_check_services()
 }
 
-PACKAGESPLITFUNCS =+ "systemd_populate_packages "
+PACKAGESPLITFUNCS =+ "systemd_populate_packages"
 
 python rm_systemd_unitdir (){
     import shutil
index ec81763c8972e9b091f9495cab825e6bc4c4f7ce..55e0b954d62e9c51fe2b82b44fc1a61dbb47fc0d 100644 (file)
@@ -265,7 +265,7 @@ def update_alternatives_alt_targets(d, pkg):
 
     return updates
 
-PACKAGESPLITFUNCS =+ "populate_packages_updatealternatives "
+PACKAGESPLITFUNCS =+ "populate_packages_updatealternatives"
 
 python populate_packages_updatealternatives () {
     if not update_alternatives_enabled(d):
index a61d2c62ab4c74247f22547751a3e1427556f53f..a19e7047411d7c4e259095e21d62fba962dd965b 100644 (file)
@@ -68,8 +68,8 @@ python __anonymous() {
     update_rc_after_parse(d)
 }
 
-PACKAGESPLITFUNCS =+ "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'populate_packages_updatercd ', '', d)}"
-PACKAGESPLITFUNCS:remove:class-nativesdk = "populate_packages_updatercd "
+PACKAGESPLITFUNCS =+ "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'populate_packages_updatercd', '', d)}"
+PACKAGESPLITFUNCS:remove:class-nativesdk = "populate_packages_updatercd"
 
 populate_packages_updatercd[vardeps] += "updatercd_prerm updatercd_postrm updatercd_postinst"
 populate_packages_updatercd[vardepsexclude] += "OVERRIDES"
index 254cfd3f0c31603ee424fe08cad1db1bfb9fa9dc..46604045da1db7ec5df3f5b342da777124dcf6b4 100644 (file)
@@ -134,4 +134,4 @@ python split_wpa_supplicant_libs () {
         d.setVar('RRECOMMENDS:' + pn + '-plugins', ' '.join(split_packages))
         d.appendVar('RRECOMMENDS:' + pn + '-dbg', ' ' + ' '.join(split_dbg_packages))
 }
-PACKAGESPLITFUNCS += "split_wpa_supplicant_libs "
+PACKAGESPLITFUNCS += "split_wpa_supplicant_libs"
index 3458e6a5b05c1c57a11729582cd1ccb6d3614b40..4d8a919d1eea1e7adaf2990c3a1b270d500c46ec 100644 (file)
@@ -302,7 +302,7 @@ ALTERNATIVE_LINK_NAME[Thread.3] = "${mandir}/man3/Thread.3"
 ALLOW_EMPTY:${PN}-modules = "1"
 PACKAGES += "${PN}-modules "
 
-PACKAGESPLITFUNCS =+ "split_perl_packages "
+PACKAGESPLITFUNCS =+ "split_perl_packages"
 
 python split_perl_packages () {
     libdir = d.expand('${libdir}/perl5/${PV}')
index 2535dd403da6c76b0281618b0874d90426ec56c5..77aa97069a17963003f521f93692bd6d2fe5825d 100644 (file)
@@ -291,7 +291,7 @@ python mesa_populate_packages() {
     do_split_packages(d, pipe_drivers_root, r'^pipe_(.*)\.so$', 'mesa-driver-pipe-%s', 'Mesa %s pipe driver', extra_depends='')
 }
 
-PACKAGESPLITFUNCS =+ "mesa_populate_packages "
+PACKAGESPLITFUNCS =+ "mesa_populate_packages"
 
 PACKAGES_DYNAMIC += "^mesa-driver-.*"
 PACKAGES_DYNAMIC:class-native = "^mesa-driver-.*-native"
index 03595e7d32a329a1beace10a3d44627d5e283aec..8b1c0011118bb31b44912638c16b2a682d290b5b 100644 (file)
@@ -1,7 +1,7 @@
 # This .inc file contains functionality for automatically setting
 # the the license of all plugins according to the GSTREAMER_GPL.
 
-PACKAGESPLITFUNCS += " set_gstreamer_license "
+PACKAGESPLITFUNCS += "set_gstreamer_license"
 
 python set_gstreamer_license () {
     import oe.utils
index 837d5a1a62776a035a9bb2d95e35adde5d869ad8..d77aeed8a2c3203eafd6392172b3dbe6d4dbec81 100644 (file)
@@ -9,8 +9,8 @@
 # Dynamically generate packages for all enabled plugins
 PACKAGES_DYNAMIC = "^${PN}-.* ^libgst.*"
 
-PACKAGESPLITFUNCS =+ " split_gstreamer10_packages "
-PACKAGESPLITFUNCS += " set_gstreamer10_metapkg_rdepends "
+PACKAGESPLITFUNCS =+ "split_gstreamer10_packages"
+PACKAGESPLITFUNCS += "set_gstreamer10_metapkg_rdepends"
 
 python split_gstreamer10_packages () {
     gst_libdir = d.expand('${libdir}/gstreamer-1.0')
index 88b81fd56e06c2ae5488be7cf6c2ff729afa5adf..25388fb4d7fc0931ee2b20f950a00f9dea06a2a8 100644 (file)
@@ -41,7 +41,7 @@ PACKAGES_DYNAMIC = "^${PN}-.*$"
 python split_libevent_libs () {
     do_split_packages(d, '${libdir}', r'^libevent_([a-z]*)-.*\.so\..*', '${PN}-%s', '${SUMMARY} (%s)', prepend=True, allow_links=True)
 }
-PACKAGESPLITFUNCS =+ "split_libevent_libs "
+PACKAGESPLITFUNCS =+ "split_libevent_libs"
 
 BBCLASSEXTEND = "native nativesdk"