[oe] [PATCH 08/12] Modify location of debianutils executables

Martyn Welch martyn.welch at ge.com
Mon Mar 22 09:35:30 UTC 2010


Modify where the debianutils executables are put so that they conform more
to what we believe to be their standard location.
---

 recipes/debianutils/debianutils.inc |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/recipes/debianutils/debianutils.inc b/recipes/debianutils/debianutils.inc
index 35ef03d..0b4f2bf 100644
--- a/recipes/debianutils/debianutils.inc
+++ b/recipes/debianutils/debianutils.inc
@@ -14,10 +14,14 @@ do_install_append() {
 
 pkg_postinst_${PN} () {
 #!/bin/sh
-for app in add-shell  installkernel  mkboot  remove-shell ; do
+for app in add-shell  mkboot  remove-shell ; do
     update-alternatives --install ${sbindir}/$app $app $app.${PN} 100
 done
 
+for app in installkernel ; do
+    update-alternatives --install ${base_sbindir}/$app $app $app.${PN} 100
+done
+
 for app in run-parts  savelog  sensible-browser  sensible-editor  sensible-pager  tempfile  which ; do
     update-alternatives --install ${bindir}/$app $app $app.${PN} 100
 done


--
Martyn Welch (Principal Software Engineer)   |   Registered in England and
GE Intelligent Platforms                     |   Wales (3828642) at 100
T +44(0)127322748                            |   Barbirolli Square, Manchester,
E martyn.welch at ge.com                        |   M2 3AB  VAT:GB 927559189




More information about the Openembedded-devel mailing list