From b5e7302953ee54da8b02246323e89bb5eb4ed87e Mon Sep 17 00:00:00 2001 From: Drew Moseley Date: Wed, 25 Jun 2014 09:51:37 -0400 Subject: [PATCH] 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 Signed-off-by: Martin Jansa --- meta-oe/recipes-support/debianutils/debianutils_4.4.bb | 6 +++--- 1 file 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 30dd9a6faf..c93c026538 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} () { if [ "x$D" != "x" ]; then echo "can't do u-a offline" ; exit 1 else - for app in add-shell installkernel mkboot remove-shell run-parts savelog sensible-browser sensible-editor sensible-pager tempfile which ; do + for app in add-shell installkernel remove-shell run-parts savelog tempfile which ; do update-alternatives --remove $app $app.${PN} done fi @@ -40,11 +40,11 @@ pkg_postinst_${PN} () { if [ "x$D" != "x" ]; then echo "can't do u-a offline" ; exit 1 else - for app in add-shell installkernel mkboot remove-shell ; do + for app in add-shell installkernel remove-shell ; do update-alternatives --install ${sbindir}/$app $app $app.${PN} 100 done - for app in savelog sensible-browser sensible-editor sensible-pager which ; do + for app in savelog which ; do update-alternatives --install ${bindir}/$app $app $app.${PN} 100 done