mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
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>
This commit is contained in:
committed by
Martin Jansa
parent
2f1d7533de
commit
b5e7302953
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user