diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-28 23:28:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-02 15:44:10 +0100 |
commit | bb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch) | |
tree | 76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-core/initscripts/initscripts_1.0.bb | |
parent | fcc456ee4b8f619134abb4649db53c638074082c (diff) | |
download | poky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz |
Convert to new override syntax
This is the result of automated script conversion:
scripts/contrib/convert-overrides.py <oe-core directory>
converting the metadata to use ":" as the override character instead of "_".
(From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/initscripts/initscripts_1.0.bb')
-rw-r--r-- | meta/recipes-core/initscripts/initscripts_1.0.bb | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/meta/recipes-core/initscripts/initscripts_1.0.bb b/meta/recipes-core/initscripts/initscripts_1.0.bb index 65f9c0ae8d..e4c4813220 100644 --- a/meta/recipes-core/initscripts/initscripts_1.0.bb +++ b/meta/recipes-core/initscripts/initscripts_1.0.bb | |||
@@ -39,25 +39,25 @@ SRC_URI = "file://functions \ | |||
39 | 39 | ||
40 | S = "${WORKDIR}" | 40 | S = "${WORKDIR}" |
41 | 41 | ||
42 | SRC_URI_append_arm = " file://alignment.sh" | 42 | SRC_URI:append:arm = " file://alignment.sh" |
43 | SRC_URI_append_armeb = " file://alignment.sh" | 43 | SRC_URI:append:armeb = " file://alignment.sh" |
44 | 44 | ||
45 | KERNEL_VERSION = "" | 45 | KERNEL_VERSION = "" |
46 | 46 | ||
47 | DEPENDS_append = " update-rc.d-native" | 47 | DEPENDS:append = " update-rc.d-native" |
48 | PACKAGE_WRITE_DEPS_append = " ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd-systemctl-native','',d)}" | 48 | PACKAGE_WRITE_DEPS:append = " ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd-systemctl-native','',d)}" |
49 | 49 | ||
50 | PACKAGES =+ "${PN}-functions ${PN}-sushell" | 50 | PACKAGES =+ "${PN}-functions ${PN}-sushell" |
51 | RDEPENDS_${PN} = "initd-functions \ | 51 | RDEPENDS:${PN} = "initd-functions \ |
52 | ${@bb.utils.contains('DISTRO_FEATURES','selinux','${PN}-sushell','',d)} \ | 52 | ${@bb.utils.contains('DISTRO_FEATURES','selinux','${PN}-sushell','',d)} \ |
53 | init-system-helpers-service \ | 53 | init-system-helpers-service \ |
54 | " | 54 | " |
55 | # Recommend pn-functions so that it will be a preferred default provider for initd-functions | 55 | # Recommend pn-functions so that it will be a preferred default provider for initd-functions |
56 | RRECOMMENDS_${PN} = "${PN}-functions" | 56 | RRECOMMENDS:${PN} = "${PN}-functions" |
57 | RPROVIDES_${PN}-functions = "initd-functions" | 57 | RPROVIDES:${PN}-functions = "initd-functions" |
58 | RCONFLICTS_${PN}-functions = "lsbinitscripts" | 58 | RCONFLICTS:${PN}-functions = "lsbinitscripts" |
59 | FILES_${PN}-functions = "${sysconfdir}/init.d/functions*" | 59 | FILES:${PN}-functions = "${sysconfdir}/init.d/functions*" |
60 | FILES_${PN}-sushell = "${base_sbindir}/sushell" | 60 | FILES:${PN}-sushell = "${base_sbindir}/sushell" |
61 | 61 | ||
62 | HALTARGS ?= "-d -f" | 62 | HALTARGS ?= "-d -f" |
63 | 63 | ||
@@ -170,7 +170,7 @@ MASKED_SCRIPTS = " \ | |||
170 | sysfs \ | 170 | sysfs \ |
171 | urandom" | 171 | urandom" |
172 | 172 | ||
173 | pkg_postinst_${PN} () { | 173 | pkg_postinst:${PN} () { |
174 | if type systemctl >/dev/null 2>/dev/null; then | 174 | if type systemctl >/dev/null 2>/dev/null; then |
175 | if [ -n "$D" ]; then | 175 | if [ -n "$D" ]; then |
176 | OPTS="--root=$D" | 176 | OPTS="--root=$D" |
@@ -186,4 +186,4 @@ pkg_postinst_${PN} () { | |||
186 | fi | 186 | fi |
187 | } | 187 | } |
188 | 188 | ||
189 | CONFFILES_${PN} += "${sysconfdir}/init.d/checkroot.sh" | 189 | CONFFILES:${PN} += "${sysconfdir}/init.d/checkroot.sh" |