#!/usr/bin/bash # kernel-install sets KERNEL_INSTALL_LAYOUT from install.conf and install.conf.d/ if [[ "$KERNEL_INSTALL_LAYOUT" != "ostree" ]]; then exit 0 fi # This is the hook that has kernel-install call into rpm-ostree kernel-install if test -x /usr/bin/rpm-ostree; then exec /usr/bin/rpm-ostree kernel-install "$@" fi