diff options
author | Koen Kooi <koen@openembedded.org> | 2009-01-13 20:42:16 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-01-13 20:42:16 +0100 |
commit | 1849155ff9d65bad400d8c00f51e0a1d1e84c32b (patch) | |
tree | 9eb72ac74d1255a8adeb3fa70e6dbc1498d911d9 /packages/psplash/psplash-ua.inc | |
parent | 295cf17323907fc55298b1c22f11199b243cd287 (diff) |
psplash: make splashscreen selectable with update-alternatives
* putting 'psplash' in your images will get you the same splash you are using now
* putting 'psplash-<name>' in your images will make u-a install that splash over the one 'psplash' provides now
* This makes splash screen an image property instead of a distro property, so even less need for creating a derived distro
Diffstat (limited to 'packages/psplash/psplash-ua.inc')
-rw-r--r-- | packages/psplash/psplash-ua.inc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/psplash/psplash-ua.inc b/packages/psplash/psplash-ua.inc new file mode 100644 index 0000000000..70fe94738e --- /dev/null +++ b/packages/psplash/psplash-ua.inc @@ -0,0 +1,11 @@ +inherit update-alternatives + +SRCREV = "${SRCREV_pn-psplash}" + +do_install_append() { + mv ${D}${bindir}/psplash ${D}${bindir}/psplash.${PN} +} + +ALTERNATIVE_NAME = "psplash" +ALTERNATIVE_LINK = "${bindir}/psplash" +ALTERNATIVE_PATH = "${bindir}/psplash.${PN}" |