]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Revert "kernel-install: Add KERNEL_INSTALL_NOOP (#4103)"
authorMartin Pitt <martin.pitt@ubuntu.com>
Sat, 17 Sep 2016 14:39:00 +0000 (16:39 +0200)
committerMartin Pitt <martin.pitt@ubuntu.com>
Sat, 17 Sep 2016 14:39:00 +0000 (16:39 +0200)
Further discussion showed that this better gets addressed at the packaging
level.

This reverts commit 34210af7c63640fca1fd4a09fc23b01a8cd70bf3.

src/kernel-install/kernel-install

index f37c023c6ae06225a8422827395f89a5aab4710f..c66bcfc092d31b11ef8895fdcb77564db96ccd5d 100644 (file)
@@ -61,13 +61,6 @@ for i in "$@"; do
     fi
 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
     COMMAND='add'
 else