In commit
ec12218051e8c1 we added qemu-system-x86 as underlying
dependency for qemu-kvm, now qemu-kvm is considered for removal.
This seems to be the case because qemu-kvm depends on
qemu-system-x86 and and even though we explicitely ask for both
packages to be installed, then qemu-kvm is considered for
removal. Let's avoid this by adding qemu-kvm to the list of
packages which are never to be reported by deborphan, then it's
not automatically removed via DEBORPHAN/98-clean-chroot.
Noticed via "grml-live-missing-packages.test_missing_packages_qemu-kvm"
in Jenkins daily builds.
$ROOTCMD deborphan --add-keep libewf1 || /bin/true
fi
$ROOTCMD deborphan --add-keep libewf1 || /bin/true
fi
-if [ -r $target//usr/lib/libstdc++-libc6.2-2.so.3 -a -x $target/usr/bin/deborphan ] ; then
+if [ -r $target/usr/lib/libstdc++-libc6.2-2.so.3 -a -x $target/usr/bin/deborphan ] ; then
$ROOTCMD deborphan --add-keep libstdc++2.10-glibc2.2 || /bin/true
fi
$ROOTCMD deborphan --add-keep libstdc++2.10-glibc2.2 || /bin/true
fi
+if [ -r "$target"/usr/bin/kvm -a -x "$target"/usr/bin/deborphan ] ; then
+ $ROOTCMD deborphan --add-keep qemu-kvm || /bin/true
+fi
+
## END OF FILE #################################################################
# vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2
## END OF FILE #################################################################
# vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2