summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/psplash
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-28 23:28:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-02 15:44:10 +0100
commitbb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch)
tree76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-core/psplash
parentfcc456ee4b8f619134abb4649db53c638074082c (diff)
downloadpoky-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.bb16
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
65S = "${WORKDIR}/git" 65S = "${WORKDIR}/git"
@@ -98,7 +98,7 @@ python do_compile () {
98 shutil.copyfile("psplash", outputfile) 98 shutil.copyfile("psplash", outputfile)
99} 99}
100 100
101do_install_append() { 101do_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
124SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','${PN}','',d)}" 124SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','${PN}','',d)}"
125SYSTEMD_SERVICE_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'psplash-start.service psplash-systemd.service', '', d)}" 125SYSTEMD_SERVICE:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'psplash-start.service psplash-systemd.service', '', d)}"
126 126
127INITSCRIPT_NAME = "psplash.sh" 127INITSCRIPT_NAME = "psplash.sh"
128INITSCRIPT_PARAMS = "start 0 S . stop 20 0 1 6 ." 128INITSCRIPT_PARAMS = "start 0 S . stop 20 0 1 6 ."
129 129
130FILES_${PN} += "/mnt" 130FILES:${PN} += "/mnt"