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/psplash | |
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/psplash')
-rw-r--r-- | meta/recipes-core/psplash/psplash_git.bb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/meta/recipes-core/psplash/psplash_git.bb b/meta/recipes-core/psplash/psplash_git.bb index 59e1e3f194..e9789c4ce0 100644 --- a/meta/recipes-core/psplash/psplash_git.bb +++ b/meta/recipes-core/psplash/psplash_git.bb | |||
@@ -44,7 +44,7 @@ python __anonymous() { | |||
44 | pkgs.append(outname) | 44 | pkgs.append(outname) |
45 | localpaths.append(flocal) | 45 | localpaths.append(flocal) |
46 | 46 | ||
47 | # Set these so that we have less work to do in do_compile and do_install_append | 47 | # Set these so that we have less work to do in do_compile and do_install:append |
48 | d.setVar("SPLASH_INSTALL", " ".join(pkgs)) | 48 | d.setVar("SPLASH_INSTALL", " ".join(pkgs)) |
49 | d.setVar("SPLASH_LOCALPATHS", " ".join(localpaths)) | 49 | d.setVar("SPLASH_LOCALPATHS", " ".join(localpaths)) |
50 | for p in pkgs: | 50 | for p in pkgs: |
@@ -54,12 +54,12 @@ python __anonymous() { | |||
54 | for p in pkgs: | 54 | for p in pkgs: |
55 | ep = '%s%s' % (mlprefix, p) | 55 | ep = '%s%s' % (mlprefix, p) |
56 | epsplash = '%s%s' % (mlprefix, 'psplash') | 56 | epsplash = '%s%s' % (mlprefix, 'psplash') |
57 | d.setVar("FILES_%s" % ep, "${bindir}/%s" % p) | 57 | d.setVar("FILES:%s" % ep, "${bindir}/%s" % p) |
58 | d.setVar("ALTERNATIVE_%s" % ep, 'psplash') | 58 | d.setVar("ALTERNATIVE:%s" % ep, 'psplash') |
59 | d.setVarFlag("ALTERNATIVE_TARGET_%s" % ep, 'psplash', '${bindir}/%s' % p) | 59 | d.setVarFlag("ALTERNATIVE_TARGET_%s" % ep, 'psplash', '${bindir}/%s' % p) |
60 | d.appendVar("RDEPENDS_%s" % ep, " %s" % pn) | 60 | d.appendVar("RDEPENDS:%s" % ep, " %s" % pn) |
61 | if p == "psplash-default": | 61 | if p == "psplash-default": |
62 | d.appendVar("RRECOMMENDS_%s" % pn, " %s" % ep) | 62 | d.appendVar("RRECOMMENDS:%s" % pn, " %s" % ep) |
63 | } | 63 | } |
64 | 64 | ||
65 | S = "${WORKDIR}/git" | 65 | S = "${WORKDIR}/git" |
@@ -98,7 +98,7 @@ python do_compile () { | |||
98 | shutil.copyfile("psplash", outputfile) | 98 | shutil.copyfile("psplash", outputfile) |
99 | } | 99 | } |
100 | 100 | ||
101 | do_install_append() { | 101 | do_install:append() { |
102 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then | 102 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then |
103 | install -d ${D}${sysconfdir}/init.d/ | 103 | install -d ${D}${sysconfdir}/init.d/ |
104 | install -m 0755 ${WORKDIR}/psplash-init ${D}${sysconfdir}/init.d/psplash.sh | 104 | install -m 0755 ${WORKDIR}/psplash-init ${D}${sysconfdir}/init.d/psplash.sh |
@@ -122,9 +122,9 @@ do_install_append() { | |||
122 | } | 122 | } |
123 | 123 | ||
124 | SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','${PN}','',d)}" | 124 | SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','${PN}','',d)}" |
125 | SYSTEMD_SERVICE_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'psplash-start.service psplash-systemd.service', '', d)}" | 125 | SYSTEMD_SERVICE:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'psplash-start.service psplash-systemd.service', '', d)}" |
126 | 126 | ||
127 | INITSCRIPT_NAME = "psplash.sh" | 127 | INITSCRIPT_NAME = "psplash.sh" |
128 | INITSCRIPT_PARAMS = "start 0 S . stop 20 0 1 6 ." | 128 | INITSCRIPT_PARAMS = "start 0 S . stop 20 0 1 6 ." |
129 | 129 | ||
130 | FILES_${PN} += "/mnt" | 130 | FILES:${PN} += "/mnt" |