We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f87ee96 + 3e29b1a commit d4cf69bCopy full SHA for d4cf69b
src/libpriv/05-rpmostree.install
@@ -1,4 +1,8 @@
1
#!/usr/bin/bash
2
+# Check if install.conf is missing or does not include layout=ostree
3
+if [ ! -f /usr/lib/kernel/install.conf ] || ! grep -q layout=ostree /usr/lib/kernel/install.conf; then
4
+ exit 0
5
+fi
6
# This is the hook that has kernel-install call into rpm-ostree kernel-install
7
if test -x /usr/bin/rpm-ostree; then
8
exec /usr/bin/rpm-ostree kernel-install "$@"
0 commit comments