[oe-commits] Klaus Kurzmann : shr-splash: move the postinst into the splash main package
git version control
git at git.openembedded.org
Sun Aug 16 16:15:09 UTC 2009
Module: openembedded.git
Branch: shr/import
Commit: cf5370e24d7782a6b9be5a947e3281cd1bd79be9
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=cf5370e24d7782a6b9be5a947e3281cd1bd79be9
Author: Klaus Kurzmann <mok at fluxnetz.de>
Date: Sun Aug 16 18:15:04 2009 +0200
shr-splash: move the postinst into the splash main package
Signed-off-by: Klaus Kurzmann <mok at fluxnetz.de>
---
recipes/shr/shr-splash-theme.inc | 3 ---
recipes/shr/shr-splash_git.bb | 7 ++++++-
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/recipes/shr/shr-splash-theme.inc b/recipes/shr/shr-splash-theme.inc
index 8a51ef5..50e62bc 100644
--- a/recipes/shr/shr-splash-theme.inc
+++ b/recipes/shr/shr-splash-theme.inc
@@ -21,6 +21,3 @@ do_install() {
install -m 0644 ${S}/preview.png ${D}${datadir}/shr-splash/themes/${PN}/preview.png
}
-pkg_postinst() {
- [ -e ${datadir}/pixmaps/xsplash-vga.ppm ] || ln -s ${datadir}/shr-splash/theme/xsplash-vga.ppm ${datadir}/pixmaps/xsplash-vga.ppm
-}
diff --git a/recipes/shr/shr-splash_git.bb b/recipes/shr/shr-splash_git.bb
index d240b71..4905edc 100644
--- a/recipes/shr/shr-splash_git.bb
+++ b/recipes/shr/shr-splash_git.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "SHR splash screen"
SECTION = "x11/data"
LICENSE = "MIT BSD"
PV = "1.2-gitr${SRCPV}"
-PR = "r3"
+PR = "r4"
RRECOMMENDS_${PN} += "\
virtual/shr-splash-theme"
@@ -25,5 +25,10 @@ do_install() {
}
+pkg_postinst() {
+ [ -e ${datadir}/pixmaps/xsplash-vga.ppm ] || ln -s ${datadir}/shr-splash/theme/xsplash-vga.ppm ${datadir}/pixmaps/xsplash-vga.ppm
+}
+
+
INITSCRIPT_NAME = "shr-splash.sh"
INITSCRIPT_PARAMS = "start 01 S . stop 21 0 1 6 ."
More information about the Openembedded-commits
mailing list