#!/bin/bash if ! [[ $KERNEL_INSTALL_MACHINE_ID ]]; then exit 0 fi ARCH=$(uname -m) [[ -f /etc/default/grub ]] && . /etc/default/grub # Can't assume a BLS capable bootloader on ppc64 if [[ x$GRUB_ENABLE_BLSCFG != xfalse && $ARCH != "ppc64" && $ARCH != "ppc64le" ]]; then exit 0 fi COMMAND="$1" case "$COMMAND" in add|remove) grub2-mkconfig --no-grubenv-update -o /boot/grub2/grub.cfg >& /dev/null ;; *) ;; esac
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
20-grub.install | File | 7.77 KB | 0755 |
|
20-grubby.install | File | 2.2 KB | 0755 |
|
50-depmod.install | File | 368 B | 0755 |
|
50-dracut.install | File | 1.62 KB | 0755 |
|
51-dracut-rescue.install | File | 3.26 KB | 0755 |
|
60-kdump.install | File | 791 B | 0755 |
|
90-loaderentry.install | File | 1.93 KB | 0755 |
|
92-tuned.install | File | 1.37 KB | 0755 |
|
99-grub-mkconfig.install | File | 459 B | 0755 |
|