diff options
author | Drew Moseley <drew_moseley@mentor.com> | 2014-06-25 09:51:37 -0400 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-07-15 15:02:28 +0200 |
commit | b5e7302953ee54da8b02246323e89bb5eb4ed87e (patch) | |
tree | e3383bdd7fb29945eadc0a7544f92a0fca2d92b6 /meta-oe/recipes-support/debianutils | |
parent | 2f1d7533de0dbaf05e6503d23815d201842b1c76 (diff) | |
download | meta-openembedded-b5e7302953ee54da8b02246323e89bb5eb4ed87e.tar.gz |
debianutils: Remove postinstall for some apps.
The mkboot and sensible-* apps have been removed from
upstream debianutils. Remove them from the postinstall
stages.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=197463
http://en.it-usenet.org/thread/18153/169437/
Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/debianutils')
-rw-r--r-- | meta-oe/recipes-support/debianutils/debianutils_4.4.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-oe/recipes-support/debianutils/debianutils_4.4.bb b/meta-oe/recipes-support/debianutils/debianutils_4.4.bb index 30dd9a6fa..c93c02653 100644 --- a/meta-oe/recipes-support/debianutils/debianutils_4.4.bb +++ b/meta-oe/recipes-support/debianutils/debianutils_4.4.bb | |||
@@ -30,7 +30,7 @@ pkg_prerm_${PN} () { | |||
30 | if [ "x$D" != "x" ]; then | 30 | if [ "x$D" != "x" ]; then |
31 | echo "can't do u-a offline" ; exit 1 | 31 | echo "can't do u-a offline" ; exit 1 |
32 | else | 32 | else |
33 | for app in add-shell installkernel mkboot remove-shell run-parts savelog sensible-browser sensible-editor sensible-pager tempfile which ; do | 33 | for app in add-shell installkernel remove-shell run-parts savelog tempfile which ; do |
34 | update-alternatives --remove $app $app.${PN} | 34 | update-alternatives --remove $app $app.${PN} |
35 | done | 35 | done |
36 | fi | 36 | fi |
@@ -40,11 +40,11 @@ pkg_postinst_${PN} () { | |||
40 | if [ "x$D" != "x" ]; then | 40 | if [ "x$D" != "x" ]; then |
41 | echo "can't do u-a offline" ; exit 1 | 41 | echo "can't do u-a offline" ; exit 1 |
42 | else | 42 | else |
43 | for app in add-shell installkernel mkboot remove-shell ; do | 43 | for app in add-shell installkernel remove-shell ; do |
44 | update-alternatives --install ${sbindir}/$app $app $app.${PN} 100 | 44 | update-alternatives --install ${sbindir}/$app $app $app.${PN} 100 |
45 | done | 45 | done |
46 | 46 | ||
47 | for app in savelog sensible-browser sensible-editor sensible-pager which ; do | 47 | for app in savelog which ; do |
48 | update-alternatives --install ${bindir}/$app $app $app.${PN} 100 | 48 | update-alternatives --install ${bindir}/$app $app $app.${PN} 100 |
49 | done | 49 | done |
50 | 50 | ||