summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2016-09-17 16:39:00 +0200
committerMartin Pitt <martin.pitt@ubuntu.com>2016-09-17 16:39:00 +0200
commit7ce9cc154576e342015eab8c1500790a9ededc01 (patch)
tree9c8c975af8f27bd84f1b42f56c396d57d82df396 /src
parent6ac288a990251b39218fa219f03a2048124b9352 (diff)
Revert "kernel-install: Add KERNEL_INSTALL_NOOP (#4103)"
Further discussion showed that this better gets addressed at the packaging level. This reverts commit 34210af7c63640fca1fd4a09fc23b01a8cd70bf3.
Diffstat (limited to 'src')
-rw-r--r--src/kernel-install/kernel-install7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/kernel-install/kernel-install b/src/kernel-install/kernel-install
index f37c023c6a..c66bcfc092 100644
--- a/src/kernel-install/kernel-install
+++ b/src/kernel-install/kernel-install
@@ -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