Revert "kernel-install: Add KERNEL_INSTALL_NOOP (#4103)"

Further discussion showed that this better gets addressed at the packaging
level.

This reverts commit 34210af7c6.
This commit is contained in:
Martin Pitt 2016-09-17 16:39:00 +02:00
parent 6ac288a990
commit 7ce9cc1545

View file

@ -61,13 +61,6 @@ for i in "$@"; do
fi fi
done done
# KERNEL_INSTALL_NOOP may be used by programs like lorax and rpm-ostree which
# want to install a kernel (indirectly via RPM), but control generation of the
# initramfs. In general, OSTree takes over kernel management too.
if test -n "${KERNEL_INSTALL_NOOP:-}"; then
exit 0
fi
if [[ "${0##*/}" == 'installkernel' ]]; then if [[ "${0##*/}" == 'installkernel' ]]; then
COMMAND='add' COMMAND='add'
else else