From 12ad591d3038db609db5290d8bbe809a34c743de Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Fri, 20 Aug 2021 13:58:45 -0400 Subject: Convert to new override syntax This is effectively a manual cherry-pick and squash of commits: 4249268041b879b3d2bae338d5de88f4f2d54b26 07f4ab8c2833ae5377b97cc9e3820bed67e539d0 from the master branch with additional review and fixups. The intent of these changes is to minimize the effort to backport fixes from the master branch, which has been updated in preparation for the switch to the next Yocto LTS release in early 2022. Bug-AGL: SPEC-4144 Signed-off-by: Scott Murray Change-Id: I3b47f1b7d62038b314a17763d24a64f6d4e15e72 --- recipes-config/agl-login-manager/agl-login-manager_0.1.bb | 6 +++--- recipes-config/agl-users/agl-users_0.1.bb | 6 +++--- .../cluster-demo-network-config_1.0.bb | 2 +- recipes-config/cluster-demo-simulator/cluster-demo-simulator.bb | 8 ++++---- .../cluster-lin-bridging-config/cluster-lin-bridging-config.bb | 8 ++++---- recipes-config/dev-mapping/dev-mapping-ci_1.0.bb | 2 +- recipes-config/dev-mapping/dev-mapping-demo_1.0.bb | 2 +- recipes-config/dev-mapping/dev-mapping_0.1.bb | 2 +- recipes-config/systemd-sync/systemd-agl-sync_1.0.bb | 2 +- recipes-config/unicens-config/unicens-config.bb | 8 ++++---- 10 files changed, 23 insertions(+), 23 deletions(-) (limited to 'recipes-config') diff --git a/recipes-config/agl-login-manager/agl-login-manager_0.1.bb b/recipes-config/agl-login-manager/agl-login-manager_0.1.bb index 49efce796..20ca12639 100644 --- a/recipes-config/agl-login-manager/agl-login-manager_0.1.bb +++ b/recipes-config/agl-login-manager/agl-login-manager_0.1.bb @@ -5,9 +5,9 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384 LOGIN_USER ??="1001 1002" -RDEPENDS_${PN} += "af-main" +RDEPENDS:${PN} += "af-main" -do_install_append() { +do_install:append() { install -d ${D}${systemd_system_unitdir}/multi-user.target.wants/ @@ -16,4 +16,4 @@ do_install_append() { done } -FILES_${PN} += "${systemd_system_unitdir}" +FILES:${PN} += "${systemd_system_unitdir}" diff --git a/recipes-config/agl-users/agl-users_0.1.bb b/recipes-config/agl-users/agl-users_0.1.bb index 709a1091f..a1473a8eb 100644 --- a/recipes-config/agl-users/agl-users_0.1.bb +++ b/recipes-config/agl-users/agl-users_0.1.bb @@ -7,20 +7,20 @@ DESCRIPTION = "This is a core framework component that\ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" -ALLOW_EMPTY_${PN} = "1" +ALLOW_EMPTY:${PN} = "1" USERADD_PACKAGES = "${PN}" USERADDEXTENSION = "useradd-staticids" -GROUPADD_PARAM_${PN} = "\ +GROUPADD_PARAM:${PN} = "\ --system display ; \ --system weston-launch ; \ -g 1001 agl-driver ; \ -g 1002 agl-passenger \ " -USERADD_PARAM_${PN} = "\ +USERADD_PARAM:${PN} = "\ -g 1001 -u 1001 -o -d /home/1001 -m -K PASS_MAX_DAYS=-1 agl-driver ; \ -g 1002 -u 1002 -o -d /home/1002 -m -K PASS_MAX_DAYS=-1 agl-passenger ; \ --gid display --groups weston-launch,video,input --home-dir /run/platform/display --shell /bin/false --comment \"Display daemon\" --key PASS_MAX_DAYS=-1 display \ diff --git a/recipes-config/cluster-demo-network-config/cluster-demo-network-config_1.0.bb b/recipes-config/cluster-demo-network-config/cluster-demo-network-config_1.0.bb index ab725c056..8d737282d 100644 --- a/recipes-config/cluster-demo-network-config/cluster-demo-network-config_1.0.bb +++ b/recipes-config/cluster-demo-network-config/cluster-demo-network-config_1.0.bb @@ -30,4 +30,4 @@ do_install() { ${D}${sysconfdir}/systemd/system/network.target.wants/cluster-demo-network-conf@${AGL_CLUSTER_NET_DEVICE}.service } -FILES_${PN} += "${systemd_system_unitdir}" +FILES:${PN} += "${systemd_system_unitdir}" diff --git a/recipes-config/cluster-demo-simulator/cluster-demo-simulator.bb b/recipes-config/cluster-demo-simulator/cluster-demo-simulator.bb index 593bdd595..2eaabc979 100644 --- a/recipes-config/cluster-demo-simulator/cluster-demo-simulator.bb +++ b/recipes-config/cluster-demo-simulator/cluster-demo-simulator.bb @@ -7,8 +7,8 @@ SRC_URI = "file://cluster-demo-simulator.service" inherit systemd SYSTEMD_PACKAGES = "${PN}" -SYSTEMD_SERVICE_${PN} = "cluster-demo-simulator.service" -SYSTEMD_AUTO_ENABLE_${PN} = "enable" +SYSTEMD_SERVICE:${PN} = "cluster-demo-simulator.service" +SYSTEMD_AUTO_ENABLE:${PN} = "enable" do_configure[noexec] = "1" do_compile[noexec] = "1" @@ -18,6 +18,6 @@ do_install() { install -m 0644 ${WORKDIR}/cluster-demo-simulator.service ${D}${systemd_system_unitdir} } -FILES_${PN} += "${systemd_system_unitdir}" +FILES:${PN} += "${systemd_system_unitdir}" -RDEPENDS_${PN} = "simple-can-simulator" +RDEPENDS:${PN} = "simple-can-simulator" diff --git a/recipes-config/cluster-lin-bridging-config/cluster-lin-bridging-config.bb b/recipes-config/cluster-lin-bridging-config/cluster-lin-bridging-config.bb index d03b91f38..5366f2d0b 100644 --- a/recipes-config/cluster-lin-bridging-config/cluster-lin-bridging-config.bb +++ b/recipes-config/cluster-lin-bridging-config/cluster-lin-bridging-config.bb @@ -9,8 +9,8 @@ SRC_URI = "\ inherit systemd SYSTEMD_PACKAGES = "${PN}" -SYSTEMD_SERVICE_${PN} = "cluster-lin-bridging.service" -SYSTEMD_AUTO_ENABLE_${PN} = "enable" +SYSTEMD_SERVICE:${PN} = "cluster-lin-bridging.service" +SYSTEMD_AUTO_ENABLE:${PN} = "enable" do_configure[noexec] = "1" do_compile[noexec] = "1" @@ -20,9 +20,9 @@ do_install() { install -m 0644 ${WORKDIR}/cluster-lin-bridging.service ${D}${systemd_system_unitdir} } -FILES_${PN} += "${systemd_system_unitdir}" +FILES:${PN} += "${systemd_system_unitdir}" -RDEPENDS_${PN} = " \ +RDEPENDS:${PN} = " \ can-utils \ sllin \ " diff --git a/recipes-config/dev-mapping/dev-mapping-ci_1.0.bb b/recipes-config/dev-mapping/dev-mapping-ci_1.0.bb index cbba57308..7b40e40c6 100644 --- a/recipes-config/dev-mapping/dev-mapping-ci_1.0.bb +++ b/recipes-config/dev-mapping/dev-mapping-ci_1.0.bb @@ -15,4 +15,4 @@ do_install() { install -m 0644 ${WORKDIR}/dev-mapping.conf.ci ${D}${sysconfdir}/dev-mapping.conf } -RPROVIDES_${PN} = "virtual/low-can-dev-mapping" +RPROVIDES:${PN} = "virtual/low-can-dev-mapping" diff --git a/recipes-config/dev-mapping/dev-mapping-demo_1.0.bb b/recipes-config/dev-mapping/dev-mapping-demo_1.0.bb index 4a04ce13b..23fdc078a 100644 --- a/recipes-config/dev-mapping/dev-mapping-demo_1.0.bb +++ b/recipes-config/dev-mapping/dev-mapping-demo_1.0.bb @@ -15,4 +15,4 @@ do_install() { install -m 0644 ${WORKDIR}/dev-mapping.conf.demo ${D}${sysconfdir}/dev-mapping.conf } -RPROVIDES_${PN} = "virtual/low-can-dev-mapping" +RPROVIDES:${PN} = "virtual/low-can-dev-mapping" diff --git a/recipes-config/dev-mapping/dev-mapping_0.1.bb b/recipes-config/dev-mapping/dev-mapping_0.1.bb index 1309ffa20..f880d39d8 100644 --- a/recipes-config/dev-mapping/dev-mapping_0.1.bb +++ b/recipes-config/dev-mapping/dev-mapping_0.1.bb @@ -15,4 +15,4 @@ do_install() { install -m 0644 ${WORKDIR}/dev-mapping.conf.default ${D}${sysconfdir}/dev-mapping.conf } -RPROVIDES_${PN} = "virtual/low-can-dev-mapping" +RPROVIDES:${PN} = "virtual/low-can-dev-mapping" diff --git a/recipes-config/systemd-sync/systemd-agl-sync_1.0.bb b/recipes-config/systemd-sync/systemd-agl-sync_1.0.bb index 389ab2424..0b2dc4e4d 100644 --- a/recipes-config/systemd-sync/systemd-agl-sync_1.0.bb +++ b/recipes-config/systemd-sync/systemd-agl-sync_1.0.bb @@ -36,4 +36,4 @@ EOF chmod a+x ${D}/${sysconfdir}/agl-postinsts/${POST_INSTALL_SCRIPT} } -FILES_${PN} = "${sysconfdir}/agl-postinsts/${POST_INSTALL_SCRIPT}" +FILES:${PN} = "${sysconfdir}/agl-postinsts/${POST_INSTALL_SCRIPT}" diff --git a/recipes-config/unicens-config/unicens-config.bb b/recipes-config/unicens-config/unicens-config.bb index 4dd20748f..57b93a76f 100644 --- a/recipes-config/unicens-config/unicens-config.bb +++ b/recipes-config/unicens-config/unicens-config.bb @@ -2,7 +2,7 @@ DESCRIPTION = "Configure MOST driver" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -RDEPENDS_${PN} = "bash" +RDEPENDS:${PN} = "bash" SRC_URI = "\ file://unicens-config.service \ @@ -14,8 +14,8 @@ SRC_URI = "\ inherit systemd SYSTEMD_PACKAGES = "${PN}" -SYSTEMD_SERVICE_${PN} = "unicens-config.service" -SYSTEMD_AUTO_ENABLE_${PN} = "enable" +SYSTEMD_SERVICE:${PN} = "unicens-config.service" +SYSTEMD_AUTO_ENABLE:${PN} = "enable" do_configure[noexec] = "1" do_compile[noexec] = "1" @@ -28,4 +28,4 @@ do_install() { install -D -m 0644 ${WORKDIR}/55-inic.rules ${D}${sysconfdir}/udev/rules.d/55-inic.rules } -FILES_${PN} += "${systemd_system_unitdir}" +FILES:${PN} += "${systemd_system_unitdir}" -- cgit 1.2.3-korg