psplash-zap: default to RRECOMMENDS_${PN} = "${SPLASH}"
authorAndrea Adami <andrea.adami@gmail.com>
Thu, 10 Jun 2010 22:57:53 +0000 (00:57 +0200)
committerAndrea Adami <andrea.adami@gmail.com>
Thu, 10 Jun 2010 23:17:40 +0000 (01:17 +0200)
* console-base-image and gnuradio-image are using psplash-zap but
* some distros do not define SPLASH then image.bbclass provides as
* default SPLASH ?= ""
* We can conclude that if they don't have SPLASH they probably don't want
* psplash-zap.
* bump PR

recipes/psplash/psplash-zap_1.0.bb

index 16e6feb..3e8605e 100644 (file)
@@ -1,14 +1,14 @@
 SRC_URI = "file://zzapsplash-init"
-PR = "r3"
+PR = "r4"
 
 do_install_prepend() {
-       install -d "${D}${sysconfdir}/init.d/"
-       install -m 0755 "${WORKDIR}/zzapsplash-init" "${D}${sysconfdir}/init.d/zzapsplash"
+        install -d "${D}${sysconfdir}/init.d/"
+        install -m 0755 "${WORKDIR}/zzapsplash-init" "${D}${sysconfdir}/init.d/zzapsplash"
 }
 
 inherit update-rc.d
 
-RRECOMMENDS_${PN} = "psplash-angstrom"
+RRECOMMENDS_${PN} = "${SPLASH}"
 INITSCRIPT_NAME = "zzapsplash"
 INITSCRIPT_PARAMS = "start 99 5 S ."