mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 17:19:23 +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
|
if [ "x$D" != "x" ]; then
|
||||||
echo "can't do u-a offline" ; exit 1
|
echo "can't do u-a offline" ; exit 1
|
||||||
else
|
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}
|
update-alternatives --remove $app $app.${PN}
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
@@ -40,11 +40,11 @@ pkg_postinst_${PN} () {
|
|||||||
if [ "x$D" != "x" ]; then
|
if [ "x$D" != "x" ]; then
|
||||||
echo "can't do u-a offline" ; exit 1
|
echo "can't do u-a offline" ; exit 1
|
||||||
else
|
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
|
update-alternatives --install ${sbindir}/$app $app $app.${PN} 100
|
||||||
done
|
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
|
update-alternatives --install ${bindir}/$app $app $app.${PN} 100
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user