mirror of
https://github.com/systemd/systemd.git
synced 2025-03-30 10:50:15 +03:00
Revert "kernel-install: Add KERNEL_INSTALL_NOOP (#4103)"
Further discussion showed that this better gets addressed at the packaging level. This reverts commit 34210af7c63640fca1fd4a09fc23b01a8cd70bf3.
This commit is contained in:
parent
6ac288a990
commit
7ce9cc1545
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user